Stream: git-wasmtime

Topic: wasmtime / PR #3258 cranelift: Prevent infinite loops in ...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 27 2021 at 17:33):

afonso360 opened PR #3258 from ssa-dce to main:

This issue was found by the CLIF fuzzer in #3094.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 27 2021 at 17:34):

afonso360 updated PR #3258 from ssa-dce to main.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 27 2021 at 17:36):

afonso360 edited PR #3258 from ssa-dce to main:

This issue was found by the CLIF fuzzer in #3094.

It looks like all we need to do is not special case the single predecessor if the predecessor is itself. The normal path includes the operandless param, which is enough to stop the infinite looping.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 27 2021 at 17:37):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 27 2021 at 17:37):

bjorn3 created PR review comment:

I think the original comment is still accurate and more descriptive of the problem this prevents.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 27 2021 at 17:37):

afonso360 edited PR #3258 from ssa-dce to main:

This issue was found by the CLIF fuzzer in #3094. There is a better description in this comment

It looks like all we need to do is not special case the single predecessor if the predecessor is itself. The normal path includes the operandless param, which is enough to stop the infinite looping.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 27 2021 at 17:44):

afonso360 updated PR #3258 from ssa-dce to main.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 01 2021 at 10:22):

afonso360 updated PR #3258 from ssa-dce to main.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 01 2021 at 18:19):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 01 2021 at 18:19):

cfallin merged PR #3258.


Last updated: Nov 22 2024 at 16:03 UTC