Interface IPECOFFUnit
- All Superinterfaces:
IBinaryUnit,ICodeObjectUnit,IEventSource,IUnit,IUnitCreator,IUserDataSupport
Base interface for PE and COFF units.
Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx
-
Method Summary
Modifier and TypeMethodDescriptionGet the primary file header.Get the PE header.Get the list of section headers.booleanisPE64()Determine whether this unit uses a 64-bit PE optional header.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
-
isPE64
boolean isPE64()Determine whether this unit uses a 64-bit PE optional header.- Returns:
- true for PE32+, false for PE32 or COFF-only objects
-
getCOFFHeader
ICOFFHeader getCOFFHeader()Get the primary file header.- Returns:
- COFF header
-
getPEOptionalHeader
IPEOptionalHeader getPEOptionalHeader()Get the PE header.- Returns:
- null if this header is not present
-
getSectionHeaders
ICOFFSectionHeader[] getSectionHeaders()Get the list of section headers.- Returns:
- section headers
-