Skip to content

[soundness] fix the frame rule again in instr_ok2 - #2226

Open
zilinc wants to merge 2 commits into
WebAssembly:mainfrom
zilinc:zilinc/fix-instr_ok2
Open

[soundness] fix the frame rule again in instr_ok2#2226
zilinc wants to merge 2 commits into
WebAssembly:mainfrom
zilinc:zilinc/fix-instr_ok2

Conversation

@zilinc

@zilinc zilinc commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the wrong fix in #2212.
It's ported from wasm 2.0 soundness.
Frame_ok implies that C'.RETURN = eps.
(credits to @maximelegoupil)

zilinc added 2 commits August 14, 2026 17:17
ported from wasm 2.0
@maximelegoupil: Frame_ok implies that C'.RETURN = eps
@rossberg

rossberg commented Sep 1, 2026

Copy link
Copy Markdown
Member

I think it would be more consistent to change Frame_ok to add RETURN to the context. It already adds locals, so it would only be natural if it also adjusted everything else for the inner scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants