mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 10:08:07 +00:00
missing-decls reremoved
This commit is contained in:
@ -69,9 +69,10 @@ ifneq "$(shell uname -m)" "x86_64"
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT)
|
CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT)
|
||||||
override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations \
|
override CFLAGS += -Wall -g -Wno-pointer-sign \
|
||||||
-I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \
|
-I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \
|
||||||
-DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\"
|
-DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\"
|
||||||
|
# -Wmissing-declarations
|
||||||
|
|
||||||
AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c)
|
AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c)
|
||||||
|
|
||||||
|
6
src/third_party/libradamsa/libradamsa.c
vendored
6
src/third_party/libradamsa/libradamsa.c
vendored
@ -30789,7 +30789,7 @@ void radamsa_init(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* bvec → value library call test with preserved state */
|
/* bvec → value library call test with preserved state */
|
||||||
word library_call(word val) {
|
static word library_call(word val) {
|
||||||
word program_state = state;
|
word program_state = state;
|
||||||
word res;
|
word res;
|
||||||
state = IFALSE;
|
state = IFALSE;
|
||||||
@ -30800,7 +30800,7 @@ word library_call(word val) {
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t list_length(word lispval) {
|
static size_t list_length(word lispval) {
|
||||||
size_t l = 0;
|
size_t l = 0;
|
||||||
while(lispval != INULL) {
|
while(lispval != INULL) {
|
||||||
lispval = G(lispval, 2);
|
lispval = G(lispval, 2);
|
||||||
@ -30809,7 +30809,7 @@ size_t list_length(word lispval) {
|
|||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t copy_list(uint8_t *ptr, word lispval, size_t max) {
|
static size_t copy_list(uint8_t *ptr, word lispval, size_t max) {
|
||||||
size_t n = 0;
|
size_t n = 0;
|
||||||
while(pairp((word)lispval) && max-- && lispval != INULL) {
|
while(pairp((word)lispval) && max-- && lispval != INULL) {
|
||||||
*ptr++ = 255 & immval(G(lispval, 1)); // *ptr++ = car(list)
|
*ptr++ = 255 & immval(G(lispval, 1)); // *ptr++ = car(list)
|
||||||
|
Reference in New Issue
Block a user