DLR-FT/wasm-interpreter

Handling of invalid instructions during execution

已关闭

#86 创建于 2024年9月10日

 (0 条评论) (0 个反应) (0 位负责人)Rust (5 个派生)auto 404
executionhelp wantedpriority-low

仓库指标

星标
 (37 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently we skip invalid instructions in the main interpreter loop. Should we instead panic here to avoid possible misinterpretation of the following instructions? This could also be an issue for security.

https://github.com/DLR-FT/wasm-interpreter/blob/219d9336e117eb62fc954a21aeaad1e9c2c14193/src/execution/interpreter_loop.rs#L1406-L1408

贡献者指南