libdwarf
|
Functions | |
DW_API 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, and in a few cases such is not provided. The functions doing allocations tell you which dealloc to use. | |
Works for most dealloc needed.
For easier to use versions see the following
DW_API 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, and in a few cases such is not provided. The functions doing allocations tell you which dealloc to use.
dw_dbg | Must be a valid open Dwarf_Debug. and must be the dw_dbg that the error was created on. If it is not the dealloc will do nothing. |
dw_space | Must be an address returned directly by a libdwarf call that the call specifies as requiring dealloc/free. If it is not a segfault or address fault is possible. |
dw_type | Must be a correct naming of the DW_DLA type. If it is not the dealloc will do nothing. |