Catch compiler errors due to missing source.

This commit is contained in:
Bhargava Shastry 2021-03-11 10:29:55 +01:00
parent fc83e47b8b
commit fc97453e47

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