c4-project / c4f

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

Push anchoring to generation point #220

Open MattWindsor91 opened 4 years ago

MattWindsor91 commented 4 years ago

Instead of retroactively filtering each statement to make sure that it obeys anchoring, we should only generate paths that respect anchoring. This would involve us tracking the length of the most recent block in the path context.

For instance:

This would need a lot of special-casing, and so I'm not particularly minded to do it right now, but it should be done eventually!