1
0

thesis: Complete 2.2

This commit is contained in:
2025-07-14 17:26:24 +02:00
parent 2b384aeecc
commit 846a0c49c4
6 changed files with 150 additions and 43 deletions

10
thesis/listings/wrap.c Normal file
View File

@@ -0,0 +1,10 @@
#include <stddef.h>
extern void *__real_malloc(size_t size);
void *__wrap_malloc(size_t size) {
// before call to malloc
void *ret = __real_malloc(size);
// after call to malloc
return ret;
}