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

Support corpus pruning with different sanitizers #851

Open
Dor1s opened this issue Aug 16, 2019 · 0 comments
Open

Support corpus pruning with different sanitizers #851

Dor1s opened this issue Aug 16, 2019 · 0 comments

Comments

@Dor1s
Copy link
Contributor

Dor1s commented Aug 16, 2019

We currently require ASan for corpus pruning. It is possible that we'll have projects without ASan jobs.

Example: google/oss-fuzz#2188 (comment) almost got landed with UBSan only. This one case might be fine, but if we start fuzzing other programming languages or even accommodate more Golang projects, it might be an issue.

The changes that would be necessary:

  1. https://github.com/google/clusterfuzz/blob/master/src/appengine/handlers/cron/project_setup.py should add prune job template to at least one of the job being created, probably prioritizing ASan over others. Interesting question here, if UBSan is generally faster, should we prune with it instead?

  2. process_sanitizer_options in https://github.com/google/clusterfuzz/blob/master/src/python/bot/tasks/corpus_pruning_task.py has to be more flexible and work not only with ASan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants