aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-13 20:23:24 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-13 20:23:24 +0200
commit0fab4e1955b4550a24a1baed2165b4d9ea71b9e1 (patch)
tree8ffa9abf834f9a424e24e52e252de69d2b1bb79d
parenta2574169e2b4f2567ca2961843ad3615b7aa7c9a (diff)
downloadafl++-0fab4e1955b4550a24a1baed2165b4d9ea71b9e1.tar.gz
c files static
-rw-r--r--src/afl-showmap.c6
-rw-r--r--src/afl-tmin.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 63c8caa8..9067c2a1 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -59,9 +59,9 @@
#include <sys/types.h>
#include <sys/resource.h>
-char *stdin_file; /* stdin file */
+static char *stdin_file; /* stdin file */
-u8 *in_dir, /* input folder */
+static u8 *in_dir, /* input folder */
*at_file = NULL; /* Substitution string for @@ */
static u8 *in_data; /* Input data */
@@ -71,7 +71,7 @@ static u32 total, highest; /* tuple content information */
static u32 in_len, /* Input data length */
arg_offset, total_execs; /* Total number of execs */
-u8 quiet_mode, /* Hide non-essential messages? */
+static u8 quiet_mode, /* Hide non-essential messages? */
edges_only, /* Ignore hit counts? */
raw_instr_output, /* Do not apply AFL filters */
cmin_mode, /* Generate output in afl-cmin mode? */
diff --git a/src/afl-tmin.c b/src/afl-tmin.c
index 3be6b2c0..2df1aed1 100644
--- a/src/afl-tmin.c
+++ b/src/afl-tmin.c
@@ -60,7 +60,7 @@
static u8 *mask_bitmap; /* Mask for trace bits (-B) */
-u8 *in_file, /* Minimizer input test case */
+static u8 *in_file, /* Minimizer input test case */
*output_file; /* Minimizer output file */
static u8 *in_data; /* Input data for trimming */
@@ -72,7 +72,7 @@ static u32 in_len, /* Input data length */
missed_crashes, /* Misses due to crashes */
missed_paths; /* Misses due to exec path diffs */
-u8 crash_mode, /* Crash-centric mode? */
+static u8 crash_mode, /* Crash-centric mode? */
hang_mode, /* Minimize as long as it hangs */
exit_crash, /* Treat non-zero exit as crash? */
edges_only, /* Ignore hit counts? */