Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One more valid wasm module that fails validation #87

Closed
fitzgen opened this issue Aug 20, 2020 · 0 comments · Fixed by #88
Closed

One more valid wasm module that fails validation #87

fitzgen opened this issue Aug 20, 2020 · 0 comments · Fixed by #88
Labels
wasmparser Related to the binary format of WebAssembly (wasmparser)

Comments

@fitzgen
Copy link
Member

fitzgen commented Aug 20, 2020

test.wasm.gz

(module
  (type (;0;) (func))
  (type (;1;) (func))
  (type (;2;) (func))
  (type (;3;) (func))
  (type (;4;) (func))
  (type (;5;) (func))
  (type (;6;) (func))
  (type (;7;) (func (param f64)))
  (type (;8;) (func))
  (type (;9;) (func (param f64)))
  (type (;10;) (func))
  (type (;11;) (func))
  (type (;12;) (func))
  (type (;13;) (func))
  (type (;14;) (func))
  (type (;15;) (func))
  (type (;16;) (func))
  (type (;17;) (func (param f64)))
  (type (;18;) (func (param f64)))
  (type (;19;) (func (param f64)))
  (type (;20;) (func (param f64)))
  (type (;21;) (func))
  (type (;22;) (func))
  (type (;23;) (func))
  (type (;24;) (func))
  (type (;25;) (func))
  (type (;26;) (func))
  (type (;27;) (func))
  (type (;28;) (func))
  (type (;29;) (func))
  (type (;30;) (func))
  (type (;31;) (func))
  (type (;32;) (func))
  (type (;33;) (func))
  (type (;34;) (func))
  (type (;35;) (func))
  (type (;36;) (func))
  (type (;37;) (func))
  (type (;38;) (func))
  (type (;39;) (func))
  (type (;40;) (func))
  (type (;41;) (func))
  (type (;42;) (func))
  (type (;43;) (func))
  (type (;44;) (func))
  (type (;45;) (func (param i32) (result i32)))
  (type (;46;) (func (param f64)))
  (type (;47;) (func))
  (type (;48;) (func))
  (type (;49;) (func))
  (type (;50;) (func))
  (type (;51;) (func))
  (type (;52;) (func))
  (type (;53;) (func))
  (type (;54;) (func))
  (type (;55;) (func))
  (type (;56;) (func))
  (type (;57;) (func (param f64)))
  (type (;58;) (func))
  (type (;59;) (func))
  (type (;60;) (func))
  (type (;61;) (func))
  (type (;62;) (func))
  (type (;63;) (func))
  (type (;64;) (func))
  (type (;65;) (func))
  (type (;66;) (func))
  (type (;67;) (func))
  (type (;68;) (func))
  (type (;69;) (func (param i32)))
  (func (;0;) (type 45) (param i32) (result i32)
    (local i32)
    local.get 1
    loop (param i32)  ;; label = @1
      i32.const -458751
      br_table 0 (;@1;) 1 (;@0;) 0 (;@1;)
      unreachable
    end
    unreachable)
  (func (;1;) (type 51)
    unreachable))

Going to try and reduce this a little more.

@fitzgen fitzgen added the wasmparser Related to the binary format of WebAssembly (wasmparser) label Aug 20, 2020
fitzgen pushed a commit to fitzgen/wasm-tools that referenced this issue Oct 21, 2020
Updates the requirements on [wasmparser](https://github.com/bytecodealliance/wasmparser.rs) to permit the latest version.
- [Release notes](https://github.com/bytecodealliance/wasmparser.rs/releases)
- [Commits](https://github.com/bytecodealliance/wasmparser.rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmparser Related to the binary format of WebAssembly (wasmparser)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant