Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@axel22
Created November 13, 2019 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axel22/e85aab234c1074139a80592b3209c0e1 to your computer and use it in GitHub Desktop.
Save axel22/e85aab234c1074139a80592b3209c0e1 to your computer and use it in GitHub Desktop.
(module
(type $t0 (func))
(type $t1 (func (result i32)))
(func $__wasm_call_ctors (type $t0))
(func $main (export "main") (type $t1) (result i32)
i32.const 42)
(table $T0 1 1 anyfunc)
(memory $memory (export "memory") 0)
(global $g0 (mut i32) (i32.const 66560))
(global $__heap_base (export "__heap_base") i32 (i32.const 66560))
(global $__data_end (export "__data_end") i32 (i32.const 1024)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment