code format

This commit is contained in:
van Hauser
2020-05-27 11:28:29 +02:00
parent cee4b4593b
commit aace0d1192
3 changed files with 17 additions and 14 deletions

View File

@ -16,6 +16,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
exactly one master is present and warn otherwise exactly one master is present and warn otherwise
- If no master is present at a sync one slave automatically becomes - If no master is present at a sync one slave automatically becomes
a temporary master until a real master shows up a temporary master until a real master shows up
- fix/update to MOpt (thanks to arnow117)
- llvm_mode: - llvm_mode:
- the default instrumentation is now PCGUARD, as it is faster and provides - the default instrumentation is now PCGUARD, as it is faster and provides
better coverage. The original afl instrumentation can be set via better coverage. The original afl instrumentation can be set via

View File

@ -17,7 +17,7 @@ You can start using the fuzzer without installation, but it is also possible to
install it with: install it with:
```bash ```bash
make install sudo make install
``` ```
There are no special dependencies to speak of; you will need GNU make and a There are no special dependencies to speak of; you will need GNU make and a
@ -46,7 +46,7 @@ please install it first. As on Linux, you can use the fuzzer itself without
installation, or install it with: installation, or install it with:
``` ```
gmake install sudo gmake install
``` ```
Keep in mind that if you are using csh as your shell, the syntax of some of the Keep in mind that if you are using csh as your shell, the syntax of some of the

View File

@ -4251,7 +4251,7 @@ pacemaker_fuzzing:
afl->queued_paths + afl->unique_crashes - temp_total_found; afl->queued_paths + afl->unique_crashes - temp_total_found;
afl->total_puppet_find = afl->total_puppet_find + temp_temp_puppet; afl->total_puppet_find = afl->total_puppet_find + temp_temp_puppet;
if (MOpt_globals.is_pilot_mode){ if (MOpt_globals.is_pilot_mode) {
for (i = 0; i < operator_num; ++i) { for (i = 0; i < operator_num; ++i) {
@ -4265,13 +4265,14 @@ pacemaker_fuzzing:
} else { } else {
for (i = 0; i < operator_num; i++) { for (i = 0; i < operator_num; i++) {
if (afl->core_operator_cycles_puppet_v2[i] > afl->core_operator_cycles_puppet_v3[i]) if (afl->core_operator_cycles_puppet_v2[i] >
afl->core_operator_cycles_puppet_v3[i])
afl->core_operator_finds_puppet_v2[i] += temp_temp_puppet; afl->core_operator_finds_puppet_v2[i] += temp_temp_puppet;
} }
} }
@ -4545,14 +4546,15 @@ pacemaker_fuzzing:
} else { } else {
for (i = 0; i < operator_num; i++) for (i = 0; i < operator_num; i++) {
{
afl->core_operator_finds_puppet[i] = afl->core_operator_finds_puppet_v2[i]; afl->core_operator_finds_puppet[i] =
afl->core_operator_cycles_puppet[i] = afl->core_operator_cycles_puppet_v2[i]; afl->core_operator_finds_puppet_v2[i];
temp_stage_finds_puppet += afl->core_operator_finds_puppet[i]; afl->core_operator_cycles_puppet[i] =
afl->core_operator_cycles_puppet_v2[i];
} temp_stage_finds_puppet += afl->core_operator_finds_puppet[i];
}
afl->key_module = 2; afl->key_module = 2;