Question : gcc compile without protections
Answered by : dhanesh-narmatha
gcc vuln.c -o vuln_disable_all -fno-stack-protector -z execstack -no-pie
Source : https://stackoverflow.com/questions/2340259/how-to-turn-off-gcc-compiler-optimization-to-enable-buffer-overflow | Last Update : Thu, 15 Sep 22