Hacker News new | ask | show | jobs
by casey2 93 days ago
I thought it would print the hash of its binary :/
1 comments

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.
It's even easier to exec a hash of argv[0] and print it.