Re:Best of show – abuse of libc
by alisonkisk on Friday January 08, 2021 @05:57PM
(#25691615)
Theres a great example of what you can do with this, submitted and discussed on HN here: https://news.ycombinator.com/item?id=25690319
[ Parent
| on HN ]
Re:Best of show – abuse of libc
by notretarded on Friday January 08, 2021 @06:58PM
(#25692763)
>Format specifiers can take extra “arguments”. - "%hhn": store the number of bytes written mod 256 to the char pointer ...
Oh boy. I'll put that down for my "thing I don't think I wanted to know" of the day.
There is some innocent beauty in the twistedness of printf - especially with GNU extensions.
So I can port doom to gnu printf?
GNU's printf specifier language is Turing complete, I believe.
Re:Best of show – abuse of libc
by a1369209993 on Friday January 08, 2021 @09:35PM
(#25695651)
GNU's printf is Turing complete[0]... so "yes."
[0] Mentioned (but not directly linked) by TFA:
https://www.usenix.org/conference/usenixsecurity15/technical...
GNU's printf specifier language is Turing complete, I believe.
What is up with this thread? These comments are duplicated from the top thread...
Is it possible that it's a joke based on the material of the OP? Maybe we're trapped in some sort of International Obfuscated Internet Thread Contest...
Edit: ok, I'm guessing it's a joke about Turing completeness. Loops, you know.
It’s a joke about the recursion introduced here: https://news.ycombinator.com/item?id=25691615.
Well executed jokes on HN. 2021 already is a crazy year.
Ohhhh...
Now I get it.