c4-project / c4f

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

Add loop-unsafe metadata and path flags #211

Closed MattWindsor91 closed 4 years ago

MattWindsor91 commented 4 years ago

Certain fuzzer actions introduce code that is unstable if looped more than once. These actions need extra flag accounting to make sure that:

  1. they don't get generated in loops that aren't guaranteed statically one-iteration;
  2. loops that aren't statically one-iteration or deadcode don't surround it (this isn't an issue right now, but will be if we add such loops).

I reckon that a decent way forwards here looks like this:

MattWindsor91 commented 4 years ago

Done now, but I missed the commit reference.