Module object::read::pe

source · []
Expand description

Support for reading PE files.

Defines traits to abstract over the difference between PE32/PE32+, and implements read functionality in terms of these traits.

This module reuses some of the COFF functionality.

Also provides PeFile and related types which implement the Object trait.

Structs

The table of data directories in a PE file.

An export from a PE file.

A partially parsed PE export table.

A fallible iterator for the descriptors in the import data directory.

Information for parsing a PE import table.

A list of import thunks.

A COMDAT section group of a PeFile.

An iterator over the COMDAT section groups of a PeFile.

An iterator over the sections in a COMDAT section group of a PeFile.

A PE object file.

An iterator over the relocations in an PeSection.

A section of a PeFile.

An iterator over the sections of a PeFile.

A loadable section of a PeFile.

An iterator over the loadable sections of a PeFile.

A relocation in the .reloc section of a PE file.

An iterator over the relocation blocks in the .reloc section of a PE file.

An iterator of the relocations in a block in the .reloc section of a PE file.

The .rsrc section of a PE file.

A table of resource entries.

A resource name.

A PE rich header entry after it has been unmasked.

Parsed information about a Rich Header.

The table of section headers in a COFF or PE file.

A table of symbol entries in a COFF or PE file.

Enums

Where an export is pointing to.

A parsed import thunk.

Data associated with a resource directory entry.

A resource name or ID.

Traits

A trait for generic access to ImageNtHeaders32 and ImageNtHeaders64.

A trait for generic access to ImageOptionalHeader32 and ImageOptionalHeader64.

A trait for generic access to pe::ImageThunkData32 and pe::ImageThunkData64.

Functions

Find the optional header and read the optional_header.magic.

Type Definitions

A COMDAT section group of a PeFile32.

A COMDAT section group of a PeFile64.

An iterator over the COMDAT section groups of a PeFile32.

An iterator over the COMDAT section groups of a PeFile64.

An iterator over the sections in a COMDAT section group of a PeFile32.

An iterator over the sections in a COMDAT section group of a PeFile64.

A PE32 (32-bit) image file.

A PE32+ (64-bit) image file.

A section of a PeFile32.

A section of a PeFile64.

An iterator over the sections of a PeFile32.

An iterator over the sections of a PeFile64.

A loadable section of a PeFile32.

A loadable section of a PeFile64.

An iterator over the loadable sections of a PeFile32.

An iterator over the loadable sections of a PeFile64.