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. Cheers, Mark
