gcc -o hw -fno-pie -no-pie -m32 -z execstack -fno-stack-protector hw.c
In file included from hw.c:1:0:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: 没有那个文件或目录
#include <bits/libc-header-start.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
上面是编译时产生的问题,解决办法:输入
sudo apt-get install gcc-multilib