Package ghidra.program.model.lang
Enum InstructionBlockFlow.Type
- java.lang.Object
-
- java.lang.Enum<InstructionBlockFlow.Type>
-
- ghidra.program.model.lang.InstructionBlockFlow.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstructionBlockFlow.Type>
- Enclosing class:
- InstructionBlockFlow
public static enum InstructionBlockFlow.Type extends java.lang.Enum<InstructionBlockFlow.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRANCH
BRANCH
is a normal block branch flow within an InstructionSetCALL
CALL
is a call flow which always starts a new InstructionSet.CALL_FALLTHROUGH
CALL_FALLTHROUGH
is fall-through flow from a CALL instruction which must be deferred until all branch flows are processed.PRIORITY
PRIORITY
is the highest priority flow start
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstructionBlockFlow.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstructionBlockFlow.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIORITY
public static final InstructionBlockFlow.Type PRIORITY
PRIORITY
is the highest priority flow start
-
BRANCH
public static final InstructionBlockFlow.Type BRANCH
BRANCH
is a normal block branch flow within an InstructionSet
-
CALL_FALLTHROUGH
public static final InstructionBlockFlow.Type CALL_FALLTHROUGH
CALL_FALLTHROUGH
is fall-through flow from a CALL instruction which must be deferred until all branch flows are processed.
-
CALL
public static final InstructionBlockFlow.Type CALL
CALL
is a call flow which always starts a new InstructionSet.
-
-
Method Detail
-
values
public static InstructionBlockFlow.Type[] 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 (InstructionBlockFlow.Type c : InstructionBlockFlow.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstructionBlockFlow.Type 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
-
-