Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
xenocryst
A brainfuck interpreter written for memcpy(). Read the paper (or source) for more details.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
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.
For those interested in more Turing complete format strings, look no further than the "sprint" challenge from this years Google CTF: https://ctftime.org/task/12834. It's sprintf in a loop this time and the program simulates a maze: https://github.com/google/google-ctf/tree/master/2020/quals/...
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...
https://github.com/ajyoon/systemf
You are looking for ELVM: https://github.com/shinh/elvm/
Related posts
- Announcing playCTF - An open source Jeopardy style CTF creation and management platform!
- Computer Science Major looking for white hat (preferred) hackers that have respect for women in the CS Industry.
- Host your own CTF for free 💸 (CTFd Setup Guide)
- How to keep an HTTP connection alive for 9 hours
- Creating Competition Platforms