'Q1. Why we get same stack address at each time we execute a program if we disable ASLR?
I'm trying to understand memory address allocation for processes in linux. By default we have ASLR ON in linux. So it will give us different stack memory addresses each time. But my question is why we get same address after disabling ASLR? Does Kernel save previous allocated address space for that previously executed program? or How does allocation happens?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|