diswasm

WASM analysis workbench
HomeDocsReferenceCompilerRuntimeBenchmarksDisassemblyDecompileEditEasy EditorIntermediateCreateSavedControllerGame StudioAboutLicensesContributorsOpen source

Local-first parsing. No automatic module execution.

self-hosted mode

Compiler Playground

Compile safe WAT examples locally, inspect generated bytes, and scaffold server compilation for larger toolchains behind explicit gates.

Diagnostics

info WAT subset compiled successfully.

Binary

41bytes
4sections

Decoded Opcode Stream

opcode bytes, immediates, and decoded mnemonics for each function body

Function #0

offset 0x21 · 8 bytes
offsetopcodeimmediatesdecoded
0x000000232000local.get 0
0x000000252001local.get 1
0x000000276ai32.add
0x000000280bend

Normalized WAT

(module ;; wat_subset_module
  (func $add (param $a i32) (param $b i32) (result i32)
    local.get $a
    local.get $b
    i32.add
  )
  (export "add" (func $add))
)

Disassembly

func 0 add
  0x23 local.get
  0x25 local.get
  0x27 i32.add
  0x28 end

Sections

IDNameOffsetSize
1type0xa7
3function0x132
7export0x177
10code0x209