#include "config.h"
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <inttypes.h>
#include "backtrace.h"
#include "internal.h"
#include "alloc.c"
Go to the source code of this file.
◆ malloc
◆ realloc
◆ at_fail_alloc_p()
| int at_fail_alloc_p |
( |
void |
| ) |
|
|
extern |
◆ get_nr_allocs()
| uint64_t get_nr_allocs |
( |
void |
| ) |
|
|
extern |
◆ instrumented_malloc()
| void * instrumented_malloc |
( |
size_t |
size | ) |
|
|
extern |
◆ instrumented_realloc()
| void * instrumented_realloc |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
|
extern |
◆ set_fail_at_alloc()
| void set_fail_at_alloc |
( |
uint64_t |
nr | ) |
|
|
extern |
◆ fail_at_alloc
| uint64_t fail_at_alloc = 0 |
|
static |
◆ nr_allocs