Package ghidra.app.util.viewer.proxy
Class VariableProxy
- Direct Known Subclasses:
ClosedVariableProxy
Stores information about a variable in a program such that the variable can
be retrieved when needed.
-
Constructor Summary
ConstructorsConstructorDescriptionVariableProxy(ListingModel model, Program program, Address locationAddr, Function fun, Variable var, boolean isFirst) Constructs a proxy for a variable. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the proxy object of this class contains the given address.Returns the object that this proxy represents or null if the object no longer exists.booleanisFirst()Methods inherited from class ghidra.app.util.viewer.proxy.ProxyObj
getListingLayoutModel
-
Constructor Details
-
VariableProxy
public VariableProxy(ListingModel model, Program program, Address locationAddr, Function fun, Variable var, boolean isFirst) Constructs a proxy for a variable.- Parameters:
model- listing modelprogram- the program containing the variable.locationAddr- the listing address at which the function exists or was inferred via referencefun- the function containing the variable.var- the variable to proxy.isFirst- true if this is the first parameter or variable
-
-
Method Details
-
getObject
Description copied from class:ProxyObjReturns the object that this proxy represents or null if the object no longer exists. -
getLocationAddress
-
getFunctionAddress
-
getProgram
-
contains
Description copied from class:ProxyObjReturns true if the proxy object of this class contains the given address. -
isFirst
public boolean isFirst()
-