Class LocalVariableInfo
java.lang.Object
ghidra.program.model.listing.LocalVariableImpl
ghidra.feature.vt.api.stringable.deprecated.LocalVariableInfo
- All Implemented Interfaces:
ghidra.program.model.listing.LocalVariable
,ghidra.program.model.listing.Variable
,Comparable<ghidra.program.model.listing.Variable>
public class LocalVariableInfo
extends ghidra.program.model.listing.LocalVariableImpl
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
compareTo
(ghidra.program.model.listing.Variable arg0) ghidra.program.model.listing.Variable
createLocalVariable
(ghidra.program.model.listing.Function destFunction, ghidra.program.model.address.Address destinationStorageAddress) final boolean
final String
ghidra.program.model.data.DataType
final ghidra.program.model.pcode.Varnode
ghidra.program.model.listing.Function
final ghidra.program.model.pcode.Varnode
final int
final ghidra.program.model.address.Address
final String
getName()
final ghidra.program.model.listing.Program
final ghidra.program.model.lang.Register
final List
<ghidra.program.model.lang.Register> final ghidra.program.model.symbol.SourceType
final int
final ghidra.program.model.symbol.Symbol
final ghidra.program.model.listing.VariableStorage
final boolean
protected boolean
int
hashCode()
final boolean
final boolean
final boolean
isEquivalent
(ghidra.program.model.listing.Variable arg0) final boolean
final boolean
final boolean
final boolean
final boolean
isValid()
protected boolean
void
setComment
(String arg0) final void
setDataType
(ghidra.program.model.data.DataType arg0, boolean arg1, boolean arg2, ghidra.program.model.symbol.SourceType arg3) void
setDataType
(ghidra.program.model.data.DataType arg0, ghidra.program.model.listing.VariableStorage arg1, boolean arg2, ghidra.program.model.symbol.SourceType arg3) void
setDataType
(ghidra.program.model.data.DataType arg0, ghidra.program.model.symbol.SourceType arg1) void
toString()
Methods inherited from class ghidra.program.model.listing.LocalVariableImpl
getFirstUseOffset, setFirstUseOffset
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface ghidra.program.model.listing.Variable
getComment, getDataType, getFirstStorageVarnode, getFunction, getLastStorageVarnode, getLength, getMinAddress, getName, getProgram, getRegister, getRegisters, getSource, getStackOffset, getSymbol, getVariableStorage, hasAssignedStorage, hasStackStorage, isCompoundVariable, isEquivalent, isMemoryVariable, isRegisterVariable, isStackVariable, isUniqueVariable, isValid, setComment, setDataType, setDataType, setDataType, setName
-
Method Details
-
createLocalVariable
public ghidra.program.model.listing.Variable createLocalVariable(ghidra.program.model.listing.Function destFunction, ghidra.program.model.address.Address destinationStorageAddress) -
hasDefaultName
protected boolean hasDefaultName() -
isVoidAllowed
protected boolean isVoidAllowed() -
isValid
public final boolean isValid()- Specified by:
isValid
in interfaceghidra.program.model.listing.Variable
-
getComment
- Specified by:
getComment
in interfaceghidra.program.model.listing.Variable
-
getDataType
public ghidra.program.model.data.DataType getDataType()- Specified by:
getDataType
in interfaceghidra.program.model.listing.Variable
-
setDataType
public void setDataType(ghidra.program.model.data.DataType arg0, ghidra.program.model.listing.VariableStorage arg1, boolean arg2, ghidra.program.model.symbol.SourceType arg3) throws ghidra.util.exception.InvalidInputException - Specified by:
setDataType
in interfaceghidra.program.model.listing.Variable
- Throws:
ghidra.util.exception.InvalidInputException
-
setDataType
public final void setDataType(ghidra.program.model.data.DataType arg0, boolean arg1, boolean arg2, ghidra.program.model.symbol.SourceType arg3) throws ghidra.util.exception.InvalidInputException - Specified by:
setDataType
in interfaceghidra.program.model.listing.Variable
- Throws:
ghidra.util.exception.InvalidInputException
-
setDataType
public void setDataType(ghidra.program.model.data.DataType arg0, ghidra.program.model.symbol.SourceType arg1) throws ghidra.util.exception.InvalidInputException - Specified by:
setDataType
in interfaceghidra.program.model.listing.Variable
- Throws:
ghidra.util.exception.InvalidInputException
-
getFunction
public ghidra.program.model.listing.Function getFunction()- Specified by:
getFunction
in interfaceghidra.program.model.listing.Variable
-
getProgram
public final ghidra.program.model.listing.Program getProgram()- Specified by:
getProgram
in interfaceghidra.program.model.listing.Variable
-
getLength
public final int getLength()- Specified by:
getLength
in interfaceghidra.program.model.listing.Variable
-
getName
- Specified by:
getName
in interfaceghidra.program.model.listing.Variable
-
getSource
public final ghidra.program.model.symbol.SourceType getSource()- Specified by:
getSource
in interfaceghidra.program.model.listing.Variable
-
getSymbol
public final ghidra.program.model.symbol.Symbol getSymbol()- Specified by:
getSymbol
in interfaceghidra.program.model.listing.Variable
-
setComment
- Specified by:
setComment
in interfaceghidra.program.model.listing.Variable
-
setName
public void setName(String arg0, ghidra.program.model.symbol.SourceType arg1) throws ghidra.util.exception.InvalidInputException - Specified by:
setName
in interfaceghidra.program.model.listing.Variable
- Throws:
ghidra.util.exception.InvalidInputException
-
hasAssignedStorage
public final boolean hasAssignedStorage()- Specified by:
hasAssignedStorage
in interfaceghidra.program.model.listing.Variable
-
getVariableStorage
public final ghidra.program.model.listing.VariableStorage getVariableStorage()- Specified by:
getVariableStorage
in interfaceghidra.program.model.listing.Variable
-
getFirstStorageVarnode
public final ghidra.program.model.pcode.Varnode getFirstStorageVarnode()- Specified by:
getFirstStorageVarnode
in interfaceghidra.program.model.listing.Variable
-
getLastStorageVarnode
public final ghidra.program.model.pcode.Varnode getLastStorageVarnode()- Specified by:
getLastStorageVarnode
in interfaceghidra.program.model.listing.Variable
-
isStackVariable
public final boolean isStackVariable()- Specified by:
isStackVariable
in interfaceghidra.program.model.listing.Variable
-
hasStackStorage
public final boolean hasStackStorage()- Specified by:
hasStackStorage
in interfaceghidra.program.model.listing.Variable
-
isRegisterVariable
public final boolean isRegisterVariable()- Specified by:
isRegisterVariable
in interfaceghidra.program.model.listing.Variable
-
getRegister
public final ghidra.program.model.lang.Register getRegister()- Specified by:
getRegister
in interfaceghidra.program.model.listing.Variable
-
getRegisters
- Specified by:
getRegisters
in interfaceghidra.program.model.listing.Variable
-
getMinAddress
public final ghidra.program.model.address.Address getMinAddress()- Specified by:
getMinAddress
in interfaceghidra.program.model.listing.Variable
-
getStackOffset
public final int getStackOffset()- Specified by:
getStackOffset
in interfaceghidra.program.model.listing.Variable
-
isMemoryVariable
public final boolean isMemoryVariable()- Specified by:
isMemoryVariable
in interfaceghidra.program.model.listing.Variable
-
isUniqueVariable
public final boolean isUniqueVariable()- Specified by:
isUniqueVariable
in interfaceghidra.program.model.listing.Variable
-
isCompoundVariable
public final boolean isCompoundVariable()- Specified by:
isCompoundVariable
in interfaceghidra.program.model.listing.Variable
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
public final int compareTo(ghidra.program.model.listing.Variable arg0) - Specified by:
compareTo
in interfaceComparable<ghidra.program.model.listing.Variable>
-
isEquivalent
public final boolean isEquivalent(ghidra.program.model.listing.Variable arg0) - Specified by:
isEquivalent
in interfaceghidra.program.model.listing.Variable
-