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.
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.