pub fn get_emscripten_metadata(
module: &Module,
) -> Result<Option<(u32, u32)>, String>
Expand description
Reads values written by -s EMIT_EMSCRIPTEN_METADATA=1
Assumes values start from the end in this order:
Last export: Dynamic Base
Second-to-Last export: Dynamic top pointer