Throw exception to allow fuzzer to report which file it failed on.

This commit is contained in:
chriseth
2019-04-04 14:05:38 +02:00
parent 3795569da6
commit ef413bb0b3
3 changed files with 12 additions and 6 deletions
+4
View File
@@ -17,6 +17,10 @@
#include <string>
/**
* Functions to be used for fuzz-testing of various components.
* They throw exceptions or error.
*/
struct FuzzerUtil
{
static void runCompiler(std::string const& _input, bool _quiet);