getsentry / pdb

A parser for Microsoft PDB (Program Database) debugging information
https://docs.rs/pdb/
Apache License 2.0
385 stars 69 forks source link

Expose the DBI age field #44

Closed jan-auer closed 5 years ago

jan-auer commented 5 years ago

The age exposed in the PDBI header is often times bumped more than the original image's age was. This means that they are no longer an exact match, which complicates matching an image to its PDB.

Microsoft's own tools prefer the DBI age and only fall back to the PDBI age if it is zero (indicating that no age is specified for old PDBs).

This PR exposes the new age value and adds some more information on how to use this value.

willglynn commented 5 years ago

Thanks!