| java.lang.Object | ||||
| ↳ | com.pnfsoftware.jeb.core.events.JebEventSource | |||
| ↳ | com.pnfsoftware.jeb.core.units.AbstractUnit | |||
| ↳ | com.pnfsoftware.jeb.core.units.AbstractBinaryUnit | |||
| ↳ | com.pnfsoftware.jeb.core.units.codeobject.AbstractCodeObjectUnit | |||
Convenient base class for code objects.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AbstractCodeObjectUnit(IInput input, String formatType, String name, IUnitProcessor unitProcessor, IUnitCreator parent, IPropertyDefinitionManager pdm) | |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AbstractCodeObjectUnit() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | addAllSections(Collection<? extends ISegmentInformation> sections) | ||||||||||
| void | addAllSegments(Collection<? extends ISegmentInformation> segments) | ||||||||||
| void | addAllSymbols(Collection<? extends ISymbolInformation> symbols) | ||||||||||
| void | addSection(ISegmentInformation section) | ||||||||||
| void | addSegment(ISegmentInformation segment) | ||||||||||
| void | addSymbol(ISymbolInformation symbol) | ||||||||||
| long |
convertFileOffsetToRelativeAddress(long offset)
Convert a file offset to a memory address, relative to the base.
| ||||||||||
| long |
convertRelativeAddressToFileOffset(long rel)
Convert a memory address (relative to the base) to a file offset.
| ||||||||||
| ByteOrder |
getByteOrder()
Convenience method.
| ||||||||||
| List<? extends ISymbolInformation> |
getExportedSymbols()
Retrieve the list of exported symbols.
| ||||||||||
| List<? extends ISymbolInformation> |
getImportedSymbols()
Retrieve the list of imported symbols.
| ||||||||||
| ILoaderInformation |
getLoaderInformation()
Retrieve basic information about the object file.
| ||||||||||
| IVirtualMemory | getMemoryMappedImage() | ||||||||||
| int | getSectionCount() | ||||||||||
| List<? extends ISegmentInformation> |
getSections()
Retrieve the list of sections defined in the object file.
| ||||||||||
| int | getSegmentCount() | ||||||||||
| List<? extends ISegmentInformation> |
getSegments()
Retrieve the list of segments defined in the object file.
| ||||||||||
| int | getSymbolCount() | ||||||||||
| List<? extends ISymbolInformation> | getSymbols() | ||||||||||
| void | insertSection(int index, ISegmentInformation section) | ||||||||||
| void | insertSegment(int index, ISegmentInformation segment) | ||||||||||
| void | insertSymbol(int index, ISymbolInformation symbol) | ||||||||||
| void | removeSection(int index) | ||||||||||
| void | removeSegment(int index) | ||||||||||
| void | removeSymbol(int index) | ||||||||||
| void | setLoaderInformation(ILoaderInformation ldinfo) | ||||||||||
| void | setMemoryMappedImage(IVirtualMemory mem) | ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| IVirtualMemory |
mapImageToMemory(IVirtualMemory mem)
Standard memory mapping of all publicized segments.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pnfsoftware.jeb.core.units.AbstractBinaryUnit
| |||||||||||
From class
com.pnfsoftware.jeb.core.units.AbstractUnit
| |||||||||||
From class
com.pnfsoftware.jeb.core.events.JebEventSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.IBinaryUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.IUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.codeobject.ICodeObjectUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.util.events.IEventSource
| |||||||||||
Convert a file offset to a memory address, relative to the base.
| offset | a file offset |
|---|
Convert a memory address (relative to the base) to a file offset.
| rel | the base-relative memory address |
|---|
Convenience method. Indicate the natural byte ordering for the code contained in this object file.
Retrieve the list of exported symbols.
Retrieve the list of imported symbols.
Retrieve basic information about the object file.
Retrieve the list of sections defined in the object file. Typically, sections are used to point to areas of interest. Sections and segments may overlap.
Retrieve the list of segments defined in the object file. Typically, segments are mapped to memory by a code object loader. Segments and sections may overlap.
Standard memory mapping of all publicized segments.
| mem | optional memory image; if null, a new VM will be created |
|---|