laanwj / dwarf_to_c

Tool to recover C headers (types, function signatures) from DWARF debug data
Other
45 stars 12 forks source link

dose it support arm #2

Closed slowpy closed 7 years ago

slowpy commented 7 years ago

First this is a great product. When I use this for arm,I got same problem. Index error in info init .attr_index

Little Endian or Big Endian

laanwj commented 7 years ago

ARM should work, though I have never tried big endian. Your report is lacking, though. Can you send me the executable and full output at laanwj@gmail.com? (GPG key)

slowpy commented 7 years ago

yes, this commit fix my problem DW_FORM_sec_offset is always 4 bytes https://github.com/laanwj/dwarf_to_c/commit/ccdc482ddd0dd2cd18c4b273e7bd6163954af0e5