Fuzzing elfutils

Mark Wielaard mjw at redhat.com
Mon Dec 8 09:14:21 UTC 2014

On Mon, 2014-12-08 at 04:01 +0300, Alexander Cherepanov wrote:
> On 2014-12-04 19:03, Mark Wielaard wrote:
> > Good news, the asserts from readelf-asserts.tar.gz don't trigger anymore
> > and the command seems to run fine.
> Sorry, I'm still seeing "readelf: readelf.c:7751: 
> print_debug_exception_table: Assertion `readp == action_table' failed." 
> on 437b7cf1.

Right, sorry, I didn't include -e in my tests.
The assert is "right" the Action Table should immediately follow the
Call site table. But we should just report invalid data if that isn't
the case instead of asserting.

Patch attached (and on the mjw/pending branch).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-readelf-Report-invalid-data-if-action-table-doesn-t-.patch
Type: text/x-patch
Size: 1363 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/elfutils-devel/attachments/20141208/94f97455/attachment.bin>

More information about the elfutils-devel mailing list