Skip to main content

Module tracker

Module tracker 

Source

Structsยง

IndexTracker
Tracks indices for a specific Wasm entity space (e.g., functions, memories, globals, types). When we inject new elements (like VFS imports or new globals), the original indices in the Wasm file shift. This tracker maps original indices to new indices.