MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / check_trap1

Function check_trap1

examples/memory.c:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void check_trap1(wasmtime_context_t *store, wasmtime_func_t *func,
106 int32_t arg) {
107 wasmtime_val_t args[1];
108 args[0].kind = WASMTIME_I32;
109 args[0].of.i32 = arg;
110 check_trap(store, func, args, 1, 1);
111}
112
113void check_trap2(wasmtime_context_t *store, wasmtime_func_t *func, int32_t arg1,
114 int32_t arg2) {

Callers 1

mainFunction · 0.70

Calls 1

check_trapFunction · 0.70

Tested by

no test coverage detected