microsoft / WinDbg-Samples

Sample extensions, scripts, and API uses for WinDbg.
MIT License
702 stars 118 forks source link

Symbol Builder: PDB auto import of "<unnamed-*>" symbols can result in mismatches and import failure #93

Closed wmessmer-msft closed 10 months ago

wmessmer-msft commented 10 months ago

Repro:

When doing PDB auto-import, we do lookup "by name" for types to see if someone manually created a type before we try to import one of the same "name". Unfortunately, various things assign "<unnamed-tag"> or "<unnamed-*>" to "unnamed" symbols (e.g.: non-named unions/structures/etc...).

These names aren't unique... and when we attempt to look up that "name" and find something, it's the WRONG TYPE.

wmessmer-msft commented 10 months ago

Should be fixed by PR #94