wasm-micro-runtime/samples/custom-section/wasm-apps/custom_section_payload.bin
2026-03-26 17:16:59 +08:00

6 lines
363 B
Plaintext

This payload lives in a Wasm custom section.
It is linked by custom_section_payload.s with .incbin.
The payload is read by custom_section.c, which is compiled to a Wasm module and executed by the host embedder.
It can be arbitrary data, and the host can resolve it with `wasm_runtime_get_custom_section` and print/use it later through a handle-based native API.