aboutsummaryrefslogtreecommitdiff
path: root/gcc_plugin
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-03-11 11:42:57 +0100
committervan Hauser <vh@thc.org>2020-03-11 11:42:57 +0100
commit684f4dd1c44053517c6685a8a3137691535ecd84 (patch)
tree67b729127193050c7812bf2159ffac047b45280d /gcc_plugin
parentd8d89507b5cdbd066c149fd3c86a91b3948521aa (diff)
downloadafl++-684f4dd1c44053517c6685a8a3137691535ecd84.tar.gz
honor afl_quiet on env var checks + code-format
Diffstat (limited to 'gcc_plugin')
-rw-r--r--gcc_plugin/afl-gcc-fast.c2
-rw-r--r--gcc_plugin/afl-gcc-rt.o.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc_plugin/afl-gcc-fast.c b/gcc_plugin/afl-gcc-fast.c
index 247adabc..3583345e 100644
--- a/gcc_plugin/afl-gcc-fast.c
+++ b/gcc_plugin/afl-gcc-fast.c
@@ -37,7 +37,7 @@
#include <stdlib.h>
#include <string.h>
-static u8 *obj_path; /* Path to runtime libraries */
+static u8 * obj_path; /* Path to runtime libraries */
static u8 **cc_params; /* Parameters passed to the real CC */
static u32 cc_par_cnt = 1; /* Param count, including argv0 */
u8 use_stdin = 0; /* dummy */
diff --git a/gcc_plugin/afl-gcc-rt.o.c b/gcc_plugin/afl-gcc-rt.o.c
index 1cdcfc67..77bb5325 100644
--- a/gcc_plugin/afl-gcc-rt.o.c
+++ b/gcc_plugin/afl-gcc-rt.o.c
@@ -86,7 +86,7 @@ static void __afl_map_shm(void) {
if (id_str) {
#ifdef USEMMAP
- const char *shm_file_path = id_str;
+ const char * shm_file_path = id_str;
int shm_fd = -1;
unsigned char *shm_base = NULL;