Skip to content

[wasm] Jiterpreter implementation of CALL_HANDLER is incorrect #98577

Closed
@kg

Description

@kg

When implementing a CALL_HANDLER opcode, the jiterpreter does not properly update the clause data before taking the branch. This means that (in theory) if a trace were to bail out from inside a finally block, the block's ENDFINALLY opcode would not branch to the correct place in the interpreter.
ENDFINALLY appears to properly check the clause data though.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions