-
- All Known Implementing Classes:
XCOFFReader
public interface IModuleFile
A binary file (shared library / executable) on disk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Properties
getProperties()
List<? extends ISymbol>
getSymbols(long relocationBase)
IMemorySource
getTextSegment(long virtualAddress, long virtualSize)
Creates a memory source for the .text segment.
-
-
-
Method Detail
-
getSymbols
List<? extends ISymbol> getSymbols(long relocationBase) throws IOException
- Parameters:
relocationBase
- Base address for symbols- Returns:
- Symbols from the file.
- Throws:
IOException
-
getTextSegment
IMemorySource getTextSegment(long virtualAddress, long virtualSize)
Creates a memory source for the .text segment.- Parameters:
virtualAddress
- Address text segment is mapped into address spacevirtualSize
- Size of mapped section.- Returns:
- IMemorySource backed by the on-disk file.
-
getProperties
Properties getProperties()
-
-