fix afl-cc.8 generation
MODIFY
GNUmakefile.gcc_plugin
GNUmakefile.gcc_plugin
@@ -146,7 +146,6 @@ all_done: test_build
.NOTPARALLEL: clean
-vpath % ..
%.8: %
@echo .TH $* 8 `date "+%Y-%m-%d"` "afl++" > ./$@
@echo .SH NAME >> ./$@

MODIFY
GNUmakefile.llvm
GNUmakefile.llvm
@@ -472,12 +472,11 @@ install: all
set -e; install -m 644 ./dynamic_list.txt $${DESTDIR}$(HELPER_PATH)
install -m 644 instrumentation/README.*.md $${DESTDIR}$(DOC_PATH)/
-vpath % ..
%.8: %
@echo .TH $* 8 $(BUILD_DATE) "afl++" > ./$@
@echo .SH NAME >> ./$@
- @printf "%s" ".B $* \- " >> ../$@
- @./$* -h 2>&1 | head -n 1 | sed -e "s/$$(printf '\e')[^m]*m//g" >> ../$@
+ @printf "%s" ".B $* \- " >> ./$@
+ @./$* -h 2>&1 | head -n 1 | sed -e "s/$$(printf '\e')[^m]*m//g" >> ./$@
@echo .B $* >> ./$@
@echo >> ./$@
@echo .SH SYNOPSIS >> ./$@

MODIFY
src/afl-fuzz.c
src/afl-fuzz.c
@@ -1179,9 +1179,12 @@ int main(int argc, char **argv_orig, char **envp) {
if (extras_dir_cnt) {
- for (i = 0; i < extras_dir_cnt; i++)
+ for (i = 0; i < extras_dir_cnt; i++) {
+
load_extras(afl, extras_dir[i]);
+ }
+
dedup_extras(afl);
OKF("Loaded a total of %u extras.", afl->extras_cnt);

fix afl-cc.8 generation