test whole program

This commit is contained in:
2024-12-30 13:01:00 +00:00
parent 38154796a5
commit 40fa599be4

View File

@@ -199,7 +199,7 @@ void* MALLOCCHERI(size_t sz)
printf("%d Malloc counter new\n", MallocCounter); printf("%d Malloc counter new\n", MallocCounter);
void *ptrLink = &ptr[MallocCounter]; void *ptrLink = &ptr[MallocCounter];
ptrLink = cheri_setbounds(ptrLink, sz); ptrLink = cheri_bounds_set(ptrLink, sz);
return ptrLink; return ptrLink;