pub fn with_memory<R>(f: impl FnOnce(&mut Vec<u8>) -> R) -> R
The host’s access to the memory, as a loader writes the program’s bytes.