mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
make travis happy
This commit is contained in:
parent
5a4d4ad736
commit
b83a2c1a00
@ -239,8 +239,6 @@ enum {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extern u8 *doc_path; /* gath to documentation dir */
|
|
||||||
|
|
||||||
/* Python stuff */
|
/* Python stuff */
|
||||||
#ifdef USE_PYTHON
|
#ifdef USE_PYTHON
|
||||||
|
|
||||||
|
@ -48,6 +48,9 @@ char **get_qemu_argv(u8 *own_loc, u8 **target_path_p, int argc, char **argv);
|
|||||||
char **get_wine_argv(u8 *own_loc, u8 **target_path_p, int argc, char **argv);
|
char **get_wine_argv(u8 *own_loc, u8 **target_path_p, int argc, char **argv);
|
||||||
char * get_afl_env(char *env);
|
char * get_afl_env(char *env);
|
||||||
|
|
||||||
|
extern u8 be_quiet;
|
||||||
|
extern u8 *doc_path; /* path to documentation dir */
|
||||||
|
|
||||||
/* Get unix time in milliseconds */
|
/* Get unix time in milliseconds */
|
||||||
|
|
||||||
u64 get_cur_time(void);
|
u64 get_cur_time(void);
|
||||||
|
@ -60,10 +60,9 @@ static s32 child_pid; /* PID of the tested program */
|
|||||||
u8 *trace_bits; /* SHM with instrumentation bitmap */
|
u8 *trace_bits; /* SHM with instrumentation bitmap */
|
||||||
|
|
||||||
static u8 *in_file, /* Analyzer input test case */
|
static u8 *in_file, /* Analyzer input test case */
|
||||||
*prog_in, /* Targeted program input file */
|
*prog_in; /* Targeted program input file */
|
||||||
*doc_path; /* Path to docs */
|
|
||||||
|
|
||||||
static u8 *in_data; /* Input data for analysis */
|
static u8 *in_data; /* Input data for analysis */
|
||||||
|
|
||||||
static u32 in_len, /* Input data length */
|
static u32 in_len, /* Input data length */
|
||||||
orig_cksum, /* Original checksum */
|
orig_cksum, /* Original checksum */
|
||||||
@ -77,7 +76,7 @@ static s32 dev_null_fd = -1; /* FD to /dev/null */
|
|||||||
|
|
||||||
u8 edges_only, /* Ignore hit counts? */
|
u8 edges_only, /* Ignore hit counts? */
|
||||||
use_hex_offsets, /* Show hex offsets? */
|
use_hex_offsets, /* Show hex offsets? */
|
||||||
be_quiet, use_stdin = 1; /* Use stdin for program input? */
|
use_stdin = 1; /* Use stdin for program input? */
|
||||||
|
|
||||||
static volatile u8 stop_soon, /* Ctrl-C pressed? */
|
static volatile u8 stop_soon, /* Ctrl-C pressed? */
|
||||||
child_timed_out; /* Child timed out? */
|
child_timed_out; /* Child timed out? */
|
||||||
|
@ -38,8 +38,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
extern u8 be_quiet;
|
u8 be_quiet = 0;
|
||||||
char * afl_environment_variables[] = {
|
u8 *doc_path = "";
|
||||||
|
|
||||||
|
char *afl_environment_variables[] = {
|
||||||
|
|
||||||
"AFL_ALIGNED_ALLOC", "AFL_ALLOW_TMP", "AFL_ANALYZE_HEX", "AFL_AS",
|
"AFL_ALIGNED_ALLOC", "AFL_ALLOW_TMP", "AFL_ANALYZE_HEX", "AFL_AS",
|
||||||
"AFL_AUTORESUME", "AFL_AS_FORCE_INSTRUMENT", "AFL_BENCH_JUST_ONE",
|
"AFL_AUTORESUME", "AFL_AS_FORCE_INSTRUMENT", "AFL_BENCH_JUST_ONE",
|
||||||
|
@ -49,8 +49,6 @@
|
|||||||
|
|
||||||
/* Describe integer as memory size. */
|
/* Describe integer as memory size. */
|
||||||
|
|
||||||
extern u8 *doc_path;
|
|
||||||
|
|
||||||
list_t fsrv_list = {.element_prealloc_count = 0};
|
list_t fsrv_list = {.element_prealloc_count = 0};
|
||||||
|
|
||||||
/* Initializes the struct */
|
/* Initializes the struct */
|
||||||
|
@ -34,8 +34,6 @@ char *power_names[POWER_SCHEDULES_NUM] = {
|
|||||||
|
|
||||||
"explore", "fast", "coe", "lin", "quad", "exploit", "mmopt", "rare"};
|
"explore", "fast", "coe", "lin", "quad", "exploit", "mmopt", "rare"};
|
||||||
|
|
||||||
u8 *doc_path = NULL; /* gath to documentation dir */
|
|
||||||
|
|
||||||
/* Initialize MOpt "globals" for this afl state */
|
/* Initialize MOpt "globals" for this afl state */
|
||||||
|
|
||||||
static void init_mopt_globals(afl_state_t *afl) {
|
static void init_mopt_globals(afl_state_t *afl) {
|
||||||
|
@ -25,8 +25,6 @@
|
|||||||
|
|
||||||
#include "afl-fuzz.h"
|
#include "afl-fuzz.h"
|
||||||
|
|
||||||
u8 be_quiet = 0;
|
|
||||||
|
|
||||||
static u8 *get_libradamsa_path(u8 *own_loc) {
|
static u8 *get_libradamsa_path(u8 *own_loc) {
|
||||||
|
|
||||||
u8 *tmp, *cp, *rsl, *own_copy;
|
u8 *tmp, *cp, *rsl, *own_copy;
|
||||||
|
@ -59,12 +59,9 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
|
|
||||||
u8 be_quiet;
|
|
||||||
|
|
||||||
char *stdin_file; /* stdin file */
|
char *stdin_file; /* stdin file */
|
||||||
|
|
||||||
u8 *in_dir, /* input folder */
|
u8 *in_dir, /* input folder */
|
||||||
*doc_path, /* Path to docs */
|
|
||||||
*at_file = NULL; /* Substitution string for @@ */
|
*at_file = NULL; /* Substitution string for @@ */
|
||||||
|
|
||||||
static u8 *in_data; /* Input data */
|
static u8 *in_data; /* Input data */
|
||||||
|
@ -61,8 +61,7 @@
|
|||||||
static u8 *mask_bitmap; /* Mask for trace bits (-B) */
|
static u8 *mask_bitmap; /* Mask for trace bits (-B) */
|
||||||
|
|
||||||
u8 *in_file, /* Minimizer input test case */
|
u8 *in_file, /* Minimizer input test case */
|
||||||
*output_file, /* Minimizer output file */
|
*output_file; /* Minimizer output file */
|
||||||
*doc_path; /* Path to docs */
|
|
||||||
|
|
||||||
static u8 *in_data; /* Input data for trimming */
|
static u8 *in_data; /* Input data for trimming */
|
||||||
|
|
||||||
@ -77,8 +76,7 @@ u8 crash_mode, /* Crash-centric mode? */
|
|||||||
hang_mode, /* Minimize as long as it hangs */
|
hang_mode, /* Minimize as long as it hangs */
|
||||||
exit_crash, /* Treat non-zero exit as crash? */
|
exit_crash, /* Treat non-zero exit as crash? */
|
||||||
edges_only, /* Ignore hit counts? */
|
edges_only, /* Ignore hit counts? */
|
||||||
exact_mode, /* Require path match for crashes? */
|
exact_mode; /* Require path match for crashes? */
|
||||||
be_quiet;
|
|
||||||
|
|
||||||
static volatile u8 stop_soon; /* Ctrl-C pressed? */
|
static volatile u8 stop_soon; /* Ctrl-C pressed? */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user