csmith-project / creduce

C-Reduce, a C and C++ program reducer
Other
1.47k stars 128 forks source link

Port C-Reduce to Python v2 #211

Closed marxin closed 4 years ago

marxin commented 4 years ago

This pull request extends an already existing attempt to port C-Reduce to Python (#114). First, I have to say that @mpflanzer did a great job and the port is really nice. I see it great opportunity to modernize the tool that I've used 1000x for reducting of GCC bugs. I really like the tool and I must thank you for what you've done so far.

The reasoning for the port:

Speed comparison: I selected 3 GCC bugs and corresponding log files can be seen here: https://github.com/marxin/creduce-benchmarks

Collected statistics:

Future plans: I'm willing to maintain and develop the Python core and I would like to become one of the project maintainers. Hope the community will welcome the port. Right now I'm going to come up with a parallel transform phase that can rapidly increase interestingness of clang_delta pass. It seems that the initial replace-function-with-decl and remove-unused-function passes are very effective, but run practically serially.

Thanks.