3 ms·
> 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
by zokier 1y ago
> 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