about summary refs log tree commit diff
path: root/llvm_mode
diff options
context:
space:
mode:
Diffstat (limited to 'llvm_mode')
-rw-r--r--llvm_mode/afl-clang-fast.c6
-rw-r--r--llvm_mode/afl-ld.c14
-rw-r--r--llvm_mode/afl-llvm-rt.o.c8
3 files changed, 14 insertions, 14 deletions
diff --git a/llvm_mode/afl-clang-fast.c b/llvm_mode/afl-clang-fast.c
index 9caa7111..437f4656 100644
--- a/llvm_mode/afl-clang-fast.c
+++ b/llvm_mode/afl-clang-fast.c
@@ -37,13 +37,13 @@
 #include <limits.h>
 #include <assert.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      */
 static u8   llvm_fullpath[PATH_MAX];
 static u8   lto_mode;
-static u8 *lto_flag = AFL_CLANG_FLTO;
-static u8 *march_opt = CFLAGS_OPT;
+static u8 * lto_flag = AFL_CLANG_FLTO;
+static u8 * march_opt = CFLAGS_OPT;
 static u8   debug;
 static u8   cwd[4096];
 static u8   cmplog_mode;
diff --git a/llvm_mode/afl-ld.c b/llvm_mode/afl-ld.c
index 0a244727..860ec569 100644
--- a/llvm_mode/afl-ld.c
+++ b/llvm_mode/afl-ld.c
@@ -78,7 +78,7 @@ static u32 ld_param_cnt = 1,        /* Number of params to 'ld'             */
 /* This function wipes a directory - our AR unpack directory in this case */
 static u8 wipe_directory(u8 *path) {
 
-  DIR *d;
+  DIR *          d;
   struct dirent *d_ent;
 
   d = opendir(path);
@@ -328,12 +328,12 @@ static void edit_params(int argc, char **argv) {
       // where the same "foo.o" was in both .a archives. llvm-link does not
       // like this so we have to work around that ...
 
-      u8 this_wd[4096], *this_ar;
-      u8 ar_params_cnt = 4;
-      u8 *ar_params[ar_params_cnt];
-      u8 *file = argv[i];
-      s32 pid, status;
-      DIR *arx;
+      u8             this_wd[4096], *this_ar;
+      u8             ar_params_cnt = 4;
+      u8 *           ar_params[ar_params_cnt];
+      u8 *           file = argv[i];
+      s32            pid, status;
+      DIR *          arx;
       struct dirent *dir_ent;
 
       if (libdir_index < libdir_cnt) file = libdir_file;
diff --git a/llvm_mode/afl-llvm-rt.o.c b/llvm_mode/afl-llvm-rt.o.c
index 1fa77fd9..5f9a5534 100644
--- a/llvm_mode/afl-llvm-rt.o.c
+++ b/llvm_mode/afl-llvm-rt.o.c
@@ -89,8 +89,8 @@ static void __afl_map_shm(void) {
   if (id_str) {
 
 #ifdef USEMMAP
-    const char *shm_file_path = id_str;
-    int shm_fd = -1;
+    const char *   shm_file_path = id_str;
+    int            shm_fd = -1;
     unsigned char *shm_base = NULL;
 
     /* create the shared memory segment as if it was a file */
@@ -137,8 +137,8 @@ static void __afl_map_shm(void) {
   if (id_str) {
 
 #ifdef USEMMAP
-    const char *shm_file_path = id_str;
-    int shm_fd = -1;
+    const char *   shm_file_path = id_str;
+    int            shm_fd = -1;
     unsigned char *shm_base = NULL;
 
     /* create the shared memory segment as if it was a file */