foundationdb icon indicating copy to clipboard operation
foundationdb copied to clipboard

Clang source-based code coverage with fuzz test

Open xis19 opened this issue 1 year ago • 1 comments

It seems clang supports source-based code coverage tool, if it is possible to map flow-generated code back to original code, we may not need to handle our own set of macro-based coverage tool which brings extra complicity.

xis19 avatar Dec 29 '24 08:12 xis19

This is interesting, but may not completely cover what CODE_PROBE does. For instance, CODE_PROBE macro has more features like checking different conditions, e.g.,

			CODE_PROBE(quarantine, "Quarantining TSS because it got mismatch");
			CODE_PROBE(!quarantine, "Killing TSS because it got mismatch");

jzhou77 avatar Jan 08 '25 16:01 jzhou77