merge from dev-trace

This commit is contained in:
daan 2022-01-10 16:23:57 -08:00
commit 99c113d573
142 changed files with 3301 additions and 1807 deletions

View file

@ -52,7 +52,7 @@ int main() {
strdup_test();
// corrupt_free();
//test_mt_shutdown();
test_mt_shutdown();
//fail_aslr();
bench_alloc_large();
mi_stats_print(NULL);
@ -78,7 +78,7 @@ public:
static void various_tests() {
atexit(free_p);
void* p1 = malloc(78);
void* p2 = mi_malloc_aligned(16, 24);
void* p2 = mi_malloc_aligned(24, 16);
free(p1);
p1 = malloc(8);
char* s = mi_strdup("hello\n");