sfl-examples/lecture-demos/buffer-overflow/Makefile

13 lines
258 B
Makefile
Raw Normal View History

.PHONY: clean shellcode bufoverflow
2023-12-14 13:56:57 +01:00
all: bufoverflow shellcode
2023-12-14 13:56:57 +01:00
shellcode:
nasm shellcode.asm
2023-12-14 13:56:57 +01:00
clean:
rm -f shellcode bufoverflow
2023-12-14 13:56:57 +01:00
bufoverflow:
gcc bufoverflow.c -z execstack -o bufoverflow -O1 -fno-unroll-loops -fno-omit-frame-pointer -fno-dce -fno-dse