about summary refs log tree commit diff
path: root/llvm_mode/afl-ld.c
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 /llvm_mode/afl-ld.c
parentd8d89507b5cdbd066c149fd3c86a91b3948521aa (diff)
downloadafl++-684f4dd1c44053517c6685a8a3137691535ecd84.tar.gz
honor afl_quiet on env var checks + code-format
Diffstat (limited to 'llvm_mode/afl-ld.c')
-rw-r--r--llvm_mode/afl-ld.c14
1 files changed, 7 insertions, 7 deletions
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;