Package ghidra.program.database.symbol
Class GlobalVariableSymbolDB
- java.lang.Object
-
- ghidra.program.database.DatabaseObject
-
- ghidra.program.database.symbol.SymbolDB
-
- ghidra.program.database.symbol.VariableSymbolDB
-
- ghidra.program.database.symbol.GlobalVariableSymbolDB
-
- All Implemented Interfaces:
Symbol
public class GlobalVariableSymbolDB extends VariableSymbolDB
-
-
Constructor Summary
Constructors Constructor Description GlobalVariableSymbolDB(SymbolManager symbolMgr, DBObjectCache<SymbolDB> cache, VariableStorageManagerDB variableMgr, Address address, Record record)
Constructs a new GlobalVariableSymbolDB
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.Object
getObject()
SymbolType
getSymbolType()
Returns the symbol type-
Methods inherited from class ghidra.program.database.symbol.VariableSymbolDB
delete, equals, getDataType, getFirstUseOffset, getFunction, getOrdinal, getProgramLocation, getReferenceCount, getReferences, getVariableStorage, hasMultipleReferences, hasReferences, isExternal, isPrimary, isValidParent, refresh, setFirstUseOffset, setInvalid, setOrdinal, setStorageAndDataType, validateNameSource
-
Methods inherited from class ghidra.program.database.symbol.SymbolDB
doIsPinned, doSetPinned, getAddress, getID, getName, getParentNamespace, getParentSymbol, getPath, getProgram, getReferences, getSource, getSymbolData1, getSymbolData2, getSymbolData3, getSymbolsDynamicallyRenamedByMyRename, hashCode, isDeleting, isDescendant, isDynamic, isExternalEntryPoint, isGlobal, isPinned, move, refresh, removeAllReferencesTo, setAddress, setName, setNameAndNamespace, setNamespace, setPinned, setPrimary, setSource, setSymbolData1, setSymbolData2, setSymbolData3, toString
-
Methods inherited from class ghidra.program.database.DatabaseObject
checkDeleted, checkIsValid, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, validate
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ghidra.program.model.symbol.Symbol
checkIsValid
-
-
-
-
Constructor Detail
-
GlobalVariableSymbolDB
public GlobalVariableSymbolDB(SymbolManager symbolMgr, DBObjectCache<SymbolDB> cache, VariableStorageManagerDB variableMgr, Address address, Record record)
Constructs a new GlobalVariableSymbolDB- Parameters:
symbolMgr
- the symbol managercache
- symbol object cacheaddress
- the address of the symbol (stack address)record
- the record for the symbol
-
-
Method Detail
-
getSymbolType
public SymbolType getSymbolType()
Description copied from interface:Symbol
Returns the symbol type- Specified by:
getSymbolType
in interfaceSymbol
- Overrides:
getSymbolType
in classVariableSymbolDB
- See Also:
Symbol.getSymbolType()
-
getObject
public java.lang.Object getObject()
- Specified by:
getObject
in interfaceSymbol
- Overrides:
getObject
in classVariableSymbolDB
- See Also:
Symbol.getObject()
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceSymbol
- Overrides:
getName
in classVariableSymbolDB
-
-