Package ghidra.program.database.symbol
Class VariableStorageManagerDB
java.lang.Object
ghidra.program.database.symbol.VariableStorageManagerDB
-
Constructor Summary
ConstructorsConstructorDescriptionVariableStorageManagerDB
(DBHandle handle, AddressMap addrMap, int openMode, Lock lock, TaskMonitor monitor) Construct a new variable manager. -
Method Summary
Modifier and TypeMethodDescriptiongetVariableStorageAddress
(VariableStorage storage, boolean create) void
setLanguage
(LanguageTranslator translator, TaskMonitor monitor) Perform language translation.
-
Constructor Details
-
VariableStorageManagerDB
public VariableStorageManagerDB(DBHandle handle, AddressMap addrMap, int openMode, Lock lock, TaskMonitor monitor) throws VersionException, IOException, CancelledException Construct a new variable manager.- Parameters:
handle
- the database handle.addrMap
- the address mapopenMode
- the open modelock
- the program synchronization lockmonitor
- the task monitor.- Throws:
IOException
- if a database error occurs.VersionException
- if the table version is different from this adapter.IOException
CancelledException
- if the user cancels the upgrade.
-
-
Method Details
-
getVariableStorageAddress
public Address getVariableStorageAddress(VariableStorage storage, boolean create) throws IOException - Throws:
IOException
-
setLanguage
public void setLanguage(LanguageTranslator translator, TaskMonitor monitor) throws CancelledException Perform language translation. Update variable storage specifications to reflect address space and register mappings- Parameters:
translator
-monitor
-- Throws:
CancelledException
-