Package ghidra.app.util.bin.format.pef
Class ImportStateCache
java.lang.Object
ghidra.app.util.bin.format.pef.ImportStateCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateLibrarySymbol(ImportedLibrary library, String symbolName, Address address) voiddispose()getMemoryBlockForSection(SectionHeader section) Returns the memory block for the given section.getNamespace(ImportedLibrary library) Returns a namespace for the given imported library.getSymbol(String symbolName, ImportedLibrary library) Returns the symbol object with the given name in the specified library.voidsetMemoryBlockForSection(SectionHeader section, MemoryBlock block) voidsetTocAddress(Address tocAddress)
-
Constructor Details
-
ImportStateCache
-
-
Method Details
-
dispose
public void dispose() -
getTVectNamespace
-
getNamespace
Returns a namespace for the given imported library.- Parameters:
library- the imported library- Returns:
- a namespace for the given imported library
-
getMemoryBlockForSection
Returns the memory block for the given section. Generally sections do not specify a preferred address and are not named. This map provides a way to lookup the block that was created for the given section.- Parameters:
section- the PEF section header- Returns:
- the memory block for the given section
-
setMemoryBlockForSection
-
getSymbol
Returns the symbol object with the given name in the specified library.- Parameters:
symbolName- the desired symbol's namelibrary- the desired library- Returns:
- the symbol object with the given name in the specified library
-
createLibrarySymbol
-
getTocAddress
-
setTocAddress
-