Commit f9d78d8
authored
Fuzzing: Handle instantiation errors in ClusterFuzz (#7166)
If the module has an invalid segment offset, for example, it will error. We
should not error in the fuzzer on such rare cases.
Also add logging of the actual error, which matches what we do for
errors elsewhere, and makes debugging easier. As a result another place
needs to look for the prefix now, and not the entire string (since we
append the error contents).1 parent 01be840 commit f9d78d8
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1556 | 1556 | | |
1557 | 1557 | | |
1558 | 1558 | | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
1559 | 1563 | | |
1560 | 1564 | | |
1561 | 1565 | | |
| |||
1611 | 1615 | | |
1612 | 1616 | | |
1613 | 1617 | | |
1614 | | - | |
1615 | | - | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
1616 | 1622 | | |
1617 | 1623 | | |
1618 | 1624 | | |
| |||
1672 | 1678 | | |
1673 | 1679 | | |
1674 | 1680 | | |
1675 | | - | |
| 1681 | + | |
1676 | 1682 | | |
1677 | 1683 | | |
1678 | 1684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
| 349 | + | |
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| |||
0 commit comments