added more code
This commit is contained in:
18
CPE455/Quiz-Bravo/makefile
Normal file
18
CPE455/Quiz-Bravo/makefile
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# bapp.c makefile
|
||||
#
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -g
|
||||
|
||||
vulnerable_bapp: bapp.c
|
||||
$(CC) $(CFLAGS) -fno-stack-protector -z execstack bapp.c -o vulnerable_bapp
|
||||
|
||||
protected_bapp: bapp.c
|
||||
$(CC) $(CFLAGS) -fstack-protector -z noexecstack bapp.c -o protected_bapp
|
||||
|
||||
clean:
|
||||
rm vulnerable_bapp protected_bapp
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user