[Dwarf-discuss] Newbie

Mathieu Lacage Mathieu.Lacage
Tue Apr 19 14:43:30 GMT 2005


On Mon, 2005-04-18 at 13:38 -0700, mihai manta wrote:
> Hello.
> I am trying to make a program using dwarf in order to
> get debug info at runtime. I have the standard dwarf
> specification but I'd appreciate if somebody could
> show me where I could find working examples of
> programs using dwarf.

http://www-sop.inria.fr/dream/personnel/Mathieu.Lacage/bozo-profiler/

That code contains a GPLed dwarf2 reader. It might be considered
slightly simpler than the readelf code and should be quite portable
(although I never tried it on anything but an x86).

regards,
Mathieu





More information about the Dwarf-discuss mailing list