Package ghidra.pcode.exec
Enum Class PcodeArithmetic.Purpose
- All Implemented Interfaces:
Serializable
,Comparable<PcodeArithmetic.Purpose>
,Constable
- Enclosing interface:
PcodeArithmetic<T>
Reasons for requiring a concrete value
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe value will be used as the address of an indirect branchThe value is needed to decide a conditional branchThe value is needed for disassembly contextThe value is needed to parse an instructionThe user or a tool is inspecting the valueThe value will be used as the address of a value to loadSome other reason, perhaps for userop library useThe value will be used as the address of a value to store -
Method Summary
Modifier and TypeMethodDescriptionreason()
static PcodeArithmetic.Purpose
Returns the enum constant of this class with the specified name.static PcodeArithmetic.Purpose[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DECODE
The value is needed to parse an instruction -
CONTEXT
The value is needed for disassembly context -
CONDITION
The value is needed to decide a conditional branch -
BRANCH
The value will be used as the address of an indirect branch -
LOAD
The value will be used as the address of a value to load -
STORE
The value will be used as the address of a value to store -
OTHER
Some other reason, perhaps for userop library use -
INSPECT
The user or a tool is inspecting the value
-
-
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
-
reason
-