diff options
author | vanhauser-thc <vh@thc.org> | 2021-04-30 13:56:23 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-04-30 13:56:23 +0200 |
commit | f4cc718fdc4571f56280a1efad3645125bee2154 (patch) | |
tree | d9a1a984ba4b79491f4b72020a55241fa2c9ffe7 | |
parent | 56882f3a496fd287b50a18ec7c83d23e1630ef81 (diff) | |
download | afl++-f4cc718fdc4571f56280a1efad3645125bee2154.tar.gz |
let aflpp_qemu_driver_hook.so build fail gracefully
-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 556f6420..ad99b893 100644 --- a/utils/aflpp_driver/GNUmakefile +++ b/utils/aflpp_driver/GNUmakefile @@ -33,10 +33,10 @@ libAFLQemuDriver.a: aflpp_qemu_driver.o -cp -vf libAFLQemuDriver.a ../../ 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 + -test -e aflpp_qemu_driver_hook.o && $(LLVM_BINDIR)clang -shared aflpp_qemu_driver_hook.o -o aflpp_qemu_driver_hook.so || echo "Note: Optional aflpp_qemu_driver_hook.so not built." aflpp_qemu_driver_hook.o: aflpp_qemu_driver_hook.c - -$(LLVM_BINDIR)clang $(CFLAGS) -funroll-loops -c aflpp_qemu_driver_hook.c + -test -e ../../qemu_mode/qemuafl/qemuafl/api.h && $(LLVM_BINDIR)clang $(CFLAGS) -funroll-loops -c aflpp_qemu_driver_hook.c || echo "Note: Optional aflpp_qemu_driver_hook.o not built." 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 |