How To Disable ASLR
After reading a few comments stating the need to disable ASLR on Ryzen, I decided to disable it.
What is ASLR?
ASLR stands for address space layout randomization, and it is a security technique used to prevent the exploitation of memory corruption vulnerabilities. It randomly arranges the address space positions of key data areas of a process, including the base of the executable and the positions of the stack, heap and libraries.
Steps To Disable ASLR
Run these commands as root.
# disable in current session echo 0 | tee /proc/sys/kernel/randomize_va_space # make change permanent (across reboots) echo "kernel.randomize_va_space = 0" > /etc/sysctl.d/01-disable-aslr.conf