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

Add tests for tombstones #328

Merged
merged 1 commit into from
Sep 15, 2024
Merged

Add tests for tombstones #328

merged 1 commit into from
Sep 15, 2024

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Sep 11, 2024

This covers some but not all cases of tombstones.
In particular, we don't have a test for a DW_LNE_set_address tombstone in the middle of a line number sequence.

This also handles an integer overflow for a tombstone address in DW_AT_low_pc. We already did the right thing in release builds.

@philipc philipc force-pushed the tombstone branch 3 times, most recently from c546860 to 66519e6 Compare September 11, 2024 02:29
This covers some but not all cases of tombstones.
In particular, we don't have a test for a DW_LNE_set_address
tombstone in the middle of a line number sequence.

This also handles an integer overflow for a tombstone address
in DW_AT_low_pc. We already did the right thing in release builds.
@philipc philipc merged commit 3989031 into gimli-rs:master Sep 15, 2024
12 checks passed
@philipc philipc deleted the tombstone branch September 15, 2024 02:37
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.

1 participant