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.boolean
isPE64()
Methods inherited from interface com.pnfsoftware.jeb.core.units.IBinaryUnit
getInput, getMimeType
Methods 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, map
Methods inherited from interface com.pnfsoftware.jeb.util.events.IEventSource
addListener, countListeners, getListeners, getParentSource, insertListener, notifyListeners, removeListener, setParentSource
Methods inherited from interface com.pnfsoftware.jeb.core.units.IUnit
addChild, addChild, canBePersisted, dispose, 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, setUnitProcessor
Methods inherited from interface com.pnfsoftware.jeb.core.IUserDataSupport
clearAllData, getAllData, getData, setData
-
Method Details
-
isPE64
boolean isPE64()- Returns:
-
getCOFFHeader
ICOFFHeader getCOFFHeader()Get the primary file header.- Returns:
-
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:
-