Skip to content

A bug in singlepass mode #422

@erxiaozhou

Description

@erxiaozhou

Bug Report

1. Minimal reproduce step (Required)

(module
  (type (;0;) (func))
  (func (;0;) (type 0)
    i32.const -2097153
    i64.const 0
    i64.store16 offset=1257956348 align=1)
  (memory (;0;) 32769)
  (export "to_test" (func 0)))
  1. Transform the WAT to WASM
  2. Use the singlepass mode to execute it
dtvm -m singlepass  -f to_test <test_case>

2. What did you expect to see? (Required)

There is a memory OOB.

3. What did you see instead (Required)

No Exception

4. What is the version of this project you are using? (Required)

78a5573

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions