Module pe_parser::optional

source ·
Expand description

Optional header definitions and helper functions

Structs

  • Bitflags that contain various information about how a given DLL should be loaded.
  • Struct containing basic information (address and size) of each table.
  • Each data directory gives the address and size of a table or string that Windows uses. These data directory entries are all loaded into memory so that the system can use them at run time. A data directory is an 8-byte field that has the following declaration:
  • PE32 Optional Header (Image Only)
  • PE32+ Optional Header (Image Only)

Enums

  • Magic values that determine if an Optional Header is PE32 (32-bit) or PE32+ (64-bit)
  • The following values defined for the Subsystem field of the optional header determine which Windows subsystem (if any) is required to run the image.

Traits

  • Helper functions for optional header structs