Tim Schumacher
e62269650a
LibDebug: Propagate errors throughout DWARF parsing
...
Splitting this into a separate commit was an afterthought, so this does
not yet feature any fallible operations.
2023-01-22 19:12:26 +01:00
Tim Schumacher
e235c42e4d
LibDebug: Parse DWARF address ranges using Core::Stream
2023-01-22 19:12:26 +01:00
Ali Mohammad Pur
e0db9cb876
LibDebug+LibCoredump: Replace remaining reinterpret_casts and C casts
...
You misused your toys and I'm now taking them away, reflect on what you
did wrong for a bit.
2022-01-28 22:51:27 +00:00
Daniel Bertalan
815f15f82c
LibDebug: Handle DWARF 4 address ranges
...
The format of the address range section is different between DWARF
version 4 and version 5. This meant that we parsed programs compiled
with `-gdwarf-4` incorrectly.
2021-12-15 10:27:12 -08:00
Daniel Bertalan
622d408d82
LibDebug: Make use of the newly supported data forms
...
With this change, our DWARF 5 support is nearly feature-complete.
2021-10-17 17:09:58 +01:00
Andreas Kling
6b2e4f896b
LibDebug: Add missing break
in AddressRanges::for_each_range()
2021-09-28 18:05:42 +02:00
Itamar
26a96d315d
LibDebug: Support parsing non-contiguous DWARF address ranges
...
This adds support for parsing DWARF "range lists", which are identified
by the DW_AT_ranges form.
They contain code addresses for DIEs whose location is not contiguous.
2021-09-28 16:54:39 +02:00