code format

This commit is contained in:
van Hauser
2020-06-01 12:30:55 +02:00
parent bca7ce8043
commit 0de25f08ba
4 changed files with 43 additions and 23 deletions

View File

@ -1949,7 +1949,6 @@ static void handle_skipreq(int sig) {
}
/* Setup shared map for fuzzing with input via sharedmem */
void setup_testcase_shmem(afl_state_t *afl) {
@ -1978,7 +1977,6 @@ void setup_testcase_shmem(afl_state_t *afl) {
}
/* Do a PATH search and find target binary to see that it exists and
isn't a shell script - a common and painful mistake. We also check for
a valid ELF header and for evidence of AFL instrumentation. */

View File

@ -1179,11 +1179,7 @@ int main(int argc, char **argv_orig, char **envp) {
check_binary(afl, argv[optind]);
if (afl->shmem_testcase_mode) {
setup_testcase_shmem(afl);
}
if (afl->shmem_testcase_mode) { setup_testcase_shmem(afl); }
afl->start_time = get_cur_time();