- Structured WebAssembly/WASI tracing.
- Check out
d_m3EnableStrace
flag and the demo ofwasm3-strace
utility.
- Check out
- Backtrace recording on
traps
(by @t-veor). - Support exported functions with multiple names (by @atdrendel)
- Support recursive
m3_Call
invocation. I.e. calling exported function from within imported function callback. pywasm3
Python module is released. See some colorful examples 😎- New API:
- Exported function signature introspection:
m3_GetArgCount
,m3_GetRetCount
,m3_GetArgType
,m3_GetRetType
- Introspection of imported functions (see
IM3ImportContext _ctx
argument) - Calls with raw arguments, instead of strings:
m3_CallV
,m3_CallVL
,m3_Call
- Warning:
m3_CallWithArgs
renamed tom3_CallArgv
- Get return values:
m3_GetResultsV
,m3_GetResultsVL
,m3_GetResults
- Get backtrace:
m3_GetBacktrace
- Helpers:
m3_GetFunctionName
,m3_GetModuleName
,m3_GetFunctionModule
,m3_GetModuleRuntime
m3_RunStart
can (optionally) be used to force the dynamic module initialization.
- Exported function signature introspection:
- Build system:
- Add
BUILD_NATIVE
flag (ON by default). - Remove
d_m3LogOutput
,USE_HUMAN_FRIENDLY_ARGS
, and other misleading flags. ESP32-C3
supportRaspberry Pi Pico (RP2040)
support
- Add
- WASI:
- Improved security via
m3ApiCheckMem
- Whence fixes (by @sinkingsugar)
- Cosmopolitan Libc support (by @jart)
- Improved security via
- Fix some memory leaks, parse errors, etc.
- Updated docs
👉 If you like Wasm3, please give us a GitHub star! 🌟