printbf
xenocryst
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
printbf
-
Few lesser known tricks, quirks and features of C
Somewhat related to this, printf alone in a loop is Turing-complete, by using %-directives like that. It was introduced in “Control-Flow Bending: On the Effectiveness of Control-Flow Integrity” (Carlini, et al. 2015) and the authors have implemented Brainfuck and an obfuscated tic-tac-toe with it.
[0]: https://nebelwelt.net/publications/files/15SEC.pdf
[1]: https://github.com/HexHive/printbf
[2]: https://github.com/carlini/printf-tac-toe
-
Controling a Super-Intelligent AI is Impossible, Says Researchers
No shit, you can write a brainfuck interpretter in printf statements: https://github.com/HexHive/printbf
-
The International Obfuscated C Code Contest 2020 winners
https://github.com/HexHive/printbf
well this is a brainfuck interpreter inside printf. I’m pretty sure there are plenty of c-to-bf transpilers.
xenocryst
-
The International Obfuscated C Code Contest 2020 winners
That was my approach for an analogous program that uses memcpy instead of printf. I didn't go with the jit-style you describe, however. If you're curious here's how I setup the syscalls https://github.com/jcande/xenocryst/blob/master/src/gadgets.... and here's the main loop https://github.com/jcande/xenocryst/blob/master/src/exec.c#L...
What are some alternatives?
OWASP-Xenotix-XSS-Exploit-Framework - OWASP Xenotix XSS Exploit Framework is an advanced Cross Site Scripting (XSS) vulnerability detection and exploitation framework.
elvm - EsoLangVM Compiler Infrastructure
printf-tac-toe - tic-tac-toe in a single call to printf
google-ctf - Google CTF
turing - A reference implementation of Alan Turing's 1936 paper, On Computable Numbers
systemf - a brainfuck interpreter supporting linux syscalls with an example HTTP server
turing_machine - A simple C program to emulate two symbol turing machine
libwheel - Generic data structures for the C programming language with (near) zero overhead.
color-flood-for-amstrad-cpc - A puzzle game for 2 to 4 player. Written in portable C as an experiment: can a program with non-trivial algorithmic logic be compiled and run on an 8-bit platform? Answer: yes.