diff options
author | van Hauser <vh@thc.org> | 2020-03-09 12:21:54 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-03-09 12:21:54 +0100 |
commit | 988a32ced5ce08465940c985bb538c87d4c4b4e7 (patch) | |
tree | 1a8362bd269384c38ee2be0d8db92998a39f6445 /src/afl-common.c | |
parent | 188a6f5ec58d776d2246baed9a66fdd56245bc28 (diff) | |
download | afl++-988a32ced5ce08465940c985bb538c87d4c4b4e7.tar.gz |
code-format
Diffstat (limited to 'src/afl-common.c')
-rw-r--r-- | src/afl-common.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/afl-common.c b/src/afl-common.c index fc495b60..06c691b3 100644 --- a/src/afl-common.c +++ b/src/afl-common.c @@ -38,7 +38,7 @@ extern u8 be_quiet; -void detect_file_args(char **argv, u8 *prog_in, u8 use_stdin) { +void detect_file_args(char** argv, u8* prog_in, u8 use_stdin) { u32 i = 0; #ifdef __GLIBC__ @@ -110,7 +110,7 @@ void detect_file_args(char **argv, u8 *prog_in, u8 use_stdin) { /* Rewrite argv for QEMU. */ -char** get_qemu_argv(u8* own_loc, u8 **target_path_p, int argc, char **argv) { +char** get_qemu_argv(u8* own_loc, u8** target_path_p, int argc, char** argv) { char** new_argv = ck_alloc(sizeof(char*) * (argc + 4)); u8 * tmp, *cp = NULL, *rsl, *own_copy; @@ -168,7 +168,8 @@ char** get_qemu_argv(u8* own_loc, u8 **target_path_p, int argc, char **argv) { SAYF("\n" cLRD "[-] " cRST "Oops, unable to find the 'afl-qemu-trace' binary. The binary must be " "built\n" - " separately by following the instructions in afl->qemu_mode/README.md. " + " separately by following the instructions in " + "afl->qemu_mode/README.md. " "If you\n" " already have the binary installed, you may need to specify " "AFL_PATH in the\n" @@ -187,7 +188,7 @@ char** get_qemu_argv(u8* own_loc, u8 **target_path_p, int argc, char **argv) { /* Rewrite argv for Wine+QEMU. */ -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** new_argv = ck_alloc(sizeof(char*) * (argc + 3)); u8 * tmp, *cp = NULL, *rsl, *own_copy; @@ -264,7 +265,8 @@ char** get_wine_argv(u8* own_loc, u8 **target_path_p, int argc, char **argv) { SAYF("\n" cLRD "[-] " cRST "Oops, unable to find the '%s' binary. The binary must be " "built\n" - " separately by following the instructions in afl->qemu_mode/README.md. " + " separately by following the instructions in " + "afl->qemu_mode/README.md. " "If you\n" " already have the binary installed, you may need to specify " "AFL_PATH in the\n" @@ -329,3 +331,4 @@ char* get_afl_env(char* env) { return val; } + |