@
3dwelcome 我还以为这么写代码的。。。
block $label0
local.get $var0
i32.const 12
i32.add
local.get $var0
i32.const 8
i32.add
call $wasi_snapshot_preview1.environ_sizes_get
br_if $label0
i32.const 628036
local.get $var0
i32.load offset=12
i32.const 2
i32.shl
i32.const 4
i32.add
call $malloc
local.tee $var1
i32.store
local.get $var1
i32.eqz
br_if $label0
local.get $var0
i32.load offset=8
call $malloc
local.tee $var1
if
i32.const 628036
i32.load
local.get $var0
i32.load offset=12
i32.const 2
i32.shl
i32.add
i32.const 0
i32.store
i32.const 628036
i32.load
local.get $var1
call $wasi_snapshot_preview1.environ_get
i32.eqz
br_if $label0
end
i32.const 628036
i32.const 0
i32.store
end $label0
搞了半天还不是写别的语言。。