pub fn vdso_base_addr(&self) -> Option<usize> {
        let guard = self.inner.lock();
        let inner = guard.as_ref().unwrap();
        for map in inner.mappings.iter() {
            if map.vmo.name().starts_with("vdso") && map.inner.lock().vmo_offset == 0x7000 {
                return Some(map.addr());
            }
        }
        for vmar in inner.children.iter() {
            if let Some(addr) = vmar.vdso_base_addr() {
                return Some(addr);
            }
        }
        None
    }
/// Get base address of vdso.
Get base address of vdso.
Get base address of vdso .
pub fn vdso_base_addr(&self) -> Option<usize> {
        let guard = self.inner.lock();
        let inner = guard.as_ref().unwrap();
        for map in inner.mappings.iter() {
            if map.vmo.name().starts_with("vdso") && map.inner.lock().vmo_offset == 0x7000 {
                return Some(map.addr());
            }
        }
        for vmar in inner.children.iter() {
            if let Some(addr) = vmar.vdso_base_addr() {
                return Some(addr);
            }
        }
        None
    }
pub fn vdso_base_addr ( & self ) -> Option < usize > { let guard = self . inner . lock ( ) ; let inner = guard . as_ref ( ) . unwrap ( ) ; for map in inner . mappings . iter ( ) { if map . vmo . name ( ) . starts_with ( " " ) && map . inner . lock ( ) . vmo_offset == 0x7000 { return Some ( map . addr ( ) ) ; } } for vmar in inner . children . iter ( ) { if let Some ( addr ) = vmar . vdso_base_addr ( ) { return Some ( addr ) ; } } None }
Get base address of vdso.
Get base address of vdso .
&self
&self