Question : how to turn off aslr in gcc
Answered by : wrong-wren
gcc -fno-stack-protector -z execstack -o bug bug.c
Source : https://stackoverflow.com/questions/2340259/how-to-turn-off-gcc-compiler-optimization-to-enable-buffer-overflow | Last Update : Sun, 09 Feb 20
Question : how to turn off aslr in gcc
Answered by : wrong-wren
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
Source : https://stackoverflow.com/questions/2340259/how-to-turn-off-gcc-compiler-optimization-to-enable-buffer-overflow | Last Update : Sun, 09 Feb 20