less_retarded_wiki/compiler_bomb.md
2024-02-26 11:38:00 +01:00

390 B

Compiler Bomb

TODO

{ Found here: https://codegolf.stackexchange.com/questions/69189/build-a-compiler-bomb. ~drummyfish }

Compiler bombs in various languages:

  • C: main[-1u]={1};, creates 16 GB executable, works by defining a huge array an initializes its first element so the whole array will be explicitly stored in the executable.
  • Rust: every program :D
  • ...