Package ghidra.app.util.bin.format.macho
Enum RelocationTypeARM64
- java.lang.Object
-
- java.lang.Enum<RelocationTypeARM64>
-
- ghidra.app.util.bin.format.macho.RelocationTypeARM64
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelocationTypeARM64>
public enum RelocationTypeARM64 extends java.lang.Enum<RelocationTypeARM64>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARM64_RELOC_ADDEND
must be followed by ARM64_RELOC_PAGE21 or ARM64_RELOC_PAGEOFF12ARM64_RELOC_BRANCH26
b/bl instruction with 26-bit displacementARM64_RELOC_GOT_LOAD_PAGE21
PC-rel distance to page of GOT slotARM64_RELOC_GOT_LOAD_PAGEOFF12
offset within page of GOT slot, scaled by r_lengthARM64_RELOC_PAGE21
PC-rel distance to page of targetARM64_RELOC_PAGEOFF12
offset within page, scaled by r_lengthARM64_RELOC_POINTER_TO_GOT
for pointers to GOT slotsARM64_RELOC_SUBTRACTOR
must be followed but an ARM64_RELOC_UNSIGNEDARM64_RELOC_TLVP_LOAD_PAGE21
PC-rel distance to page of TLVP slotARM64_RELOC_TLVP_LOAD_PAGEOFF12
offset within page of TLVP slot, scaled by r_lengthARM64_RELOC_UNSIGNED
for pointers
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelocationTypeARM64
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelocationTypeARM64[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARM64_RELOC_UNSIGNED
public static final RelocationTypeARM64 ARM64_RELOC_UNSIGNED
for pointers
-
ARM64_RELOC_SUBTRACTOR
public static final RelocationTypeARM64 ARM64_RELOC_SUBTRACTOR
must be followed but an ARM64_RELOC_UNSIGNED
-
ARM64_RELOC_BRANCH26
public static final RelocationTypeARM64 ARM64_RELOC_BRANCH26
b/bl instruction with 26-bit displacement
-
ARM64_RELOC_PAGE21
public static final RelocationTypeARM64 ARM64_RELOC_PAGE21
PC-rel distance to page of target
-
ARM64_RELOC_PAGEOFF12
public static final RelocationTypeARM64 ARM64_RELOC_PAGEOFF12
offset within page, scaled by r_length
-
ARM64_RELOC_GOT_LOAD_PAGE21
public static final RelocationTypeARM64 ARM64_RELOC_GOT_LOAD_PAGE21
PC-rel distance to page of GOT slot
-
ARM64_RELOC_GOT_LOAD_PAGEOFF12
public static final RelocationTypeARM64 ARM64_RELOC_GOT_LOAD_PAGEOFF12
offset within page of GOT slot, scaled by r_length
-
ARM64_RELOC_POINTER_TO_GOT
public static final RelocationTypeARM64 ARM64_RELOC_POINTER_TO_GOT
for pointers to GOT slots
-
ARM64_RELOC_TLVP_LOAD_PAGE21
public static final RelocationTypeARM64 ARM64_RELOC_TLVP_LOAD_PAGE21
PC-rel distance to page of TLVP slot
-
ARM64_RELOC_TLVP_LOAD_PAGEOFF12
public static final RelocationTypeARM64 ARM64_RELOC_TLVP_LOAD_PAGEOFF12
offset within page of TLVP slot, scaled by r_length
-
ARM64_RELOC_ADDEND
public static final RelocationTypeARM64 ARM64_RELOC_ADDEND
must be followed by ARM64_RELOC_PAGE21 or ARM64_RELOC_PAGEOFF12
-
-
Method Detail
-
values
public static RelocationTypeARM64[] 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 (RelocationTypeARM64 c : RelocationTypeARM64.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelocationTypeARM64 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
-
-