#include <libcwd/class_alloc.h>
#include <libcwd/lockable_auto_ptr.h>
#include <libcwd/class_marker.h>
#include <libcwd/config.h>
#include <libcwd/macro_AllocTag.h>
Go to the source code of this file.
Namespaces | |
namespace | libcwd |
Enumerations | |
enum | libcwd::malloc_report_nt { libcwd::malloc_report } |
Type of malloc_report. More... | |
Functions | |
size_t | libcwd::mem_size (void) |
Returns the total number of allocated bytes. | |
unsigned long | libcwd::mem_blocks (void) |
Returns the total number of allocated memory blocks. | |
alloc_ct const * | libcwd::find_alloc (void const *ptr) |
Find information about a memory allocation. | |
bool | libcwd::test_delete (void const *void_ptr) |
Test if a pointer points to the start of an allocated memory block. | |
void | libcwd::make_invisible (void const *void_ptr) |
Make allocation pointed to by ptr invisible. | |
void | libcwd::make_all_allocations_invisible_except (void const *ptr) |
Make all current allocations invisible except the given pointer. | |
void | libcwd::make_exit_function_list_invisible (void) |
Make allocations done in libc.so:__new_exitfn invisible. | |
void | libcwd::set_invisible_on (void) |
Make all future allocations invisible. | |
void | libcwd::set_invisible_off (void) |
Cancel a call to set_invisible_on. | |
void | libcwd::move_outside (marker_ct *marker, void const *void_ptr) |
Move memory allocation pointed to by ptr outside marker. | |
unsigned long | libcwd::list_allocations_on (debug_ct &debug_object, alloc_filter_ct const &filter) |
List all current allocations to a given debug object using a specified format. | |
unsigned long | libcwd::list_allocations_on (debug_ct &debug_object) |
List all current allocations to a given debug object. |