Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Diels-grabsch2: Self Hashing C Program (2019)
(opens in new tab)
(ioccc.org)
10 points
icwtyjj
13d ago
3 comments
Share
Diels-grabsch2: Self Hashing C Program (2019) | Better HN
3 comments
default
newest
oldest
casey2
9d ago
I thought it would print the hash of its binary :/
AlotOfReading
9d ago
That's not too difficult. You can #embed CC, invoke it on the program's source code via the exec functions, and hash the result.
zvr
8d ago
It's even easier to exec a hash of argv[0] and print it.
j
/
k
navigate · click thread line to collapse