mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 04:38:08 +00:00
nits
This commit is contained in:
@ -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",
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -25,8 +25,12 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#define _GNU_SOURCE
|
||||
#define __USE_GNU
|
||||
#ifndef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#ifndef __USE_GNU
|
||||
#define __USE_GNU
|
||||
#endif
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <math.h>
|
||||
@ -718,7 +722,7 @@ char *get_afl_env(char *env) {
|
||||
if ((val = getenv(env))) {
|
||||
|
||||
if (*val) {
|
||||
|
||||
|
||||
if (!be_quiet) {
|
||||
|
||||
OKF("Enabled environment variable %s with value %s", env, val);
|
||||
|
Reference in New Issue
Block a user