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

Decompress section data prior to use #10

Merged
merged 1 commit into from
Dec 31, 2022

Conversation

bobrik
Copy link
Contributor

@bobrik bobrik commented Dec 31, 2022

This doesn't matter for .eh_frame, but it does matter to dwarf data, which is often compressed. Accessing uncompressed data will result in a silent failure in framehop:

This doesn't matter for `.eh_frame`, but it does matter to dwarf
data, which is often compressed. Accessing uncompressed data will
result in a silent failure in `framehop`:

* https://github.com/mstange/framehop/blob/v0.7.2/src/unwinder.rs#L575
@mstange
Copy link
Owner

mstange commented Dec 31, 2022

Thanks! Yeah, the silent discarding of the error in framehop is not great.

@mstange mstange merged commit 0c34833 into mstange:main Dec 31, 2022
vvuk pushed a commit to vvuk/samply that referenced this pull request Apr 24, 2024
vvuk pushed a commit to vvuk/samply that referenced this pull request Apr 24, 2024
This notably enables Microsoft-Windows-Win32k which has struct
properties which may have allowed us to catch issue mstange#10 in CI
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.

2 participants