CHAPTER 3
Program Execution Stages
The purpose of this chapter is to describe the sequence of events that happens when the user starts a program. The analysis is primarily focused on pointing out the details of interplay between the operating system and the layout of the executable binary file, which is tightly connected with the process memory map. Needless to say, the primary focus of this discussion is the execution sequence of the executable binaries created by building the code in C/C++.
Importance of the Shell
The program execution under the user’s control typically happens through a shell, a program that monitors a user’s actions on the ...
Get Advanced C and C++ Compiling now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.