Original small C programs (written for this repo — no game code) for practising matching decompilation: write C that compiles to exactly the same machine code as a given object file.
src/— originals:math_ops.c,state_machine.c,structs.cmake— builds each for x86_64, MIPS (mips-linux-gnu-gcc -O2) and PowerPC intobuild/make exercises— regeneratesexercises/<name>/{target_mips.o,solutions/}./check.sh exercises/<name> [attempt.c]— objdump diff of your attempt vs the target
Requires: make, gcc, gcc-mips-linux-gnu, gcc-powerpc-linux-gnu. MIT licensed.