libdwarf
|
Shows just the section content in detail. More...
Functions | |
int | dwarf_get_str (Dwarf_Debug dw_dbg, Dwarf_Off dw_offset, char **dw_string, Dwarf_Signed *dw_strlen_of_string, Dwarf_Error *dw_error) |
Reading From a String Section. More... | |
Shows just the section content in detail.
int dwarf_get_str | ( | Dwarf_Debug | dw_dbg, |
Dwarf_Off | dw_offset, | ||
char ** | dw_string, | ||
Dwarf_Signed * | dw_strlen_of_string, | ||
Dwarf_Error * | dw_error | ||
) |
Reading From a String Section.
dw_dbg | The Dwarf_Debug whose .debug_str section we want to access. |
dw_offset | Pass in a a string offset. Start at 0, and for the next call pass in dw_offset plus dw_strlen_of_string plus 1. |
dw_string | On success returns a pointer to a string from offset dw_offset. Never dealloc or free this string. |
dw_strlen_of_string | On success returns the strlen() of the string. |
dw_error | On error dw_error is set to point to the error details. |