diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-12-16 10:47:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 10:47:50 +0100 |
commit | 2b9ad9acb616dfa3103955f8bb969d85028f74eb (patch) | |
tree | 6e9a0a9ad4f35118fb9f9217b022bbdf78c60a6d /qemu_mode | |
parent | 17d364c8a0d7c685e21def7bd56465a930f64559 (diff) | |
parent | 6ccfc2df56f89d1370c9ece16b76cfac5c3d91a2 (diff) | |
download | afl++-2b9ad9acb616dfa3103955f8bb969d85028f74eb.tar.gz |
Merge pull request #138 from domenukk/unicornafl
Moved unicorn_mode to unicornafl
Diffstat (limited to 'qemu_mode')
-rw-r--r-- | qemu_mode/libcompcov/Makefile | 4 | ||||
-rw-r--r-- | qemu_mode/unsigaction/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/qemu_mode/libcompcov/Makefile b/qemu_mode/libcompcov/Makefile index d078ae06..e827cbd8 100644 --- a/qemu_mode/libcompcov/Makefile +++ b/qemu_mode/libcompcov/Makefile @@ -22,7 +22,7 @@ CFLAGS ?= -O3 -funroll-loops -I ../../include/ CFLAGS += -Wall -Wno-unused-result -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign LDFLAGS += -ldl -all: libcompcov.so compcovtest +all: libcompcov.so libcompcov.so: libcompcov.so.c ../../config.h $(CC) $(CFLAGS) -shared -fPIC $< -o ../../$@ $(LDFLAGS) @@ -34,7 +34,7 @@ clean: rm -f ../../libcompcov.so compcovtest compcovtest: compcovtest.cc - $(CXX) $< -o $@ + $(CXX) -std=c++11 $< -o $@ install: all install -m 755 ../../libcompcov.so $${DESTDIR}$(HELPER_PATH) diff --git a/qemu_mode/unsigaction/Makefile b/qemu_mode/unsigaction/Makefile index 9aa96330..02dc2c79 100644 --- a/qemu_mode/unsigaction/Makefile +++ b/qemu_mode/unsigaction/Makefile @@ -18,7 +18,7 @@ ifndef AFL_NO_X86 all: lib_i386 lib_amd64 lib_i386: - $(CC) -m32 -fPIC -shared unsigaction.c -o unsigaction32.so + $(CC) -m32 -fPIC -shared unsigaction.c -o unsigaction32.so || echo "Cannot build unsigation32" lib_amd64: $(CC) -fPIC -shared unsigaction.c -o unsigaction64.so |