Package ghidra.pcode.emu.jit.var
Class AbstractJitOutVar
java.lang.Object
ghidra.pcode.emu.jit.var.AbstractJitVal
ghidra.pcode.emu.jit.var.AbstractJitVar
ghidra.pcode.emu.jit.var.AbstractJitVarnodeVar
ghidra.pcode.emu.jit.var.AbstractJitOutVar
- All Implemented Interfaces:
JitOutVar
,JitVal
,JitVar
,JitVarnodeVar
- Direct Known Subclasses:
JitLocalOutVar
,JitMemoryOutVar
An abstract implementation of
JitOutVar
.-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.pcode.emu.jit.var.JitVal
JitVal.ValUse
-
Field Summary
Fields inherited from class ghidra.pcode.emu.jit.var.AbstractJitVarnodeVar
varnode
Fields inherited from class ghidra.pcode.emu.jit.var.AbstractJitVar
id
Fields inherited from class ghidra.pcode.emu.jit.var.AbstractJitVal
size, uses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe defining p-code operator nodevoid
setDefinition
(JitDefOp definition) Set the defining p-code operator nodeMethods inherited from class ghidra.pcode.emu.jit.var.AbstractJitVarnodeVar
space, toString, varnode
Methods inherited from class ghidra.pcode.emu.jit.var.AbstractJitVar
id
Methods inherited from class ghidra.pcode.emu.jit.var.AbstractJitVal
addUse, removeUse, size, uses
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ghidra.pcode.emu.jit.var.JitVarnodeVar
size, varnode
-
Constructor Details
-
AbstractJitOutVar
Construct a variable.- Parameters:
id
- the unique idvarnode
- the varnode
-
-
Method Details
-
setDefinition
Description copied from interface:JitOutVar
Set the defining p-code operator node- Specified by:
setDefinition
in interfaceJitOutVar
- Parameters:
definition
- the defining node
-
definition
Description copied from interface:JitOutVar
The defining p-code operator nodeThis should "never" be null. The only exception is the short interim between constructing the node and setting its definition. Once this variable has been entered into the use-def graph, the definition should be non-null and final.
- Specified by:
definition
in interfaceJitOutVar
- Returns:
- the defining node
-