Package ghidra.pcode.emulate
Enum EmulateExecutionState
- java.lang.Object
-
- java.lang.Enum<EmulateExecutionState>
-
- ghidra.pcode.emulate.EmulateExecutionState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EmulateExecutionState>
public enum EmulateExecutionState extends java.lang.Enum<EmulateExecutionState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BREAKPOINT
Currently stopped at a breakpointEXECUTE
Currently executing instruction pcodeFAULT
Execution stopped due to a fault/errorINSTRUCTION_DECODE
Currently decoding instruction (i.e., generating pcode ops)STOPPED
Currently stopped
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmulateExecutionState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EmulateExecutionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOPPED
public static final EmulateExecutionState STOPPED
Currently stopped
-
BREAKPOINT
public static final EmulateExecutionState BREAKPOINT
Currently stopped at a breakpoint
-
INSTRUCTION_DECODE
public static final EmulateExecutionState INSTRUCTION_DECODE
Currently decoding instruction (i.e., generating pcode ops)
-
EXECUTE
public static final EmulateExecutionState EXECUTE
Currently executing instruction pcode
-
FAULT
public static final EmulateExecutionState FAULT
Execution stopped due to a fault/error
-
-
Method Detail
-
values
public static EmulateExecutionState[] 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 (EmulateExecutionState c : EmulateExecutionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmulateExecutionState 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
-
-