Red Hat Bugzilla – Bug 236082
Provided public interfaces are insufficient
Last modified: 2007-11-30 17:12:01 EST
I failed to figure out how to provide elfutils based ps_pglobal_lookup() for
libthread_db. There is no way how to find a specific `Dwfl_Module *' according
to its name or even just to iterate all of them looking for a global symbol name.
There is a problem all the elfutils structures are private and not much info is
exposed in the public /usr/include/elfutils/* interfaces.
As a first step I would like to see at least `src/readelf.c' implemented without
any "../lib*/*P.h" hacks - eu-readelf(1) is very innocent package with should be
implementable as a 3rd party application based on elfutils libraries.
Either just moving the structures to the public space or providing some public
iterators/getters would be needed.
I can even implement some of the code but some proposed interfaces would be
If such global request for public eu-readelf(1) does not make sense to you I may
try to start requesting specific public interface features.
A vague bug like this is not helpful, and bugzilla is not a good way to discuss
interface issues and contemplate features. We can discuss by email what you
need in particular, and when it reaches the point of concrete additions to serve
clear needs, there can be bugzilla entries for individual features as needed for