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 合併指標
 (平均合併 5天 12小時) (30 天內合併 16 個 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

貢獻者指南