c4-project / c4f

The C4 Concurrent C Fuzzer
MIT License
13 stars 1 forks source link

Remove unused labels #229

Open MattWindsor91 opened 3 years ago

MattWindsor91 commented 3 years ago

The fuzzer doesn't yet clean up to remove labels that have never been the target of gotos. This needlessly clutters test-cases, and also produces compiler warnings.

This would involve a whole-testcase traversal at the end of the fuzzer (at the same time as we remove unused threads, I guess), as well as storing metadata about which labels are targets of gotos (which I don't think we do yet.)