Class JitMemoryOutVar
- All Implemented Interfaces:
JitMemoryVar
,JitOutVar
,JitVal
,JitVar
,JitVarnodeVar
This represents an output operand located in memory. It can be addressed directly. In contrast to
JitLocalOutVar
, these may not be used by downstream p-code ops in the use-def
graph, because the output is written to the state
immediately.
There's no benefit to further analysis. Instead, ops that use the same varnode will take a
JitDirectMemoryVar
, which indicate input immediately from the
state
.
- See Also:
-
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
Methods inherited from class ghidra.pcode.emu.jit.var.AbstractJitOutVar
definition, setDefinition
Methods 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
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
-
JitMemoryOutVar
Construct a variable.- Parameters:
id
- the unique idvarnode
- the varnode- See Also:
-
-
Method Details
-
addUse
Description copied from interface:JitVal
Add a use.In most cases, uses should be final, once this value node has been entered into the use-def graph. An exception deals with
phi
nodes, as this analysis occurs after each intra-block portion of the graph has been constructed. During inter-block analysis, additional uses will get recorded. Even further uses may be recorded udingop-use
analysis, since it may generate morephi
nodes.- Specified by:
addUse
in interfaceJitVal
- Overrides:
addUse
in classAbstractJitVal
- Parameters:
op
- the operator node using this oneposition
- the position of this value in the operator's input operands
-