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

Too bad the author skips over envp and what comes after...

http://dbp-consulting.com/tutorials/debugging/linuxProgramSt... mentions something really fun after envp, which is the ELF auxillary info, including a random seed offered by the kernel to seed rand if you want it.

See: https://man7.org/linux/man-pages/man3/getauxval.3.html



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

Search: