Catch compiler errors due to missing source.

This commit is contained in:
Bhargava Shastry
2021-06-14 13:27:12 +02:00
parent 7108b7d465
commit 67a4d6f01d
+4
View File
@@ -158,6 +158,10 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* _data, size_t _size)
{
return 0;
}
catch (solidity::langutil::CompilerError const&)
{
return 0;
}
}
return 0;
}