Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Correctly read the debug_id of Deterministic PE files #658

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

Swatinem
Copy link
Member

Deterministic PE files have a slightly different way of storing their debug_id, which
should match the corresponding ID inside a portable pdb #Pdb stream.

See https://github.com/dotnet/runtime/blob/main/docs/design/specs/PE-COFF.md#codeview-debug-directory-entry-type-2

@Swatinem Swatinem requested a review from a team August 10, 2022 14:14
@codecov
Copy link

codecov bot commented Jan 13, 2023

Codecov Report

Merging #658 (79ee40f) into master (4bcee25) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 79ee40f differs from pull request most recent head f978ae6. Consider uploading reports for the commit f978ae6 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #658   +/-   ##
=======================================
  Coverage   73.80%   73.81%           
=======================================
  Files          69       69           
  Lines       14875    14876    +1     
=======================================
+ Hits        10979    10980    +1     
  Misses       3896     3896           

Deterministic PE files have a slightly different way of storing their `debug_id`, which
should match the corresponding ID inside a portable pdb `#Pdb` stream.

See https://github.com/dotnet/runtime/blob/main/docs/design/specs/PE-COFF.md#codeview-debug-directory-entry-type-2
@Swatinem Swatinem merged commit 0aab513 into master Jan 31, 2023
@Swatinem Swatinem deleted the fix/ppdb-id branch January 31, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants