Package ghidra.program.database.symbol
Class VariableStorageManagerDB
- java.lang.Object
-
- ghidra.program.database.symbol.VariableStorageManagerDB
-
public class VariableStorageManagerDB extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VariableStorageManagerDB(DBHandle handle, AddressMap addrMap, int openMode, Lock lock, TaskMonitor monitor)
Construct a new variable manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getVariableStorageAddress(VariableStorage storage, boolean create)
void
setLanguage(LanguageTranslator translator, TaskMonitor monitor)
Perform language translation.
-
-
-
Constructor Detail
-
VariableStorageManagerDB
public VariableStorageManagerDB(DBHandle handle, AddressMap addrMap, int openMode, Lock lock, TaskMonitor monitor) throws VersionException, java.io.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:
java.io.IOException
- if a database error occurs.VersionException
- if the table version is different from this adapter.java.io.IOException
CancelledException
- if the user cancels the upgrade.
-
-
Method Detail
-
getVariableStorageAddress
public Address getVariableStorageAddress(VariableStorage storage, boolean create) throws java.io.IOException
- Throws:
java.io.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
-
-