com.pnfsoftware.jeb.core.units.codeobject.ILoaderInformation |
Known Indirect Subclasses |
Basic information held within a code loader unit.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_HAS_RELOCATION | The file contains relocation information. | |||||||||
int | FLAG_HAS_SYMBOLS | The file contains symbolic information. | |||||||||
int | FLAG_IS_RELOCATABLE | The file can be relocated at different base addresses. | |||||||||
int | FLAG_LIBRARY_FILE | The file is a library file (eg, Windows DLL, Linux SO) | |||||||||
int | FLAG_OBJECT_FILE | The file is an object file (e.g. | |||||||||
int | FLAG_PURE_CODE | The file is a pseudo-object file, and contains pure code. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract long |
getCompilationTimestamp()
Get the compilation timestamp, if any.
| ||||||||||
abstract Endianness |
getEndianness()
Get the endianness.
| ||||||||||
abstract long |
getEntryPoint()
Get the relative address of the main entry-point, if any.
| ||||||||||
abstract int |
getFlags()
Get generic flags, any combination of
FLAG_* . | ||||||||||
abstract long |
getImageBase()
Get the ideal in-memory base address of the file.
| ||||||||||
abstract long |
getImageSize()
Get the in-memory size of the file.
| ||||||||||
abstract String |
getNotes()
Retrieve custom notes provided by the code object parser.
| ||||||||||
abstract long |
getOverlayOffset()
Get the file offset to the overlay (also called 'appended') data in this code object, if any.
| ||||||||||
abstract ProcessorType |
getTargetProcessor()
Get the target processor type.
| ||||||||||
abstract SubsystemType |
getTargetSubsystem()
Get the target subsystem and/or operating system type.
| ||||||||||
abstract String |
getVersion()
Get a version information string about the code object.
| ||||||||||
abstract int |
getWordSize()
Get the machine word size, in bits.
|
The file contains relocation information.
The file contains symbolic information.
The file can be relocated at different base addresses.
Note that a file can be relocatable even if it does not have relocation information (eg, PIC).
The file is a library file (eg, Windows DLL, Linux SO)
The file is an object file (e.g. Windows COFF, Linux relocatable ELF)
The file is a pseudo-object file, and contains pure code. An entry-point RVA of 0 will not be disregarded; ie, if 0, the first code to be executed will be assumed to be at offset 0.
Get the compilation timestamp, if any.
Get the relative address of the main entry-point, if any.
Other exported addresses and symbols are defined within ICodeObjectUnit
.
Get generic flags, any combination of FLAG_*
. The flags are mostly informative.
Get the ideal in-memory base address of the file. It is the address of the first byte of the mapped file in memory.
Get the in-memory size of the file. It is the address of the loaded or memory-mapped loader file.
Retrieve custom notes provided by the code object parser.
Get the file offset to the overlay (also called 'appended') data in this code object, if any. Overlay data, although part of a binary file, is normally not mapped to memory by the code object loaders.
Get the target subsystem and/or operating system type.
Get a version information string about the code object.
Get the machine word size, in bits. May be redundant with getTargetProcessor()
.