c4-project / c4f

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

Emit metadata as comments #214

Open MattWindsor91 opened 4 years ago

MattWindsor91 commented 4 years ago

Something I've been wanting to do for a long, long time is make it so that the reifier can output comments representing metadata. This would be purely for debuggability, as the parser/abstractor wouldn't be able to read them back in.

I think the way this would work would be:

MattWindsor91 commented 4 years ago

One issue may be that I think the filtering boilerplate for the fuzzer assumes that it's converting to and from the same metadata type (unit), but this might not be true.

MattWindsor91 commented 4 years ago

This ended up eating an entire day of work without any actual progress, so I'm a little averse to working on it again in the near future...