Milton D. Miller II

Results 47 comments of Milton D. Miller II

The error says the requested offset is beyond the size of the .debug_info section. Please compare the section headers parsed by pyelftools with readelf. (The server for your linked binary...

@sach-edna I guess I should take that as a prod. The PR was generated when @eliben was in a limited time phase, and the commit was tangled with other commits...

Also be aware that a variables declared (eg in a `.h` file) separately from their instantiation (in `.c`) may have the name on the declaration DIE and a reference to...

You need to take the form of the ref into account. If its not of form `DW_FORM_refaddr`, you need to add `cu['cu_offset']` to it.

Also be aware that even though the dwarf info is read into python memory buffers, the parse_structs api is built around reading file descriptors for each section so the parallelizaton...

I've also noticed that decoding the string table could be quite slow. As I remember (years ago) I could parse through top level objects in a cu faster than building...

> There's no random CU access, so you can't search by bisection, you'd have to scroll through. > Then you have to scroll through the DIEs in the CU that...

My reading of the spec is the order is significant. I would write this as: 1. get location list from die 2. get base address attribute from die (may be...

The algorithm you posted is an accurate transcription of my description. I don't have time at present to re-read the spec or compare other sources to see if you have...