Enum Class DvrtType
- All Implemented Interfaces:
StructConverter, Serializable, Comparable<DvrtType>, Constable
Defined symbol dynamic relocation entries
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionchangeSize(int n) Changes the size of thisDvrtTypeto the given number of byteslonggetValue()Returns the type's defined value.Returns a structure datatype representing the contents of the implementor of this interface.static DvrtTypetype4(BinaryReader reader) Reads a 4-byteDvrtTypestatic DvrtTypetype8(BinaryReader reader) Reads an 8-byteDvrtTypestatic DvrtTypeReturns the enum constant of this class with the specified name.static DvrtType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMAGE_DYNAMIC_RELOCATION_GUARD_RF_PROLOGUE
-
IMAGE_DYNAMIC_RELOCATION_GUARD_RF_EPILOGUE
-
IMAGE_DYNAMIC_RELOCATION_IMPORT_CONTROL_TRANSFER
-
IMAGE_DYNAMIC_RELOCATION_INDIR_CONTROL_TRANSFER
-
IMAGE_DYNAMIC_RELOCATION_SWITCHABLE_BRANCH
-
IMAGE_DYNAMIC_RELOCATION_ARM64X
-
IMAGE_DYNAMIC_RELOCATION_FUNCTION_OVERRIDE
-
IMAGE_DYNAMIC_RELOCATION_ARM64_KERNEL_IMPORT_CALL_TRANSFER
-
IMAGE_DYNAMIC_RELOCATION_UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public long getValue()Returns the type's defined value.- Returns:
- the type's defined value
-
changeSize
-
type8
Reads an 8-byteDvrtType- Parameters:
reader- ABinaryReaderthat points to the start of the type value- Returns:
- The type that was read, or
IMAGE_DYNAMIC_RELOCATION_UNKNOWNif the value read does not correspond to a known type - Throws:
IOException- if there was an IO-related error
-
type4
Reads a 4-byteDvrtType- Parameters:
reader- ABinaryReaderthat points to the start of the type value- Returns:
- The type that was read, or
IMAGE_DYNAMIC_RELOCATION_UNKNOWNif the value read does not correspond to a known type - Throws:
IOException- if there was an IO-related error
-
toDataType
Description copied from interface:StructConverterReturns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataTypein interfaceStructConverter- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException- when a datatype of the same name already existsIOException- if an IO-related error occurs- See Also:
-