ImageHeaders

final class ntoseye.ImageHeaders

Subclass of BaseRecord.

The headers of a mapped image (!dh). Each directory is read on its own: a discarded or paged-out one (a driver’s INIT-resident import table) is unavailable beside the headers that did read.

property base: int
property data_directories: list[DataDirectory]
property debug_directory: Diagnostic[list[DebugRecord]]

The debug directory, with each CodeView record decoded.

property entry_point: int | None

The mapped entry point. None if the image has no entry point.

property exports: Diagnostic[ImageExports] | None

The export directory. None if you did not ask for it.

property file_header: FileHeader
property format: str

PE32 or PE32+.

property imports: Diagnostic[list[ImportDescriptor]] | None

The import descriptors. None if you did not ask for them.

property module: str | None

The loaded module at base, if there is one.

property optional_header: OptionalHeader
property sections: list[SectionHeader]