Package ghidra.app.util.viewer.proxy
Class VariableProxy
- java.lang.Object
-
- ghidra.app.util.viewer.proxy.ProxyObj<Variable>
-
- ghidra.app.util.viewer.proxy.VariableProxy
-
-
Constructor Summary
Constructors Constructor Description VariableProxy(ListingModel model, Program program, Address locationAddr, Function fun, Variable var)
Constructs a proxy for a variable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getFunctionAddress()
Address
getLocationAddress()
Variable
getObject()
Returns the object that this proxy represents or null if the represented object no longer exists.-
Methods inherited from class ghidra.app.util.viewer.proxy.ProxyObj
getListingLayoutModel
-
-
-
-
Constructor Detail
-
VariableProxy
public VariableProxy(ListingModel model, Program program, Address locationAddr, Function fun, Variable var)
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.
-
-
Method Detail
-
getObject
public Variable getObject()
Description copied from class:ProxyObj
Returns the object that this proxy represents or null if the represented object no longer exists.- Specified by:
getObject
in classProxyObj<Variable>
- Returns:
- the object that this proxy represents or null if the represented object no longer exists.
- See Also:
ProxyObj.getObject()
-
getLocationAddress
public Address getLocationAddress()
-
getFunctionAddress
public Address getFunctionAddress()
-
-