diff --git a/test/simple-memory-corruption/double_free_large.c b/test/simple-memory-corruption/double_free_large.c index 0c7412b..3802af0 100644 --- a/test/simple-memory-corruption/double_free_large.c +++ b/test/simple-memory-corruption/double_free_large.c @@ -3,7 +3,7 @@ #include "../test_util.h" OPTNONE int main(void) { - void *p = malloc(128 * 1024); + void *p = malloc(256 * 1024); if (!p) { return 1; } diff --git a/test/simple-memory-corruption/double_free_large_delayed.c b/test/simple-memory-corruption/double_free_large_delayed.c index f367590..ef0d4b8 100644 --- a/test/simple-memory-corruption/double_free_large_delayed.c +++ b/test/simple-memory-corruption/double_free_large_delayed.c @@ -3,11 +3,11 @@ #include "../test_util.h" OPTNONE int main(void) { - void *p = malloc(128 * 1024); + void *p = malloc(256 * 1024); if (!p) { return 1; } - void *q = malloc(128 * 1024); + void *q = malloc(256 * 1024); if (!q) { return 1; } diff --git a/test/simple-memory-corruption/read_after_free_large.c b/test/simple-memory-corruption/read_after_free_large.c index 0301e14..cec3e9b 100644 --- a/test/simple-memory-corruption/read_after_free_large.c +++ b/test/simple-memory-corruption/read_after_free_large.c @@ -5,13 +5,13 @@ #include "../test_util.h" OPTNONE int main(void) { - char *p = malloc(128 * 1024); + char *p = malloc(256 * 1024); if (!p) { return 1; } memset(p, 'a', 16); free(p); - for (size_t i = 0; i < 128 * 1024; i++) { + for (size_t i = 0; i < 256 * 1024; i++) { printf("%x\n", p[i]); if (p[i] != '\0') { return 1; diff --git a/test/simple-memory-corruption/unaligned_free_large.c b/test/simple-memory-corruption/unaligned_free_large.c index 10c7874..73c469b 100644 --- a/test/simple-memory-corruption/unaligned_free_large.c +++ b/test/simple-memory-corruption/unaligned_free_large.c @@ -3,7 +3,7 @@ #include "../test_util.h" OPTNONE int main(void) { - char *p = malloc(128 * 1024); + char *p = malloc(256 * 1024); if (!p) { return 1; } diff --git a/test/simple-memory-corruption/uninitialized_read_large.c b/test/simple-memory-corruption/uninitialized_read_large.c index 05e58fc..57fa3ec 100644 --- a/test/simple-memory-corruption/uninitialized_read_large.c +++ b/test/simple-memory-corruption/uninitialized_read_large.c @@ -3,7 +3,7 @@ #include "../test_util.h" OPTNONE int main(void) { - char *p = malloc(128 * 1024); + char *p = malloc(256 * 1024); for (unsigned i = 0; i < 8; i++) { if (p[i] != 0) { return 1; diff --git a/test/simple-memory-corruption/write_after_free_large.c b/test/simple-memory-corruption/write_after_free_large.c index d46cc0d..1ff446e 100644 --- a/test/simple-memory-corruption/write_after_free_large.c +++ b/test/simple-memory-corruption/write_after_free_large.c @@ -4,7 +4,7 @@ #include "../test_util.h" OPTNONE int main(void) { - char *p = malloc(128 * 1024); + char *p = malloc(256 * 1024); if (!p) { return 1; } diff --git a/test/simple-memory-corruption/write_after_free_large_reuse.c b/test/simple-memory-corruption/write_after_free_large_reuse.c index 3af225e..e558298 100644 --- a/test/simple-memory-corruption/write_after_free_large_reuse.c +++ b/test/simple-memory-corruption/write_after_free_large_reuse.c @@ -4,12 +4,12 @@ #include "../test_util.h" OPTNONE int main(void) { - char *p = malloc(128 * 1024); + char *p = malloc(256 * 1024); if (!p) { return 1; } free(p); - char *q = malloc(128 * 1024); + char *q = malloc(256 * 1024); p[64 * 1024 + 1] = 'a'; return 0; }