Skip to content

Request: Add PDB checksum (type 19) to ModuleDCStart/ModuleDCStop events #71644

Open
@pharring

Description

@pharring

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Tracing-coreclrenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions