Settings

Theme

Diels-grabsch2: Self Hashing C Program (2019)

ioccc.org

10 points by icwtyjj 10 days ago · 3 comments

Reader

casey2 5 days ago

I thought it would print the hash of its binary :/

  • AlotOfReading 5 days 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 4 days ago

      It's even easier to exec a hash of argv[0] and print it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection