diff options
author | vanhauser-thc <vh@thc.org> | 2021-04-30 10:27:43 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-04-30 10:27:43 +0200 |
commit | c9d066038fe0bbf8e0ab0a481ca320ca1c31b1bf (patch) | |
tree | 984cd4029a2676eaad78b21036af414a04a8ccf9 /utils/aflpp_driver | |
parent | 17b860d811cbd7695ab9756671c3f2d876ab25e8 (diff) | |
download | afl++-c9d066038fe0bbf8e0ab0a481ca320ca1c31b1bf.tar.gz |
fix PCGUARD, build aflpp_driver with fPIC
Diffstat (limited to 'utils/aflpp_driver')
-rw-r--r-- | utils/aflpp_driver/GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/aflpp_driver/GNUmakefile b/utils/aflpp_driver/GNUmakefile index 8ac054a6..556f6420 100644 --- a/utils/aflpp_driver/GNUmakefile +++ b/utils/aflpp_driver/GNUmakefile @@ -7,7 +7,7 @@ ifneq "" "$(LLVM_BINDIR)" LLVM_BINDIR := $(LLVM_BINDIR)/ endif -CFLAGS := -O3 -funroll-loops -g +CFLAGS := -O3 -funroll-loops -g -fPIC all: libAFLDriver.a libAFLQemuDriver.a aflpp_qemu_driver_hook.so @@ -36,7 +36,7 @@ aflpp_qemu_driver_hook.so: aflpp_qemu_driver_hook.o -$(LLVM_BINDIR)clang -shared aflpp_qemu_driver_hook.o -o aflpp_qemu_driver_hook.so aflpp_qemu_driver_hook.o: aflpp_qemu_driver_hook.c - -$(LLVM_BINDIR)clang -fPIC $(CFLAGS) -funroll-loops -c aflpp_qemu_driver_hook.c + -$(LLVM_BINDIR)clang $(CFLAGS) -funroll-loops -c aflpp_qemu_driver_hook.c test: debug #clang -S -emit-llvm -D_DEBUG=\"1\" -I../../include -Wl,--allow-multiple-definition -funroll-loops -o aflpp_driver_test.ll aflpp_driver_test.c |