This PR implements MemoryAreas::query() to query information about the memory area for a given address as some platforms provide an API that does not require iterating the entire virtual address space. On platforms that do not provide such an API, we simply fallback to iterating the virtual address space until we find the corresponding area for the given address.
This PR implements
MemoryAreas::query()
to query information about the memory area for a given address as some platforms provide an API that does not require iterating the entire virtual address space. On platforms that do not provide such an API, we simply fallback to iterating the virtual address space until we find the corresponding area for the given address.