Stream: git-wasmtime

Topic: wasmtime / PR #2482 Fix `branch_destination_mut()` access...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 06 2020 at 02:09):

cfallin requested alexcrichton and fitzgen for a review on PR #2482.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 06 2020 at 02:09):

cfallin opened PR #2482 from fix-indirect-br-branch-dest-accessor to main:

Found via fuzzing: the branch_destination_mut() accessor on
InstructionData was missing a case for IndirectJump. As per the
doc-comment, this should return None. Note that the match in
branch_destination() does have IndirectJump in the analogous place;
this appears to just have been an oversight.

Adding an LICM test from the fuzzer (minimized) because this is how it
was triggered; it's somewhat difficult to write a more direct test than
this.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Dec 06 2020 at 02:09):

cfallin requested alexcrichton and fitzgen for a review on PR #2482.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 07 2020 at 08:04):

bnjbvr submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 07 2020 at 17:26):

cfallin closed without merge PR #2482.


Last updated: Dec 23 2024 at 12:05 UTC