wagon外部参数和内部参数的统一
参数存在的问题
int test(char *string){
func(string);
func("string");
}(module
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
(import "env" "func" (func $func (param i32) (result i32)))
(table 0 anyfunc)
(memory $0 1)
(data (i32.const 16) "string\00")
(export "memory" (memory $0))
(export "test" (func $test))
(func $test (; 1 ;) (param $0 i32) (result i32)
(drop
(call $func (get_local $0)
)
)
(drop
(call $func (i32.const 16)
)
)
(get_local $0)
)
)ONT处理方式
一种新的方式?
最后更新于