Lecture 8, part 1, 2, 3
NOTE: Not relevant for the exam.
Exam
Details of processes and binaries in Unix, VM basics, process start
Important questions:
- What are the sections of an ELF executable, what is stored in each section?
- What are the tasks of compiler, assembler, linker, loader?
- What is symbol resolution, which tool performs this task?
- Why is virtual memory useful?
- How does the translation from virtual to physical addresses work?
- What is a typical virtual memory layout of a Unix process and how is this related to ELF executable sections?
- What is a shared library and why is it useful?
- Can you give differences between linker and (dynamic) loader?
- How are Unix processes created?
- Can you describe the effects on physical and virtual memory spaces?
- How do fork and exec interact?
- You do not need to know exact details of process creation (init, libc start etc.)