initialization
- C
- JavaScript
// Initialize MTE
if (!mte_init(NULL, NULL))
{
fputs("MTE init error.", stderr);
return -1;
}
import { MteWasm } from "mte-wasm-browser";
const mteWasm = new MteWasm();
await mteWasm.instantiate();
// Initialize MTE
if (!mte_init(NULL, NULL))
{
fputs("MTE init error.", stderr);
return -1;
}
import { MteWasm } from "mte-wasm-browser";
const mteWasm = new MteWasm();
await mteWasm.instantiate();