libdwarf that allocates and frees memory through user-specified functions
C Objective-C++ C++ Shell Other Python Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dwarfdump
dwarfexample
dwarfgen
libdwarf
tsearch
BLDLIBDWARF
BLDLIBDWARFTAR
BLDTESTDIR
CLEANUP
CPTOPUBLIC
CREATINGARELEASE
Makefile.in
NEWS
README
README.original_libdwarf
REBLDLIBDWARF
SETUP_MASTER_TREE
SMBLDLIBDWARF
UPD.awk
UPDATEDWARFDUMPVERSION.sh
config.h.in
configure
configure.in
configure_shared_nonoptimized.sh
example.cc
install.sh

README

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