Enum DwarfEHDataApplicationMode
- java.lang.Object
-
- java.lang.Enum<DwarfEHDataApplicationMode>
-
- ghidra.app.plugin.exceptionhandlers.gcc.DwarfEHDataApplicationMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DwarfEHDataApplicationMode>
public enum DwarfEHDataApplicationMode extends java.lang.Enum<DwarfEHDataApplicationMode>
An application mode for encoded exception handling data. See the Linux Standard Base DWARF extensions specification for details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DW_EH_PE_absptr
DW_EH_PE_aligned
DW_EH_PE_datarel
DW_EH_PE_funcrel
DW_EH_PE_indirect
DW_EH_PE_omit
DW_EH_PE_pcrel
DW_EH_PE_texrel
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DwarfEHDataApplicationMode
valueOf(int code)
Determines the data application mode for the indicated code.static DwarfEHDataApplicationMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DwarfEHDataApplicationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DW_EH_PE_absptr
public static final DwarfEHDataApplicationMode DW_EH_PE_absptr
-
DW_EH_PE_pcrel
public static final DwarfEHDataApplicationMode DW_EH_PE_pcrel
-
DW_EH_PE_texrel
public static final DwarfEHDataApplicationMode DW_EH_PE_texrel
-
DW_EH_PE_datarel
public static final DwarfEHDataApplicationMode DW_EH_PE_datarel
-
DW_EH_PE_funcrel
public static final DwarfEHDataApplicationMode DW_EH_PE_funcrel
-
DW_EH_PE_aligned
public static final DwarfEHDataApplicationMode DW_EH_PE_aligned
-
DW_EH_PE_indirect
public static final DwarfEHDataApplicationMode DW_EH_PE_indirect
-
DW_EH_PE_omit
public static final DwarfEHDataApplicationMode DW_EH_PE_omit
-
-
Method Detail
-
values
public static DwarfEHDataApplicationMode[] 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 (DwarfEHDataApplicationMode c : DwarfEHDataApplicationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DwarfEHDataApplicationMode 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
-
valueOf
public static DwarfEHDataApplicationMode valueOf(int code)
Determines the data application mode for the indicated code.- Parameters:
code
- a code that indicates a data application mode- Returns:
- the data application mode or null if the code isn't valid
-
-