mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 17:51:32 +00:00
nits
This commit is contained in:
@ -13,13 +13,15 @@
|
||||
- more frequent stats update when syncing (todo: check performance impact)
|
||||
* afl-cc:
|
||||
- re-enable i386 support that was accidently disabled
|
||||
- fixes for LTO and outdated afl-gcc mode
|
||||
- fixes for LTO and outdated afl-gcc mode for i386
|
||||
- fix COMPCOV split compare for old LLVMs
|
||||
- disable xml/curl/g_ string transform functions because we do not check
|
||||
for null pointers ... TODO
|
||||
- ensure shared memory variables are visible in weird build setups
|
||||
* afl-cmin
|
||||
- work with input files that have a space
|
||||
* afl-showmap
|
||||
- minor fix to collect coverage -C (thanks to @bet4it)
|
||||
* enhanced the ASAN configuration
|
||||
|
||||
|
||||
|
@ -178,7 +178,8 @@ fsrv_run_result_t fuzz_run_target(afl_state_t *afl, afl_forkserver_t *fsrv,
|
||||
void classify_counts(afl_forkserver_t *fsrv) {
|
||||
|
||||
u8 *mem = fsrv->trace_bits;
|
||||
const u8 *map = (binary_mode || collect_coverage) ? count_class_binary : count_class_human;
|
||||
const u8 *map = (binary_mode || collect_coverage) ? count_class_binary
|
||||
: count_class_human;
|
||||
|
||||
u32 i = map_size;
|
||||
|
||||
@ -240,11 +241,7 @@ static void analyze_results(afl_forkserver_t *fsrv) {
|
||||
u32 i;
|
||||
for (i = 0; i < map_size; i++) {
|
||||
|
||||
if (fsrv->trace_bits[i]) {
|
||||
|
||||
coverage_map[i] |= fsrv->trace_bits[i];
|
||||
|
||||
}
|
||||
if (fsrv->trace_bits[i]) { coverage_map[i] |= fsrv->trace_bits[i]; }
|
||||
|
||||
}
|
||||
|
||||
@ -1336,6 +1333,8 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
}
|
||||
|
||||
if (collect_coverage) { binary_mode = false; } // ensure this
|
||||
|
||||
if (optind == argc || !out_file) { usage(argv[0]); }
|
||||
|
||||
if (in_dir && in_filelist) { FATAL("you can only specify either -i or -I"); }
|
||||
|
Reference in New Issue
Block a user