fn validate_includes_range(
mmap_size: usize,
offset: usize,
range_size: usize,
) -> MmapResult<()>Expand description
Validates that offset..offset+range_size lies within the bounds of a memory mapping of
mmap_size bytes. Also checks for any overflow.