Catch compiler errors due to missing source.

This commit is contained in:
Bhargava Shastry 2021-03-11 10:29:55 +01:00
parent 7108b7d465
commit 67a4d6f01d

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;
}