Package ghidra.pcode.emu.jit.analysis
Interface JitType.SimpleJitType
- All Superinterfaces:
JitType
- All Known Implementing Classes:
JitType.DoubleJitType,JitType.FloatJitType,JitType.IntJitType,JitType.LongJitType
- Enclosing interface:
JitType
A p-code type that can be represented in a single JVM variable.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.analysis.JitType
JitType.DoubleJitType, JitType.FloatJitType, JitType.IntJitType, JitType.LongJitType, JitType.MpFloatJitType, JitType.MpIntJitType, JitType.SimpleJitType -
Method Summary
Modifier and TypeMethodDescriptionasInt()Re-apply theintegerbehavior to this typeClass<?> javaType()The JVM type of the variable that can represent a p-code variable of this typeintThe JVM opcode to load a local variable of this type onto the stackintThe JVM opcode to store a local variable of this type from the stack
-
Method Details
-
javaType
Class<?> javaType()The JVM type of the variable that can represent a p-code variable of this type- Returns:
- the primitive class (not boxed)
-
opcodeLoad
int opcodeLoad()The JVM opcode to load a local variable of this type onto the stack- Returns:
- the opcode
-
opcodeStore
int opcodeStore()The JVM opcode to store a local variable of this type from the stack- Returns:
- the opcode
-
asInt
JitType.SimpleJitType asInt()Re-apply theintegerbehavior to this typeThis may be slightly faster than
JitTypeBehavior.INTEGER.resolve(this), because each type can pick its int type directly, and integer types can just returnthis.- Returns:
- this type as an int
-