diff options
author | chinggg <24590067+chinggg@users.noreply.github.com> | 2023-08-13 00:24:44 +0800 |
---|---|---|
committer | chinggg <24590067+chinggg@users.noreply.github.com> | 2023-08-13 00:24:44 +0800 |
commit | 030799638ddb7bd42d97fea81951c7cb246e263b (patch) | |
tree | ca3ada11f64aa073334b6a063cde772d4c98dfac /src/afl-fuzz-run.c | |
parent | 8823f22a9c87123c1bfcc5bff10044de4c7a4a1f (diff) | |
download | afl++-030799638ddb7bd42d97fea81951c7cb246e263b.tar.gz |
Remove redundant comparison of `fav_factor` in `update_bitmap_score`
`top_rated_fav_factor` was actually calculated twice, but only one calculation and comparison is needed. Since `fav_factor` > `top_rated_fav_factor` will always cause skip of current iteration, `else if (fuzz_p2 == top_rated_fuzz_p2)` is also redundant.
Diffstat (limited to 'src/afl-fuzz-run.c')
0 files changed, 0 insertions, 0 deletions