root@# sysctl -w kernel.randomize_va_space=0
root@# sysctl -w kernel.exec-shield=0
root# gcc -fno-stack-protector -z execstack -g -o test test.c
GDB
(gdb) disass main
root@# sysctl -w kernel.randomize_va_space=0
root@# sysctl -w kernel.exec-shield=0
root# gcc -fno-stack-protector -z execstack -g -o test test.c
GDB
(gdb) disass main