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

@@ -40,7 +40,9 @@ TEST(SignedInteger, MultiplicationOverflow) {
<< x << " squared overflowed.";
}
#ifndef LIBFUZZER
int main(int argc, char *argv[]) {
DeepState_InitOptions(argc, argv);
return DeepState_Run();
}
#endif