Skip to content

Conversation

@chinggg
Copy link
Contributor

@chinggg chinggg commented Sep 3, 2023

After #1836 and 26f29fd, function update_bitmap_score became more clear. But I still found redundant calculation of top_rated_fuzz_p2 when afl->schedule >= FAST && afl->schedule < RARE, though it doesn't affect the final result.
I remove it so the overhead to fetch memory and calculate useless values may be reduced.

when FAST schedule is used, fuzz_p2 is already set to 0 so `fuzz_p2 > top_rated_fuzz_p2`
never happens, just set top_rated_fuzz_p2 to 0 to reduce calculation
@vanhauser-thc
Copy link
Member

Thanks

@vanhauser-thc
Copy link
Member

Weird, GitHub is buggy it is not merging, will try again tomorrow

@vanhauser-thc vanhauser-thc merged commit 2f1043b into AFLplusplus:dev Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants