Skip to content

Decompress section data prior to use#10

Merged
mstange merged 1 commit into
mstange:mainfrom
bobrik:ivan/decompress-sections
Dec 31, 2022
Merged

Decompress section data prior to use#10
mstange merged 1 commit into
mstange:mainfrom
bobrik:ivan/decompress-sections

Conversation

@bobrik

@bobrik bobrik commented Dec 31, 2022

Copy link
Copy Markdown
Contributor

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

mstange commented Dec 31, 2022

Copy link
Copy Markdown
Owner

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