The C Runtime System

Table of Contents

1. Introduction
2. Goals
3. Roadmap
4. Assembler code
5. Generating assembler code
6. A C code example to demonstrate assembly language
7. A word on assembler code
8. Assembler output listing
9. How function calls work
10. Why is this assembler stuff important?
11. C Function Calling Convention
12. C stack layout
13. Debugging
14. Program crashes and core files
15. Pointer Arithmetics
16. Memory layout and pointer arithmetics
17. Pointers and Arrays revisited
18. Strings revisited
19. Dynamic memory allocation
20. Program Memory Areas
21. How malloc and free work
22. Rules of thumb for application programmers in need of dynamic memory
23. Example of Memory Leak
24. Implementing a dynamic list with malloc
25. C vs. Java Memory Management
26. Things to know about Java Memory Management
27. Resources
28. Open Source Information on C programming
29. Books