DLR-FT/wasm-interpreter

Handling of invalid instructions during execution

Fechada

#86 aberto em 10 de set. de 2024

 (0 comentário) (0 reação) (0 responsável)Rust (5 forks)auto 404
executionhelp wantedpriority-low

Métricas do repositório

Stars
 (37 estrelas)
Métricas de merge de PR
 (Mesclagem média 5d 12h) (16 fundiu PRs em 30d)

Description

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

Guia do colaborador