pub fn iterate_address_map<'a>(
section: &'a [u8],
) -> Option<impl Iterator<Item = (u32, FilePos)> + 'a>
Expand description
Iterate over the address map contained in the given address map section.
This function takes a section
as its first argument which must have been
created with AddressMapSection
above. This is intended to be the raw
ELF_WASMTIME_ADDRMAP
section from the compilation artifact.
The yielded offsets are relative to the start of the text section for this map’s code object.