Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This version of libdwarf allocates and frees memory through user-specified functions.
The only difference in the API is that the dwarf_init function takes now three extra parameters:
int dwarf_init(int fd,
Dwarf_Unsigned access,
Dwarf_Handler errhand,
Dwarf_Ptr errarg,
Dwarf_Debug * ret_dbg,
Dwarf_Error * error,
MallocFunction *malloc_function,
CallocFunction *calloc_function,
FreeFunction *free_function);
For more details, visit: http://blog.debiatan.net/libdwarf_with_custom_memory_allocators.html