dotnet / symstore

Implements API for retrieval of symbols and other debug artifacts from symbol store.
MIT License
143 stars 50 forks source link

Fix overflow on certain ELF symbol files #423

Closed mikem8361 closed 1 year ago

mikem8361 commented 1 year ago

The problem is that the program header NOTE file offset is incorrectly the virtual offset.

This is fixed by falling back to getting the build id from the Section headers when reading the program header NOTE overflows or fails.