OpenVPN
|
Go to the source code of this file.
Functions | |
void | leak_memory () |
void | buffer_overflow () |
void | buffer_underflow () |
static void | leak_memory_test (void **state) |
static void | buffer_overflow_test (void **state) |
static void | buffer_underflow_test (void **state) |
int | main (void) |
void buffer_overflow | ( | ) |
Definition at line 45 of file allocate_module.c.
Referenced by buffer_overflow_test().
|
static |
Definition at line 33 of file allocate_module_test.c.
References buffer_overflow().
Referenced by main().
void buffer_underflow | ( | ) |
Definition at line 51 of file allocate_module.c.
Referenced by buffer_underflow_test().
|
static |
Definition at line 40 of file allocate_module_test.c.
References buffer_underflow().
Referenced by main().
void leak_memory | ( | ) |
Definition at line 40 of file allocate_module.c.
References malloc.
Referenced by leak_memory_test().
|
static |
Definition at line 26 of file allocate_module_test.c.
References leak_memory().
Referenced by main().
int main | ( | void | ) |
Definition at line 46 of file allocate_module_test.c.
References buffer_overflow_test(), buffer_underflow_test(), cmocka_run_group_tests, cmocka_unit_test, and leak_memory_test().