[][src]Crate wasm_bindgen_wasm_conventions

A tiny crate of utilities for working with implicit Wasm codegen conventions (often established by LLVM and lld).

Examples conventions include:

  • The shadow stack pointer
  • The canonical linear memory that contains the shadow stack

Functions

export_shadow_stack_pointer

Discover the shadow stack pointer and add it to the module's exports as __shadow_stack_pointer.

get_memory

Get a Wasm module's canonical linear memory.

get_shadow_stack_pointer

Get the __shadow_stack_pointer.

unexport_shadow_stack_pointer

Unexport the shadow stack pointer that was previously added to the module's exports as __shadow_stack_pointer.