less_retarded_wiki

main page, file list (578), source, all in md+txt+html+pdf, report abuse, stats, random article, consoomer version

Compiler Bomb

Compiler bomb is a type of software bomb (similar to fork bombs, zip bombs, tar bombs etc.) exploiting compilers, specifically it's a short program (written in the compiler's programming language) which when compiled produces an extremely large compiled program (i.e. executable binary, bytecode, transpiled code etc.). Effectiveness of such a bomb can be measured as the size of output divided by the size of input. Of course compiler bombs usually have to be targeted at a specific compiler (its weaknesses, optimizations, inner mechanisms, ...), the target platform and so on, however some compiler bombs are quite universal as many compilers employ similar compiling strategies and produce similar outputs. Alternatively a compiler bomb can be defined to do other malicious things, like maximizing the amount of RAM and time needed for compilation etc.

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

Compiler bombs in various languages:


Powered by nothing. All content available under CC0 1.0 (public domain). Send comments and corrections to drummyfish at disroot dot org.