Main index | Section 3 | Options |
#include <libdwarf.h>
Argument dbg should be a handle to a valid Dwarf_Debug instance returned by a prior call to dwarf_init(3) or dwarf_elf_init(3).
Argument elf points a location into which a handle to an Elf descriptor will be written.
Argument err is used to record error information in case of failure.
Dwarf_Debug dbg; Dwarf_Error de; Elf *elf;amp;... allocate dbg using dwarf_init() etc ...
if (dwarf_get_elf(dbg, &elf, &de) != DW_DLV_OK) errx(EXIT_FAILURE, "dwarf_get_elf: %s", dwarf_errmsg(de));
DWARF_GET_ELF (3) | November 9, 2011 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Computer science would have progressed much further and faster if all of the time and effort that has been spent maintaining and nurturing Unix had been spent on a sounder operating system. | ” |
— The Unix Haters' handbook |