Skip to main content

ELF_WASMTIME_ADDRMAP

Constant ELF_WASMTIME_ADDRMAP 

Source
pub const ELF_WASMTIME_ADDRMAP: &str = ".wasmtime.addrmap";
Expand description

A custom Wasmtime-specific section of our compilation image which stores mapping data from offsets in the image to offset in the original wasm binary.

This section’s format is defined by the documentation of the crate::compile::AddressMapSection data structure, which builds it. It is decoded by lookup_file_pos. Its offsets are relative to the start of the text section.