An unsafe brainfuck interpreter. It uses stack as memory directly.
- Simple code
- Dynamically allocated large memory
- A little fast
- Allows RCE for attacker
- Non portable (It depends on POSIX read and write functions that do not use stack.)
gcc main.c -o unsafebf
./unsafebf "Some bf code"
This software depends on the implementation heavily. I confirmed it works in x86_64 and -O3 flags.