MOS Source Code
|
#include <stdlib.h>
Go to the source code of this file.
Functions | |
void * | malloc_with_check (size_t size) |
void | free_with_check (void *mem) |
void * | realloc_with_check (void *ptr, size_t size) |
size_t | get_alloc_count () |
size_t | get_allocation_size (const void *mem) |
size_t | get_alloc_bytes () |
void | set_max_alloc_bytes (size_t max_bytes) |
size_t | get_max_alloc_bytes () |
Definition at line 54 of file malloc_wrappers.c.
Referenced by do_callback_decode(), do_decode(), do_roundtrip(), do_stream_decode(), generate_base_message(), main(), rand_protobuf_noise(), realloc_with_check(), and run_iteration().
Definition at line 81 of file malloc_wrappers.c.
Referenced by do_callback_decode(), do_decode(), do_roundtrip(), do_stream_decode(), generate_base_message(), main(), rand_protobuf_noise(), realloc_with_check(), and run_iteration().
size_t get_alloc_count | ( | ) |
Definition at line 162 of file malloc_wrappers.c.
Referenced by do_callback_decode(), do_decode(), do_roundtrips(), do_stream_decode(), main(), run_iteration(), test_OneofMessage(), and test_TestMessage().
Definition at line 168 of file malloc_wrappers.c.
Referenced by validate_pointer().
size_t get_alloc_bytes | ( | ) |
Definition at line 175 of file malloc_wrappers.c.
Referenced by do_roundtrips().
Definition at line 181 of file malloc_wrappers.c.
Referenced by do_roundtrips(), and main().
size_t get_max_alloc_bytes | ( | ) |
Definition at line 186 of file malloc_wrappers.c.
Referenced by do_roundtrips().