test whole program

This commit is contained in:
2025-08-11 12:55:16 +01:00
parent d168a2446e
commit 36128e6d7f

View File

@@ -137,10 +137,10 @@ static char *heap_start;
static char *heap;
static size_t HEAP_SIZE = 1024 * 1024 * 1024;
void *ptr;
int MallocCounter = 0;
static void *ptr;
static int MallocCounter = 0;
size_t sizeUsed;
static size_t sizeUsed;
// INITAlloc(void) {
@@ -198,7 +198,7 @@ pagesizes(size_t ps[MAXPAGESIZES])
}
void __attribute__ ((constructor)) INITREGULARALLOC(void) {
__attribute__ ((constructor)) void INITREGULARALLOC(void) {
size_t sz;
// Pre Allocate 400 MB
sz = 1073741824;