diff options
-rw-r--r-- | bomb.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -1,9 +0,0 @@ | |||
1 | #include <stdint.h> | ||
2 | #include <stdlib.h> | ||
3 | |||
4 | #define SZ 1024ull*1024ull*1024ull*16ull | ||
5 | int main() { | ||
6 | char* ptr = malloc(SZ); | ||
7 | for (uint64_t i = 0; i < SZ; i+=4096) | ||
8 | ptr[i] = i; | ||
9 | } | ||