gimli-rs / addr2line

A cross-platform `addr2line` clone written in Rust, using `gimli`
https://docs.rs/addr2line
Apache License 2.0
315 stars 62 forks source link

Add tests for tombstones #328

Closed philipc closed 2 months ago

philipc commented 2 months ago

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.