about summary refs log tree commit diff
path: root/utils
diff options
context:
space:
mode:
authorllzmb <46303940+llzmb@users.noreply.github.com>2021-08-31 21:19:04 +0200
committerGitHub <noreply@github.com>2021-08-31 21:19:04 +0200
commit9747ac42213126ec99fe8ea47f1320be54135bd1 (patch)
tree677b0cf3143a1964134a67a1922b70dc20f6be19 /utils
parentec4cae448b10acc0a8c84fc75f298bfaed88195a (diff)
parentfe5b2c355f097705bf0bd7b35b0484b16f87964f (diff)
downloadafl++-9747ac42213126ec99fe8ea47f1320be54135bd1.tar.gz
Merge branch 'dev' into docs_edit_readme_move_content_to_docs
Diffstat (limited to 'utils')
-rw-r--r--utils/afl_network_proxy/GNUmakefile6
-rw-r--r--utils/plot_ui/Makefile2
-rwxr-xr-xutils/qbdi_mode/README.md4
3 files changed, 9 insertions, 3 deletions
diff --git a/utils/afl_network_proxy/GNUmakefile b/utils/afl_network_proxy/GNUmakefile
index 0b55dc2c..7c8c22ff 100644
--- a/utils/afl_network_proxy/GNUmakefile
+++ b/utils/afl_network_proxy/GNUmakefile
@@ -3,6 +3,8 @@ BIN_PATH  = $(PREFIX)/bin
 HELPER_PATH = $(PREFIX)/lib/afl
 DOC_PATH  = $(PREFIX)/share/doc/afl
 
+SYS = $(shell uname -s)
+
 PROGRAMS = afl-network-client afl-network-server
 
 HASH=\#
@@ -13,6 +15,10 @@ ifdef STATIC
   CFLAGS += -static
 endif
 
+ifeq "$(SYS)" "SunOS"
+  LDFLAGS += -lnsl -lsocket
+endif
+
 ifeq "$(shell echo '$(HASH)include <libdeflate.h>@int main() { struct libdeflate_compressor *d = libdeflate_alloc_compressor(1); return 0;}' | tr @ '\n' | $(CC) $(CFLAGS) -x c - -o .test2 -ldeflate 2>/dev/null && echo 1 || echo 0 ; rm -f .test2 )" "1"
  CFLAGS += -DUSE_DEFLATE=1
  LDFLAGS += -ldeflate 
diff --git a/utils/plot_ui/Makefile b/utils/plot_ui/Makefile
index 7ade8a40..b2013248 100644
--- a/utils/plot_ui/Makefile
+++ b/utils/plot_ui/Makefile
@@ -7,4 +7,4 @@ afl-plot-ui:	afl-plot-ui.c
 	$(CC) $(CFLAGS) -o afl-plot-ui afl-plot-ui.c $(LDFLAGS)
 
 clean:
-	rm -f afl-plot-ui
\ No newline at end of file
+	rm -f afl-plot-ui
diff --git a/utils/qbdi_mode/README.md b/utils/qbdi_mode/README.md
index a68da616..8b768906 100755
--- a/utils/qbdi_mode/README.md
+++ b/utils/qbdi_mode/README.md
@@ -1,8 +1,8 @@
 # qbdi-based binary-only instrumentation for afl-fuzz
 
 NOTE: this code is outdated and first would need to be adapted to the current
-AFL++ versions first.
-Try frida_mode/ or fpicker [https://github.com/ttdennis/fpicker/](https://github.com/ttdennis/fpicker/) first, maybe they suite your need.
+AFL++ versions.
+Try frida_mode or fpicker [https://github.com/ttdennis/fpicker/](https://github.com/ttdennis/fpicker/) first, maybe they suite your need.
 
 ## 1) Introduction