Package ghidra.app.util.bin.format.macho
Enum RelocationTypeX86_64
- java.lang.Object
-
- java.lang.Enum<RelocationTypeX86_64>
-
- ghidra.app.util.bin.format.macho.RelocationTypeX86_64
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelocationTypeX86_64>
public enum RelocationTypeX86_64 extends java.lang.Enum<RelocationTypeX86_64>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description X86_64_RELOC_BRANCH
a CALL/JMP instruction with 32-bit displacementX86_64_RELOC_GOT
other GOT referencesX86_64_RELOC_GOT_LOAD
a MOVQ load of a GOT entryX86_64_RELOC_SIGNED
for signed 32-bit displacementX86_64_RELOC_SIGNED_1
for signed 32-bit displacement with a -1 addendX86_64_RELOC_SIGNED_2
for signed 32-bit displacement with a -2 addendX86_64_RELOC_SIGNED_4
for signed 32-bit displacement with a -4 addendX86_64_RELOC_SUBTRACTOR
must be followed by a X86_64_RELOC_UNSIGNEDX86_64_RELOC_TLV
for thread local variablesX86_64_RELOC_UNSIGNED
for absolute addresses
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelocationTypeX86_64
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelocationTypeX86_64[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X86_64_RELOC_UNSIGNED
public static final RelocationTypeX86_64 X86_64_RELOC_UNSIGNED
for absolute addresses
-
X86_64_RELOC_SIGNED
public static final RelocationTypeX86_64 X86_64_RELOC_SIGNED
for signed 32-bit displacement
-
X86_64_RELOC_BRANCH
public static final RelocationTypeX86_64 X86_64_RELOC_BRANCH
a CALL/JMP instruction with 32-bit displacement
-
X86_64_RELOC_GOT_LOAD
public static final RelocationTypeX86_64 X86_64_RELOC_GOT_LOAD
a MOVQ load of a GOT entry
-
X86_64_RELOC_GOT
public static final RelocationTypeX86_64 X86_64_RELOC_GOT
other GOT references
-
X86_64_RELOC_SUBTRACTOR
public static final RelocationTypeX86_64 X86_64_RELOC_SUBTRACTOR
must be followed by a X86_64_RELOC_UNSIGNED
-
X86_64_RELOC_SIGNED_1
public static final RelocationTypeX86_64 X86_64_RELOC_SIGNED_1
for signed 32-bit displacement with a -1 addend
-
X86_64_RELOC_SIGNED_2
public static final RelocationTypeX86_64 X86_64_RELOC_SIGNED_2
for signed 32-bit displacement with a -2 addend
-
X86_64_RELOC_SIGNED_4
public static final RelocationTypeX86_64 X86_64_RELOC_SIGNED_4
for signed 32-bit displacement with a -4 addend
-
X86_64_RELOC_TLV
public static final RelocationTypeX86_64 X86_64_RELOC_TLV
for thread local variables
-
-
Method Detail
-
values
public static RelocationTypeX86_64[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelocationTypeX86_64 c : RelocationTypeX86_64.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelocationTypeX86_64 valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-