mirror of
https://github.com/KingOfTheNOPs/CDP-Enable-BOF
synced 2026-06-29 08:59:28 +00:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
CC=x86_64-w64-mingw32-gcc
|
||||
OBJCOPY=x86_64-w64-mingw32-objcopy
|
||||
CFLAGS=-O2 -c -Wall -Wextra -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-exceptions -fno-stack-protector
|
||||
INCLUDES=-I .
|
||||
OUT=cdp_enable_bof.o
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: $(OUT)
|
||||
|
||||
$(OUT): cdp_enable_bof.c
|
||||
$(CC) $(CFLAGS) -o $@ $< $(INCLUDES)
|
||||
$(OBJCOPY) --remove-section .pdata --remove-section .xdata --remove-section .eh_frame $@
|
||||
|
||||
clean:
|
||||
rm -f $(OUT)
|
||||
Reference in New Issue
Block a user