Show HN: Compile C to Not Gates

(github.com)

Comments

bangaladore 9 hours ago
Reminds me of movfuscator [1]. This can compile programs to movs and only movs.

[1] https://github.com/Battelle/movfuscator

tromp 8 hours ago
Am I right in deducing that this language gets its power from self-modifying code? I.e. flipping bits within addresses of the opcodes of the running program?
tomhee 9 hours ago
There is also a brainfuck to flipjump compiler: https://github.com/tomhea/bf2fj
jkrshnmenon 7 hours ago
I wonder if someone has already made a Reverse Engineering CTF challenge for this concept.
pizza 6 hours ago
Ah interesting.. wonder if you can model this with a recursively expanded algebraic expression. I've been thinking lately along similar lines about polynomials that encode pushdown automata, so this is cool to see.
tonetegeatinst 5 hours ago
Looking forward to the poor security researcher who gets to reverse engineer some malware sample they compiles this into for obfuscation... Its going to be an interesting blog post.
dlcarrier 7 hours ago
Maxim (now owned by Analog) actually manufactures a single-instruction processor series, called MAXQ. It uses a single move instruction, with a flag for literals, and a transport triggered architecture.
tomhee 8 hours ago
By the way, as a challenge, try how you can program an "If" statement in Flipjump.
platz 8 hours ago
How is a jump realized by Not Gates?
jumploops 7 hours ago
AND, OR, NOT - pick 2
artemonster 7 hours ago
Id appreciate more explanations from the power of combined bitflip & goto
dang 9 hours ago
Looks like we banned you and this domain because of the egregious vote manipulation and bogus comments at https://news.ycombinator.com/item?id=34856792.

That was a long time ago, though, and the project is interesting enough, so I'm going to assume you've learned your lesson and unban you. Please stop using multiple accounts for this though!