c4-project / c4f

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

Add 'sealed' metadata and path flags #210

Open MattWindsor91 opened 3 years ago

MattWindsor91 commented 3 years ago

Sometimes, we might have a series of statements that need to be kept together without interruption by insertion or surround actions. The implicit block lets us group together statements along with block-scoped metadata; while I initially added this to make it possible to insert dead-code blocks that aren't explicit in the C code, it seems like it could be repurposed to perform this grouping.

For this, we need a few new flags. I'm thinking:

I'd then make a seal function that generates these sealed blocks.