stephenrkell / libdwarfpp

A high-level API for accessing DWARF debugging information, in C++
http://www.cl.cam.ac.uk/~srk31/
Other
23 stars 12 forks source link

Ensure PT_GNU_EH_FRAME program header has non-zero size #17

Closed jryans closed 5 years ago

jryans commented 5 years ago

With Ubuntu 18.04, I appear to have libc debug info that has a PT_GNU_EH_FRAME program header, but with a file size 0, which I assume is invalid. Instead of crashing, this ignores the program header.

jryans commented 5 years ago

(So happy to see the green check from CI here!) 😄

In case you're curious, I am working up to a PR with CircleCI support in liballocs. This PR is some prep work for that.

stephenrkell commented 5 years ago

Great -- thanks!