eliben / pyelftools

Parsing ELF and DWARF in Python
Other
1.99k stars 508 forks source link

Fix rangesautotest #504

Closed sevaa closed 11 months ago

sevaa commented 11 months ago

The readelf in this one was built from the latest binutils' master.

The purpose of this was to remove the two file exception from the readelf..ranges test. In order to do that, I had to bring the rnglists section dump in line with what's in the latest GNU readelf master. The catch is that the rnglists section dump in GNU readelf was revised by me in https://sourceware.org/bugzilla/show_bug.cgi?id=30792 .

I'm not sure anymore what are we testing here.

It speaks to the viability of readelf as a reference implementation that the GNU binutils maintainers didn't get to it before I did.

The calling convention enum is just something I've noticed along the way and fixed.