Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: syz-manager: split out the bug reproduction management #4601

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-nogikh
Copy link
Collaborator

@a-nogikh a-nogikh commented Mar 26, 2024

TODO:

  • Ensure that it works well when bug reproduction is disabled.
  • Test locally.

The motivation is as follows:

  1. vmLoop() is already too big to understand.
  2. We need fewer VMs for reproducers coming from syz-hub, it will let us
    save resources to do more.
  3. The syz-manager http interface used to communicate with vmLoop, which
    sometimes caused significant delays in page rendering.

The new code is better isolated, which has made it possible to cover it with tests

The motivation is as follows:
1) vmLoop() is already too big to understand.
2) We need fewer VMs for reproducers coming from syz-hub, it will let us
   save resources to do more.
3) The syz-manager http interface used to communicate with vmLoop, which
   sometimes caused significant delays in page rendering.

The new code is better isolated, which has made it possible to cover it
with tests.
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 65.71429% with 60 lines in your changes are missing coverage. Please review.

Project coverage is 62.2%. Comparing base (bcd9b39) to head (b97e15f).

Additional details and impacted files
Files Coverage Δ
syz-manager/http.go 0.0% <0.0%> (ø)
syz-manager/hub.go 10.8% <0.0%> (+0.4%) ⬆️
syz-manager/repro.go 84.0% <84.0%> (ø)
syz-manager/manager.go 2.1% <20.8%> (+2.1%) ⬆️

... and 1 file with indirect coverage changes

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.

None yet

1 participant