getsentry / pdb

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

Expose the machine type from the DBI stream #28

Closed jan-auer closed 5 years ago

jan-auer commented 5 years ago

This exposes machine_type from the DBI header as enum.

Since I wasn't able to find an enumeration of possible values in the microsoft-pdb repo, I pulled a list from LLVM.

jan-auer commented 5 years ago

Ah, apparently the original enumeration is called IMAGE_FILE_MACHINE: https://docs.microsoft.com/en-us/previous-versions/mt804320(v%3Dvs.85)

willglynn commented 5 years ago

Thanks!