Stranica: 1/1.

Linux x86 Program Start Up or-How the heck do we get to main

Postano: 13 pro 2014, 00:47
Postao/la max360se
Naletih na ovo, nadam se da ce nekome biti zanimljivo :D
http://dbp-consulting.com/tutorials/debugging/linuxProgramStartup.html je napisao/la:Who's this for?

This is for people who want to understand how programs get loaded under linux. In particular it talks about dynamically loaded x86 ELF files. The information you learn will let you understand how to debug problems that occur in your program before main starts up. Everything I tell you is true, but some things will be glossed over since they don't take us toward our goal. Further, if you link statically, some of the details will be different. I won't cover that at all. By the time you're done with this though, you'll know enough to figure that out for yourself if you need to.
slika