*/
{
int errv;
if (errv != DW_DLV_OK) {
return errv;
}
for (i = 0; i < atcount; ++i) {
const char *attrname = 0;
if (errv != DW_DLV_OK) {
return errv;
}
printf("Attribute[%ld], value %u name %s\n",
(long int)i,attrnum,attrname);
atlist[i] = 0;
}
return DW_DLV_OK;
}
int dwarf_get_AT_name(unsigned int dw_val_in, const char **dw_s_out)
dwarf_get_AT_name
struct Dwarf_Debug_s * Dwarf_Debug
Definition: libdwarf.h:603
struct Dwarf_Die_s * Dwarf_Die
Definition: libdwarf.h:608
struct Dwarf_Error_s * Dwarf_Error
Definition: libdwarf.h:597
struct Dwarf_Attribute_s * Dwarf_Attribute
Definition: libdwarf.h:658
signed long long Dwarf_Signed
Definition: libdwarf.h:197
unsigned short Dwarf_Half
Definition: libdwarf.h:203
void dwarf_dealloc(Dwarf_Debug dw_dbg, void *dw_space, Dwarf_Unsigned dw_type)
The generic dealloc (free) function. It requires you know the correct DW_DLA value to pass in,...