Interface IELFUnit
- All Superinterfaces:
IBinaryUnit,ICodeObjectUnit,IEventSource,IUnit,IUnitCreator,IUserDataSupport
Specialized interface for ELF units.
-
Method Summary
Modifier and TypeMethodDescriptionDWARF DIE.Retrieve the dynamic table.Retrieve the ELF header.Convenience method to retrieve the image held in this ELF container.Retrieve program table entries.getProgramEntry(int index) Retrieve a program table entry by index.Retrieve relocation tables.Retrieve section table entries.getSectionEntry(int index) Retrieve a section table entry by index.getSectionName(int index) Retrieve a section name by index.Retrieve symbol tables.booleanisELF64()Determine whether this ELF is 64-bit.Methods inherited from interface com.pnfsoftware.jeb.core.units.IBinaryUnit
getInput, getMimeTypeMethods inherited from interface com.pnfsoftware.jeb.core.units.codeobject.ICodeObjectUnit
convertFileOffsetToRelativeAddress, convertRelativeAddressToFileOffset, getExportedSymbols, getImportedSymbols, getLoaderInformation, getRawMemoryMappedImage, getSection, getSectionCount, getSections, getSections, getSegment, getSegmentCount, getSegments, getSegments, getSymbols, getSymbols, getValidSections, getValidSegments, mapMethods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSourceMethods inherited from interface com.pnfsoftware.jeb.core.units.IUnit
addChild, addChild, canBePersisted, dispose, execprvfunc, generateQuickState, getChildren, getContributions, getCreationTimestamp, getDescription, getExtraInputs, getFormatter, getFormatType, getIconData, getInterpreters, getLock, getName, getNotes, getNotificationManager, getParent, getParentArtifact, getParentProject, getPropertyDefinitionManager, getPropertyManager, getRealName, getStatus, getUid, getUnitProcessor, initializePropertyObjects, isDisposed, isProcessed, isStale, isTransientChild, notifyGenericChange, postDeserialization, process, removeChild, setName, setNotes, setParent, setRealName, setUnitProcessorMethods inherited from interface com.pnfsoftware.jeb.core.IUserDataSupport
clearAllData, getAllData, getData, setData
-
Method Details
-
isELF64
boolean isELF64()Determine whether this ELF is 64-bit.- Returns:
- true for ELF64, false for ELF32
-
getHeader
IELFHeader getHeader()Retrieve the ELF header.- Returns:
- the ELF header
-
getProgramEntries
List<IELFProgramEntry> getProgramEntries()Retrieve program table entries.- Returns:
- program entries
-
getProgramEntry
Retrieve a program table entry by index.- Parameters:
index- program entry index- Returns:
- the program entry
-
getSectionEntries
List<IELFSectionEntry> getSectionEntries()Retrieve section table entries.- Returns:
- section entries
-
getSectionEntry
Retrieve a section table entry by index.- Parameters:
index- section entry index- Returns:
- the section entry
-
getSectionName
Retrieve a section name by index.- Parameters:
index- section index- Returns:
- the section name
-
getSymbolTables
List<IELFSymbolTable> getSymbolTables()Retrieve symbol tables.- Returns:
- symbol tables
-
getRelocationTables
List<IELFRelocationTable> getRelocationTables()Retrieve relocation tables.- Returns:
- relocation tables
-
getDynamicTable
IELFDynamicTable getDynamicTable()Retrieve the dynamic table.- Returns:
- may be null
-
getImageUnit
IUnit getImageUnit()Convenience method to retrieve the image held in this ELF container. The returned value may be null if underlying machine code is not supported.- Returns:
- the image unit, or null if none
-
getDwarfDIEs
List<IDwCompileUnit> getDwarfDIEs()DWARF DIE. May be null if no DWARF sections are provided.- Returns:
- DWARF compilation units, or null if none
-