It's also important to note that with C applications, main() isn't really the first function to be executed. Functions that get executed before main() include __libc_start_main(), _start(), and __libc_csu_init().
-----Self-Service Linux®: Mastering the Art of Problem Determination
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/37724/viewspace-1013234/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/37724/viewspace-1013234/
本文深入探讨了C程序启动时的内部流程,揭示了在main()函数之前执行的关键函数,包括__libc_start_main()、_start()和__libc_csu_init()等。这些函数为程序的初始化和正常运行奠定了基础。

被折叠的 条评论
为什么被折叠?



