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
|
(module
(type $0 (func))
(type $1 (func (param i32)))
(import "env" "table" (table $timport$9 1 funcref))
(import "env" "__stack_pointer" (global $sp (mut i32)))
(import "GOT.func" "__stdio_write" (global $gimport$9 (mut i32)))
(import "env" "__table_base" (global $tb i32))
(global $global i32 (i32.const 42))
(elem $0 (global.get $tb) $other $stuff)
(export "__stdio_write" (func $__stdio_write))
(export "__data_end" (global $global))
(export "dynCall_v" (func $dynCall_v))
(func $__stdio_write
(nop)
)
(func $other
(nop)
)
(func $stuff
(nop)
)
(func $dynCall_v (param $fptr i32)
(call_indirect (type $0)
(local.get $fptr)
)
)
)
|