Address Space
- Address space: set of accessible addresses and their state
- Physical memory: data storage medium
- Physical addresses: addresses available on physical memory
- Virtual addresses: addresses generated by program
- For 64-bit processor: quintillion () addresses
- Any process can access
Virtual Address Space Layout (C)
Why do we put shared library between stack and heap? Dynamic Linking: we don’t necessarily need a library. Only link what we need dynamically.