Package ghidra.program.database.function
Class LocalVariableDB
java.lang.Object
ghidra.program.database.function.VariableDB
ghidra.program.database.function.LocalVariableDB
- All Implemented Interfaces:
LocalVariable,Variable,Comparable<Variable>
-
Field Summary
Fields inherited from class ghidra.program.database.function.VariableDB
function, functionMgr, storage, symbol -
Method Summary
Modifier and TypeMethodDescriptionintbooleansetFirstUseOffset(int firstUseOffset) Set the first use offset.Methods inherited from class ghidra.program.database.function.VariableDB
compareTo, equals, getComment, getDataType, getFirstStorageVarnode, getFunction, getLastStorageVarnode, getLength, getMinAddress, getName, getProgram, getRegister, getRegisters, getSource, getStackOffset, getSymbol, getVariableStorage, hasAssignedStorage, hashCode, hasStackStorage, isCompoundVariable, isEquivalent, isMemoryVariable, isRegisterVariable, isStackVariable, isUniqueVariable, isValid, isVoidAllowed, setComment, setDataType, setDataType, setDataType, setName, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods 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
-
getFirstUseOffset
public int getFirstUseOffset()- Specified by:
getFirstUseOffsetin interfaceVariable- Returns:
- the first use offset relative to the function entry point.
-
setFirstUseOffset
public boolean setFirstUseOffset(int firstUseOffset) Description copied from interface:LocalVariableSet the first use offset.- Specified by:
setFirstUseOffsetin interfaceLocalVariable- Parameters:
firstUseOffset-- Returns:
- true if successful, else false
-