Package ghidra.app.util.bin.format.macho
Enum RelocationTypeGeneric
- java.lang.Object
-
- java.lang.Enum<RelocationTypeGeneric>
-
- ghidra.app.util.bin.format.macho.RelocationTypeGeneric
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelocationTypeGeneric>
public enum RelocationTypeGeneric extends java.lang.Enum<RelocationTypeGeneric>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GENERIC_RELOC_LOCAL_SECTDIFF
GENERIC_RELOC_PAIR
GENERIC_RELOC_PB_LA_PTR
GENERIC_RELOC_SECTDIFF
GENERIC_RELOC_TLV
GENERIC_RELOC_VANILLA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RelocationTypeGeneric
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelocationTypeGeneric[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERIC_RELOC_VANILLA
public static final RelocationTypeGeneric GENERIC_RELOC_VANILLA
-
GENERIC_RELOC_PAIR
public static final RelocationTypeGeneric GENERIC_RELOC_PAIR
-
GENERIC_RELOC_SECTDIFF
public static final RelocationTypeGeneric GENERIC_RELOC_SECTDIFF
-
GENERIC_RELOC_PB_LA_PTR
public static final RelocationTypeGeneric GENERIC_RELOC_PB_LA_PTR
-
GENERIC_RELOC_LOCAL_SECTDIFF
public static final RelocationTypeGeneric GENERIC_RELOC_LOCAL_SECTDIFF
-
GENERIC_RELOC_TLV
public static final RelocationTypeGeneric GENERIC_RELOC_TLV
-
-
Method Detail
-
values
public static RelocationTypeGeneric[] 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 (RelocationTypeGeneric c : RelocationTypeGeneric.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelocationTypeGeneric 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
-
-