Re:Where do argc and argv come from?
by saagarjha on Monday August 10, 2020 @08:45PM
(#24116032)
GDB also uses it to figure out where the binary is slid in memory (it reads /proc/pid/auxv, though, not the stack). AT_HWCAP is particularly useful on ARM because as far as I understand the feature registers are normally not readable by userspace and this is probably the easiest way to grab it on Linux.
[ Parent
| on HN ]
There are no comments on this comment yet.