google / clusterfuzz

Scalable fuzzing infrastructure.
https://google.github.io/clusterfuzz
Apache License 2.0
5.29k stars 555 forks source link

Set Monorail components based on flags #2779

Open mi-ac opened 2 years ago

mi-ac commented 2 years ago

In V8 we have several flags that might indicate a certain component for a bug found on Monorail. We'd like to get the following behavior:

Have a mapping somewhere: flag -> component

For a crash report after minimization, check if the mapping has a key for the flags required for the repro. If yes, add the component to the Monorail issue.

I looked into test predator, but that service doesn't have the flags from the crash report and seems to be focused on metadata from files. Maybe we could set a component based on a flag in clusterfuzz directly and have such a mapping e.g. as config data on a job?

oliverchang commented 2 years ago

This is certainly all doable, but I'm wary of adding very v8 specific logic into our bug filing rules.

One alternative may be to include the flags that we used in the resulting bug reports, and have some other project-specific tool apply the right components etc. Would that work?