pmachata / dwgrep

a tool for querying Dwarf (debuginfo) graphs
http://pmachata.github.io/dwgrep/
GNU General Public License v3.0
53 stars 10 forks source link

Values such as DW_AT_lo_user should be available #33

Open pmachata opened 6 years ago

pmachata commented 6 years ago

Unknown attribute names are reported as e.g. DW_AT_lo_user+0x136, but it's impossible to reconstruct the value in dwgrep itself (one needs to look up what the value is in dwarf.h). Having the lo_user and hi_user values available would allow the user to say DW_AT_lo_user value 0x136 add. Bonus points if lo_user have a domain that allows arithmetic without warning, thus obviating the need for "value" in the listed expression.