mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Catch compiler errors due to missing source.
This commit is contained in:
1 parent
fc83e47b8b
commit
fc97453e47
1 file changed
+4
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user