Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> can't be inspected by arbitrary functions in the same process

You can not really rely on that. The initial stack layout is well-defined at least on linux, so digging up argv is not difficult. Or just open /proc/self/cmdline



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: