C obfuscation

How in the fuck does this work?
ioccc.org/2018/endoh2/prog.c

Video of it, if you're too paranoid to run it
youtube.com/watch?v=6Ak1DC1uBuc

Attached: dead.png (677x476, 349K)

Other urls found in this thread:

youtube.com/watch?v=QMYfkOtYYlg
github.com/mame/quine-relay
openhub.net/p/systemd
openhub.net/p?query=systemd
openhub.net/p/openbsd/analyses/latest/languages_summary
ioccc.org/2018/endoh2/prog.c
ioccc.org/2012/endoh1/endoh1.c
ioccc.org/2012/endoh1/endoh1_color.c
en.wikipedia.org/wiki/Underhanded_C_Contest
slashdot.org/story/192699
twitter.com/NSFWRedditImage

And it's beautiful

Very cool

See the ASCII fluid simulation of thus dude, you will freak out
youtube.com/watch?v=QMYfkOtYYlg

That's beautiful, and i can't even understand the unobfuscated code.

"Is beautiful because is simple. It just take a genius to understand its simplicity."

Attached: dennis_ritchie.jpg (587x551, 50K)

whats this technique called? if it even has as name yet

#include
#include
#include
#include
#include

static jmp_buf env;

static const char* shc =
"\x55\x48\x89\xe5\x48\x89\x7d\xe8\x48\x8b\x45\xe8"
"\xc7\x00\x08\x00\x00\x00\x48\xc7\x45\xf8\x00\x00"
"\x00\x00\x48\x8b\x45\x08\x48\x89\x45\xf8\x48\x8b"
"\x45\xf8\x5d\xc3\x69\x05\x05\x01\xed\x0b\x00\xb4"
"\x47\xfe\x09\x06\xfb\x00\x9b\xf6\xde\xad\xbe\xef";

static int calculate(int a, int b)
{
do
{
a ^= b;
b = (a ^ b) & b;
b

Metaprogramming?

i guess; but im looking for maybe a more specific term (if one exists) for how you generate code that generates code that generates code etc.