A rewriting of the elfdump utility

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

A rewriting of the elfdump utility

Kai Wang
Hi there,

This patch is a rewriting of elfdump utility using the libelf library.
Major improvements include:

* Support for extended numbering.
* Support for symbol hash table dump.

It also fixes several bugs of the old elfdump when handling 64bit ELF
binary.

Test I've done:

1. make universe
2. apply both the old elfdump and the new one to the
   huge amount of ".o" and executables produced by the
   "make universe" and compare the results.

The patch has been reviewed by jkoshy@ and I think it may be
time for a public review.

(patch against /usr/src/usr.bin/elfdump in -CURRENT)

Thank you!

Best Regards,
Kai Wang


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"

elfdump.diff (41K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: A rewriting of the elfdump utility

Marcel Moolenaar-4

On Mar 20, 2007, at 7:51 AM, Kai Wang wrote:

> This patch is a rewriting of elfdump utility using the libelf library.

Looks good! There are some minor nits here and there, but nothing
that should block this code from hitting the tree, IMO.

--
Marcel Moolenaar
[hidden email]


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"