diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-04-16 16:37:33 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-16 16:37:33 +0200 |
commit | 94187837c799bd712e68890b4466abb6f52079ad (patch) | |
tree | a79ad55ee485c68e78abfad20fbf99c1aa3d00bb | |
parent | ede3545d8bf9b29e6dbf590ba9986be1472faed3 (diff) | |
download | afl++-94187837c799bd712e68890b4466abb6f52079ad.tar.gz |
removed unused functions
-rw-r--r-- | GNUmakefile | 3 | ||||
-rw-r--r-- | src/third_party/libradamsa/libradamsa.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 2a76fd85..11dfa803 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -69,10 +69,9 @@ ifneq "$(shell uname -m)" "x86_64" endif CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT) -override CFLAGS += -Wall -g -Wno-pointer-sign \ +override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations\ -I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \ -DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\" -# -Wmissing-declarations AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c) diff --git a/src/third_party/libradamsa/libradamsa.c b/src/third_party/libradamsa/libradamsa.c index b40e5670..5de597ff 100644 --- a/src/third_party/libradamsa/libradamsa.c +++ b/src/third_party/libradamsa/libradamsa.c @@ -30758,7 +30758,7 @@ static void setup(int nwords, int nobjs) { exit(4); memend = memstart + nwords - MEMPAD; } - +/* static int secondary(int nargs, char **argv) { word *prog; int rval, nobjs=0, nwords=0; @@ -30774,6 +30774,7 @@ static int secondary(int nargs, char **argv) { } return 127; } +*/ void radamsa_init(void) { int nobjs=0, nwords=0; @@ -30800,6 +30801,7 @@ static word library_call(word val) { return res; } +/* static size_t list_length(word lispval) { size_t l = 0; while(lispval != INULL) { @@ -30808,6 +30810,7 @@ static size_t list_length(word lispval) { } return l; } +*/ static size_t copy_list(uint8_t *ptr, word lispval, size_t max) { size_t n = 0; |