2019-2020-1 20199325 "Linux kernel principle and Analysis" in the eighth week of work

How to load Linux kernel and boot an executable program

1. Understand the process of compiling and linking of ELF executable file format, details, refer to the first week;
2. Programming using the exec * library function to load an executable file, dynamically linked into an executable program time dynamic linking and loading dynamic linking, use two programming exercises dynamic link library details, refer to the second week running;
3. use a gdb trace analysis execve kernel system call handler sys_execve, verify that your Linux system to load executable program processing required to understand the process, details, refer to the third week; recommended to complete the experiments in the laboratory building Linux virtual machine environment.
4. special attention to the new executable program is executed where to start? Why execve system call returns the new executable program will run smoothly? For what executable program and dynamically linked statically linked executables execve system call returns a different


For the first

Guess you like

Origin www.cnblogs.com/buhery/p/11819225.html