Package ghidra.pcode.emu.jit.analysis
Enum Class JitAllocationModel.RunFixedLocal
java.lang.Object
java.lang.Enum<JitAllocationModel.RunFixedLocal>
ghidra.pcode.emu.jit.analysis.JitAllocationModel.RunFixedLocal
- All Implemented Interfaces:
JitAllocationModel.FixedLocal,Serializable,Comparable<JitAllocationModel.RunFixedLocal>,Constable
- Enclosing class:
JitAllocationModel
public static enum JitAllocationModel.RunFixedLocal
extends Enum<JitAllocationModel.RunFixedLocal>
implements JitAllocationModel.FixedLocal
Locals that exist in every compiled passage's
run method.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<JitAllocationModel.FixedLocal> All of the runtime locals -
Method Summary
Modifier and TypeMethodDescriptionintindex()The JVM index of the localintThe JVM opcode used to load the variableintThe JVM opcode used to store the variableReturns the enum constant of this class with the specified name.static JitAllocationModel.RunFixedLocal[]values()Returns an array containing the constants of this enum class, in the order they are declared.varName()The name of the localMethods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ghidra.pcode.emu.jit.analysis.JitAllocationModel.FixedLocal
generateDeclCode, generateLoadCode, generateStoreCode, typeDesc
-
Enum Constant Details
-
THIS
Because we're compiling a non-static method, the JVM reserves index 0 forthis. -
BLOCK_ID
The parameterblockIdis reserved by the JVM into index 1. -
CTXMOD
We declare a local variable to indicate that a context-modifying userop has been invoked.
-
-
Field Details
-
ALL
All of the runtime locals
-
-
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
-
index
public int index()Description copied from interface:JitAllocationModel.FixedLocalThe JVM index of the local- Specified by:
indexin interfaceJitAllocationModel.FixedLocal- Returns:
- the index
-
varName
Description copied from interface:JitAllocationModel.FixedLocalThe name of the local- Specified by:
varNamein interfaceJitAllocationModel.FixedLocal- Returns:
- the name
-
opcodeLoad
public int opcodeLoad()Description copied from interface:JitAllocationModel.FixedLocalThe JVM opcode used to load the variable- Specified by:
opcodeLoadin interfaceJitAllocationModel.FixedLocal- Returns:
- the load opcode
-
opcodeStore
public int opcodeStore()Description copied from interface:JitAllocationModel.FixedLocalThe JVM opcode used to store the variable- Specified by:
opcodeStorein interfaceJitAllocationModel.FixedLocal- Returns:
- the store opcode
-