google / google/clusterfuzz

Integration of new test case reducers?

Open
#338 3 comments 0 reactions 1 assignee Claimed by @mbarbella-chromium View on GitHub
core feature
Dominant language
Python
Stars
5.6k
Forks
629
Avg merge
4d 6h
Merged PRs (30d)
22

Description

I've seen that the project uses separate minimizers for different input formats (like JS and HTML) and also supports a syntax-unaware reduction approach, too.
My question is whether the community is interested in the integration of a general solution for these tasks which can work on any kind of formats?

In the last few years, we've developed and used two Python{2,3}-based tools for this purpose:
1) picire is a syntax-unaware parallel minimizer that can work at line or character level
https://github.com/renatahodovan/picire
2) picireny is a syntax-aware parallel minimizer (built upon the previous tool) that can reduce any input formats that have ANTLRv4 grammars.
https://github.com/renatahodovan/picireny
Available grammars: https://github.com/antlr/grammars-v4/

I'm happy to work/collaborate on their integration if there is any interest in them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.