Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

add cooloff period for rapidly exiting libFuzzer targets #1002

Merged
merged 2 commits into from
Jun 18, 2021

Conversation

bmc-msft
Copy link
Contributor

For rapidly exiting libFuzzer targets, the agent can get into a state where it never has a chance for the handles to get reaped. This eventually causes an OOM error in the system.

This enforces that within a given worker, at least 5 seconds have occurred between each execution of the target.

Note, we effectively had a sleep before, but the performance improvements in #941 removed the effective sleep.

@bmc-msft bmc-msft merged commit c8862c7 into microsoft:main Jun 18, 2021
@bmc-msft bmc-msft deleted the add-cooloff-period-for-libfuzzer branch June 18, 2021 15:40
@ghost ghost locked as resolved and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants