HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by casey2 | Hacker News Reader
Parent
Full thread
casey2
·
I thought it would print the hash of its binary :/
View on HN
AlotOfReading
·
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
·
It's even easier to exec a hash of argv[0] and print it.
Reply on news.ycombinator.com