When exchanging data via Wasip1ABI,
there are operations involving writing to
and reading from memory.
However, as these cannot be accessed during compilation,
alternative functions are employed. These shall be replaced.
The final wasm, due to ABI constraints,
only exposes vfs memory.
Therefore, when calling the ABI from non-vfs memory,
data must be copied. However,
when ultimately consolidating memory into a single pool,
data can be passed externally by directly passing pointers.
To implement this optimization,
a function is provided to determine the pointer bias
before memory consolidation.