MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_wasm_text

Method get_wasm_text

test/common.py:990–991  ·  view source on GitHub ↗
(self, wasm_binary)

Source from the content-addressed store, hash-verified

988 assert t < len(src)
989
990 def get_wasm_text(self, wasm_binary):
991 return self.run_process([WASM_DIS, wasm_binary], stdout=PIPE).stdout
992
993 def is_exported_in_wasm(self, name, wasm):
994 wat = self.get_wasm_text(wasm)

Callers 12

parse_wasmMethod · 0.95
is_exported_in_wasmMethod · 0.95
test_exit_runtimeMethod · 0.80
test_symbol_mapMethod · 0.80
test_memory_sizeMethod · 0.80
test_legalize_js_ffiMethod · 0.80
test_extended_constMethod · 0.80
get_data_exportsMethod · 0.80

Calls 1

run_processMethod · 0.95

Tested by 9

test_exit_runtimeMethod · 0.64
test_symbol_mapMethod · 0.64
test_memory_sizeMethod · 0.64
test_legalize_js_ffiMethod · 0.64
test_extended_constMethod · 0.64
get_data_exportsMethod · 0.64