Package ghidra.pcode.exec
Enum Class PcodeExecutorStatePiece.Reason
- All Implemented Interfaces:
Serializable
,Comparable<PcodeExecutorStatePiece.Reason>
,Constable
- Enclosing interface:
PcodeExecutorStatePiece<A,
T>
Reasons for reading state
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe value is being decoded by the emulator as an instruction for executionThe value is being read by the emulator as data in the course of executionThe value is being inspected by something other than an emulatorThe value is needed as the default program counter or disassembly context -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PcodeExecutorStatePiece.Reason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RE_INIT
The value is needed as the default program counter or disassembly context -
EXECUTE_READ
The value is being read by the emulator as data in the course of execution -
EXECUTE_DECODE
The value is being decoded by the emulator as an instruction for execution -
INSPECT
The value is being inspected by something other than an emulator
-
-
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
-