This commit is contained in:
vanhauser-thc
2022-06-20 17:59:14 +02:00
parent 5ed993d74e
commit 1a4c0d2ecd
3 changed files with 9 additions and 4 deletions

View File

@ -76,6 +76,7 @@ cc_binary {
srcs: [
"src/afl-fuzz*.c",
"src/afl-common.c",
"src/afl-forkserver.c",
"src/afl-sharedmem.c",
"src/afl-forkserver.c",
"src/afl-performance.c",

View File

@ -396,7 +396,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
snprintf(llvm_fullpath, sizeof(llvm_fullpath), "%s/clang",
LLVM_BINDIR);
else
snprintf(llvm_fullpath, sizeof(llvm_fullpath), CLANG_BIN);
snprintf(llvm_fullpath, sizeof(llvm_fullpath), "%s", CLANG_BIN);
alt_cc = llvm_fullpath;
}

View File

@ -25,8 +25,12 @@
#include <stdlib.h>
#include <stdio.h>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#ifndef __USE_GNU
#define __USE_GNU
#endif
#include <string.h>
#include <strings.h>
#include <math.h>