Libfuzzerize all examples

This commit is contained in:
Alex Groce
2018-07-30 21:31:41 -07:00
parent 3006e19817
commit c23e4e20b5
9 changed files with 72 additions and 2 deletions
+2 -1
View File
@@ -53,8 +53,9 @@ TEST(PrimePolynomial, OnlyGeneratesPrimes_NoStreaming) {
DeepState_Assert(IsPrime(Pump(poly)));
}
#ifndef LIBFUZZER
int main(int argc, char *argv[]) {
DeepState_InitOptions(argc, argv);
return DeepState_Run();
}
#endif