Open
Description
When mutating a project, Dredd takes in a compile_commands.json
file as well as a list of files that should be mutated. This approach is okay for smaller projects but can be impractical for mutating large project. It is also not always suitable to include all .c or .cc files as some may only be used for OS specific features. This can lead to errors when mutating projects were this is the case.
To solve this problem, a flag should be added to Dredd that works as follows:
- If
compile_commands.json
is passed and no .c or .cc files are passed to Dredd, then Dredd should mutate all files present incompile_commands.json
. - If
compile_commands.json
is passed and files are passed to Dredd, these files should be mutated as normal, but a warning should be given if one of the files passed is not present incompile_commands.json
.
Metadata
Metadata
Assignees
Labels
No labels
Activity