1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
(module
(type $none_=>_none (func))
(type $i32_i32_i32_=>_i32 (func (param i32 i32 i32) (result i32)))
(type $none_=>_i32 (func (result i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(import "env" "memory" (memory $mimport$0 1))
(data $.data (global.get $__memory_base) "\00ii\00i\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
(import "env" "__indirect_function_table" (table $timport$0 0 funcref))
(import "env" "__stack_pointer" (global $__stack_pointer (mut i32)))
(import "env" "__memory_base" (global $__memory_base i32))
(import "env" "__table_base" (global $__table_base i32))
(import "GOT.mem" "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE" (global $__em_asm_sig_builder<__em_asm_type_tuple<>\20>::buffer (mut i32)))
(import "GOT.mem" "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" (global $__em_asm_sig_builder<__em_asm_type_tuple<int\2c\20int>\20>::buffer (mut i32)))
(import "GOT.mem" "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" (global $__em_asm_sig_builder<__em_asm_type_tuple<int>\20>::buffer (mut i32)))
(import "env" "emscripten_asm_const_int" (func $emscripten_asm_const_int (param i32 i32 i32) (result i32)))
(global $global$0 i32 (i32.const 0))
(global $global$1 i32 (i32.const 1))
(global $global$2 i32 (i32.const 4))
(global $global$3 i32 (i32.const 6))
(global $global$4 i32 (i32.const 90))
(export "__wasm_call_ctors" (func $__wasm_call_ctors))
(export "__original_main" (func $__original_main))
(export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE" (global $global$0))
(export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" (global $global$1))
(export "_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" (global $global$2))
(export "main" (func $main))
(func $__wasm_call_ctors
(call $__wasm_apply_data_relocs)
)
(func $__wasm_apply_data_relocs
(nop)
)
(func $__original_main (result i32)
(local $0 i32)
(local $1 i32)
(global.set $__stack_pointer
(local.tee $0
(i32.sub
(global.get $__stack_pointer)
(i32.const 32)
)
)
)
(drop
(call $emscripten_asm_const_int
(i32.add
(local.tee $1
(global.get $__memory_base)
)
(i32.const 6)
)
(global.get $__em_asm_sig_builder<__em_asm_type_tuple<>\20>::buffer)
(i32.const 0)
)
)
(i64.store offset=16
(local.get $0)
(i64.const 115964117005)
)
(i32.store
(local.get $0)
(call $emscripten_asm_const_int
(i32.add
(local.get $1)
(i32.const 39)
)
(global.get $__em_asm_sig_builder<__em_asm_type_tuple<int\2c\20int>\20>::buffer)
(i32.add
(local.get $0)
(i32.const 16)
)
)
)
(drop
(call $emscripten_asm_const_int
(i32.add
(local.get $1)
(i32.const 59)
)
(global.get $__em_asm_sig_builder<__em_asm_type_tuple<int>\20>::buffer)
(local.get $0)
)
)
(global.set $__stack_pointer
(i32.add
(local.get $0)
(i32.const 32)
)
)
(i32.const 0)
)
(func $main (param $0 i32) (param $1 i32) (result i32)
(call $__original_main)
)
)
(;
--BEGIN METADATA --
{
"asmConsts": {
"6": "{ Module.print(\"Hello world\"); }",
"39": "{ return $0 + $1; }",
"59": "{ Module.print(\"Got \" + $0); }"
},
"declares": [
"emscripten_asm_const_int"
],
"globalImports": [
"__stack_pointer",
"__memory_base",
"__table_base",
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE",
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE",
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE"
],
"exports": [
"__wasm_call_ctors",
"__original_main",
"main"
],
"namedGlobals": {
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJEEE6bufferE" : "0",
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiiEEE6bufferE" : "1",
"_ZN20__em_asm_sig_builderI19__em_asm_type_tupleIJiEEE6bufferE" : "4"
},
"invokeFuncs": [
],
"mainReadsParams": 0,
"features": [
]
}
-- END METADATA --
;)
|