If you believe that main()
is the first bit of code that gets to run, and ever wondered how globals are initialized then, this article is just for you: http://dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html
Now I need to find something about dynamic linkers and what happens between mmapping an ELF into memory and calling _start
. Any pointers?
QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.