This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH 1/2] Show contents NT_SIGINFO core note in readelf
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 02 Oct 2013 11:18:07 +0200
- Subject: Re: [PATCH 1/2] Show contents NT_SIGINFO core note in readelf
On Tue, 2013-10-01 at 10:44 -0700, Roland McGrath wrote:
> I'm not very happy about readelf encoding all this format knowledge.
> That's what we have libebl for. If the Ebl_Core_Item format needs to be
> extended to handle these new note types, then that is what we should be
> doing rather than hard-coding format knowledge in readelf.
In theory I agree. But we do often make readelf do low-level reading of
"raw info" itself and put a more higher level parser into one of the
user libraries. Currently readelf is the only ebl_core_note () user. And
Petr already indicated that if there is a usage outside readelf for
these notes then he would create something for ebl. Lets first come up
with a second user for Ebl_Core_Item before extending it.