Open
Description
Nuget’s symbol server requires clients to know up-front the SHA256 hash of the PDB they’re requesting -- not just the usual PDB signature stuff (because that’s too weak, cryptographically). The SHA256 hash is included in the PE header's debug directory. If you’re working with a live process or a dump, you can read the relevant debug directory out of the loaded module's PE header. However, if you’re starting with a perf trace, you don’t have it.
The Loader's ModuleDCStart and ModuleDCStop events include the "CodeView" PDB signature and age. Could we augment that event to emit the new checksum algorithm and value -- possibly enabled via a new keyword for backwards compatibility?