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

View File

@@ -39,7 +39,9 @@ TEST(Euler, SumsOfLikePowers) {
<< "^5 + " << d << "^5 = " << e << "^5";
}
#ifndef LIBFUZZER
int main(int argc, char *argv[]) {
DeepState_InitOptions(argc, argv);
return DeepState_Run();
}
#endif