#minimization #test-case-reduction #c

app treereduce-c

Fast, parallel, syntax-aware program reducer for C

5 unstable releases

0.3.0 Jul 17, 2023
0.2.2 Apr 7, 2023
0.2.1 Mar 21, 2023
0.2.0 Mar 17, 2023
0.1.0 Mar 11, 2023

#3 in #test-case-reduction

31 downloads per month

MIT license

155KB
1.5K SLoC

treereduce

treereduce is a fast, parallel, syntax-aware test case reducer based on tree-sitter grammars. In other words, treereduce helps you shrink structured data (especially source code) while maintaining some property of interest, for example, that the program causes a compiler crash or outputs a certain message. See the documentation for more information. Documentation is also available online.

Dependencies

~11–26MB
~394K SLoC