When create a process, how does the system designate its base address? Is there anyway I can enforce it? For example, I have an address 0x55d1008fc000
, and I'd like the process to always start from this address.
Asked
Active
Viewed 34 times
0

AetX
- 193
- 6
-
https://en.wikipedia.org/wiki/Address_space_layout_randomization – KamilCuk Mar 09 '21 at 10:20
-
Does this answer your question? [disable the randomness in malloc](https://stackoverflow.com/questions/20003431/disable-the-randomness-in-malloc) – jordanvrtanoski Mar 09 '21 at 12:26
-
Why would you need this? – Cheatah Mar 09 '21 at 12:44
-
Thanks for the comments. This solution completely disable the randomization. But in my case, I would want only deterministicity on a certain process, but not others. So I was hoping to find more information about how the system designate a base address when create a process. – AetX Mar 09 '21 at 13:02
-
Which operating system? – Timothy Baldwin Mar 09 '21 at 18:45
-
64~18.04.1-Ubuntu – AetX Mar 10 '21 at 03:34