Le 06/12/2018 à 11:06, Manuel Bouyer a écrit :
as I understand KASLR (but I didn't look at the code), addresses are choosen at random. So I guess there's a random number generator in the process. Maybe it would be as simple as making the random number generator return a constant value ?
Yes, change the two calls to cpu_earlyrng() in x86/pmap.c::slotspace_rand() to return zero, and you're back with a static layout.