mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
remove warnings
This commit is contained in:
@ -237,7 +237,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS ?= -O3 -funroll-loops -fPIC -D_FORTIFY_SOURCE=2
|
CFLAGS ?= -O3 -funroll-loops -fPIC -D_FORTIFY_SOURCE=2
|
||||||
CFLAGS_SAFE := -Wall -g -Wno-pointer-sign -I ./include/ -I ./instrumentation/ \
|
CFLAGS_SAFE := -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ \
|
||||||
-DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \
|
-DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \
|
||||||
-DLLVM_BINDIR=\"$(LLVM_BINDIR)\" -DVERSION=\"$(VERSION)\" \
|
-DLLVM_BINDIR=\"$(LLVM_BINDIR)\" -DVERSION=\"$(VERSION)\" \
|
||||||
-DLLVM_LIBDIR=\"$(LLVM_LIBDIR)\" -DLLVM_VERSION=\"$(LLVMVER)\" \
|
-DLLVM_LIBDIR=\"$(LLVM_LIBDIR)\" -DLLVM_VERSION=\"$(LLVMVER)\" \
|
||||||
|
@ -381,8 +381,8 @@ bool AFLdict2filePass::runOnModule(Module &M) {
|
|||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
fprintf(stderr, "F:%s %p(%s)->\"%s\"(%s) %p(%s)->\"%s\"(%s)\n",
|
fprintf(stderr, "F:%s %p(%s)->\"%s\"(%s) %p(%s)->\"%s\"(%s)\n",
|
||||||
FuncName.c_str(), Str1P, Str1P->getName().str().c_str(),
|
FuncName.c_str(), (void*)Str1P, Str1P->getName().str().c_str(),
|
||||||
Str1.c_str(), HasStr1 == true ? "true" : "false", Str2P,
|
Str1.c_str(), HasStr1 == true ? "true" : "false", (void*)Str2P,
|
||||||
Str2P->getName().str().c_str(), Str2.c_str(),
|
Str2P->getName().str().c_str(), Str2.c_str(),
|
||||||
HasStr2 == true ? "true" : "false");
|
HasStr2 == true ? "true" : "false");
|
||||||
|
|
||||||
@ -436,7 +436,7 @@ bool AFLdict2filePass::runOnModule(Module &M) {
|
|||||||
valueMap[Str1P] = new std::string(Str2);
|
valueMap[Str1P] = new std::string(Str2);
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
fprintf(stderr, "Saved: %s for %p\n", Str2.c_str(), Str1P);
|
fprintf(stderr, "Saved: %s for %p\n", Str2.c_str(), (void*)Str1P);
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -455,7 +455,7 @@ bool AFLdict2filePass::runOnModule(Module &M) {
|
|||||||
Str2 = *strng;
|
Str2 = *strng;
|
||||||
HasStr2 = true;
|
HasStr2 = true;
|
||||||
if (debug)
|
if (debug)
|
||||||
fprintf(stderr, "Filled2: %s for %p\n", strng->c_str(), Str2P);
|
fprintf(stderr, "Filled2: %s for %p\n", strng->c_str(), (void*)Str2P);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -497,7 +497,7 @@ bool AFLdict2filePass::runOnModule(Module &M) {
|
|||||||
Str1 = *strng;
|
Str1 = *strng;
|
||||||
HasStr1 = true;
|
HasStr1 = true;
|
||||||
if (debug)
|
if (debug)
|
||||||
fprintf(stderr, "Filled1: %s for %p\n", strng->c_str(), Str1P);
|
fprintf(stderr, "Filled1: %s for %p\n", strng->c_str(), (void*)Str1P);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user