Show / Hide Table of Contents

Enum DebugDirectoryType

An image has potentially multiple entries of ImageDebugDirectory. This is the "Type" of an entry. Main source is winnt.h See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#debug-type and https://docs.microsoft.com/en-us/dotnet/api/system.reflection.portableexecutable.debugdirectoryentrytype?view=net-5.0

Namespace: PeNet.Header.Pe
Assembly: PeNet.dll
Syntax
public enum DebugDirectoryType : uint

Fields

Name Description
Borland

Reserved for Borland.

Clsid

Reserved.

CodeView

Associated PDB file description. For more information, see the specification: https://github.com/dotnet/runtime/blob/master/docs/design/specs/PE-COFF.md#codeview-debug-directory-entry-type-2

Coff

The COFF debug information (line numbers, symbol table, and string table). This type of debug information is also pointed to by fields in the file headers.

EmbeddedPortablePdb

The entry points to a blob containing Embedded Portable PDB. The Embedded Portable PDB blob has the following format:

  • blob ::= uncompressed-size data
  • Data spans the remainder of the blob and contains a Deflate-compressed Portable PDB. For more information, see the specification: https://github.com/dotnet/runtime/blob/master/docs/design/specs/PE-COFF.md#embedded-portable-pdb-debug-directory-entry-type-17
Exception

A copy of .pdata section.

ExtendedDllCharacteristics

Extended DLL characteristics bits. Raw data points to 4 bytes of type ExtendedDllCharacteristicsType

Fixup

Reserved.

FramePointerOmission

The frame pointer omission (FPO) information. This information tells the debugger how to interpret nonstandard stack frames, which use the EBP register for a purpose other than as a frame pointer. Check winnt.h for struct FPO_DATA

Iltcg
Misc

The location of DBG file.

Mpx
OMapFromSource

The mapping from an RVA in source image to an RVA in image.

OMapToSource

The mapping from an RVA in image to an RVA in source image.

PdbChecksum

The entry stores a crypto hash of the content of the symbol file the PE/COFF file was built with. The hash can be used to validate that a given PDB file was built with the PE/COFF file and not altered in any way. More than one entry can be present if multiple PDBs were produced during the build of the PE/COFF file (for example, private and public symbols). For more information, see the specification: https://github.com/dotnet/runtime/blob/master/docs/design/specs/PE-COFF.md#pdb-checksum-debug-directory-entry-type-19

Pogo

Profile guided optimization (aka PGO)

Reproducible

The presence of this entry indicates a deterministic PE/COFF file. The tool that produced the deterministic PE/COFF file guarantees that the entire content of the file is based solely on documented inputs given to the tool (such as source files, resource files, and compiler options) rather than ambient environment variables (such as the current time, the operating system, and the bitness of the process running the tool). The value of field TimeDateStamp in COFF File Header of a deterministic PE/COFF file does not indicate the date and time when the file was produced and should not be interpreted that way. Instead, the value of the field is derived from a hash of the file content. The algorithm to calculate this value is an implementation detail of the tool that produced the file. The debug directory entry of type Reproducible must have all fields, except for Type zeroed. For more information, see the specification: https://github.com/dotnet/runtime/blob/master/docs/design/specs/PE-COFF.md#deterministic-debug-directory-entry-type-16

Reserved10

Reserved.

Reserved18
Unknown

An unknown value that should be ignored by all tools.

VcFeature

5 uint values which "dumpbin /headers abc.exe" dumps as e.g.: Counts: Pre-VC++ 11.00=0, C/C++=28, /GS=28, /sdl=1, guardN=27

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX