This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Rerequesting dwarf_tag on a die with invalid abbrev code
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 16 Mar 2011 18:13:52 +0100
- Subject: Rerequesting dwarf_tag on a die with invalid abbrev code
Hi,
this is similar to the fix that I did recently for rerequesting
dwarf_tag for DIE with zero abbrev code, except this time the DIE has
non-zero invalid code. On such a DIE, the following SEGVs libdw:
die = dwarf_offdie (dw, 11, &die_mem);
dwarf_tag (die);
die = dwarf_offdie (dw, 11, &die_mem)
dwarf_tag (die);
The fix and a test case are on pmachata/rerequest-tag.
Thanks,
PM