aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben ten Hove <git@rhtenhove.nl>2022-06-27 15:30:35 +0000
committerRuben ten Hove <git@rhtenhove.nl>2022-06-27 15:30:35 +0000
commit80e829f79d4d70d9b0b73bf0c8b1b391c710fbb5 (patch)
tree3d3aac91e54dcbaa8e7e402a030ee7f422831bd3
parent73db4fe9939482f4c2f38c24d903869bb0d4a7eb (diff)
downloadafl++-80e829f79d4d70d9b0b73bf0c8b1b391c710fbb5.tar.gz
revert more and global replace
-rw-r--r--Dockerfile5
-rw-r--r--GNUmakefile24
2 files changed, 15 insertions, 14 deletions
diff --git a/Dockerfile b/Dockerfile
index 82854f4d..a9be22de 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -75,8 +75,9 @@ COPY . .
ARG CC=gcc-$GCC_VERSION
ARG CXX=g++-$GCC_VERSION
-RUN sed -i 's/-$(MAKE)/$(MAKE)/g' GNUmakefile && make clean && \
- make distrib && make install && make clean
+RUN sed -i.bak 's/^ -/ /g' GNUmakefile && \
+ make clean && make distrib && make install && make clean && \
+ mv GNUmakefile.bak GNUmakefile
RUN echo "set encoding=utf-8" > /root/.vimrc && \
echo ". /etc/bash_completion" >> ~/.bashrc && \
diff --git a/GNUmakefile b/GNUmakefile
index 625530bc..6e977467 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -308,7 +308,7 @@ endif
.PHONY: all
all: test_x86 test_shm test_python ready $(PROGS) afl-as llvm gcc_plugin test_build all_done
- $(MAKE) -C utils/aflpp_driver
+ -$(MAKE) -C utils/aflpp_driver
.PHONY: llvm
llvm:
@@ -318,7 +318,7 @@ llvm:
.PHONY: gcc_plugin
gcc_plugin:
ifneq "$(SYS)" "Darwin"
- $(MAKE) -f GNUmakefile.gcc_plugin
+ -$(MAKE) -f GNUmakefile.gcc_plugin
endif
.PHONY: man
@@ -619,7 +619,7 @@ endif
-$(MAKE) -C utils/afl_network_proxy
-$(MAKE) -C utils/socket_fuzzing
-$(MAKE) -C utils/argv_fuzzing
- # $(MAKE) -C utils/plot_ui
+ # -$(MAKE) -C utils/plot_ui
-$(MAKE) -C frida_mode
ifneq "$(SYS)" "Darwin"
ifeq "$(ARCH)" "aarch64"
@@ -629,16 +629,16 @@ ifeq "$(ARCH)" "aarch64"
endif
ifeq "$(SYS)" "Linux"
ifndef NO_NYX
- cd nyx_mode && ./build_nyx_support.sh
+ -cd nyx_mode && ./build_nyx_support.sh
endif
endif
- cd qemu_mode && sh ./build_qemu_support.sh
+ -cd qemu_mode && sh ./build_qemu_support.sh
ifeq "$(ARCH)" "aarch64"
ifndef NO_UNICORN_ARM64
- cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
+ -cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
endif
else
- cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
+ -cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
endif
endif
@@ -649,7 +649,7 @@ binary-only: test_shm test_python ready $(PROGS)
-$(MAKE) -C utils/afl_network_proxy
-$(MAKE) -C utils/socket_fuzzing
-$(MAKE) -C utils/argv_fuzzing
- # $(MAKE) -C utils/plot_ui
+ # -$(MAKE) -C utils/plot_ui
-$(MAKE) -C frida_mode
ifneq "$(SYS)" "Darwin"
ifeq "$(ARCH)" "aarch64"
@@ -659,16 +659,16 @@ ifeq "$(ARCH)" "aarch64"
endif
ifeq "$(SYS)" "Linux"
ifndef NO_NYX
- cd nyx_mode && ./build_nyx_support.sh
+ -cd nyx_mode && ./build_nyx_support.sh
endif
endif
- cd qemu_mode && sh ./build_qemu_support.sh
+ -cd qemu_mode && sh ./build_qemu_support.sh
ifeq "$(ARCH)" "aarch64"
ifndef NO_UNICORN_ARM64
- cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
+ -cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
endif
else
- cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
+ -cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
endif
endif