Stream: git-wasmtime

Topic: wasmtime / PR #4895 fuzzgen: Continue execution on traps


view this post on Zulip Wasmtime GitHub notifications bot (Sep 11 2022 at 19:21):

afonso360 opened PR #4895 from continue-on-trap to main:

:wave: Hey,

This PR changes how we deal with traps in fuzzgen. Instead of discarding the entire function outright we continue onto the next function input and test those as well. Maybe they won't trap!

I haven't done any benchmarking on this, but it also didn't seem to decrease execs/s in any meaningful way when I tested it locally.

Thanks @jameysharp for the suggestion!

view this post on Zulip Wasmtime GitHub notifications bot (Sep 11 2022 at 19:22):

afonso360 edited PR #4895 from continue-on-trap to main:

:wave: Hey,

This PR changes how we deal with traps in fuzzgen. Instead of discarding the entire function outright we continue onto the next function input and test those as well. Maybe they won't trap! We do not try to run these inputs on the host machine.

I haven't done any benchmarking on this, but it also didn't seem to decrease execs/s in any meaningful way when I tested it locally.

Thanks @jameysharp for the suggestion!

view this post on Zulip Wasmtime GitHub notifications bot (Sep 12 2022 at 16:10):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 12 2022 at 16:10):

jameysharp merged PR #4895.


Last updated: Dec 23 2024 at 12:05 UTC