pub unsafe fn unprotect(&mut self) {
        if !self.protected {
            return;
        }
        trace!("unprotecting {:?}", self);
        if mprotect(self.address as *mut c_void, self.size as size_t, PROT_READ | PROT_WRITE) == -1 {
            panic!("mprotect failed");
        }
        self.protected = false;
    }
/// Give read and write permissions to the segment.
Give read and write permissions to the segment.
Give read and write permissions to the segment .
pub unsafe fn unprotect(&mut self) {
        if !self.protected {
            return;
        }
        trace!("unprotecting {:?}", self);
        if mprotect(self.address as *mut c_void, self.size as size_t, PROT_READ | PROT_WRITE) == -1 {
            panic!("mprotect failed");
        }
        self.protected = false;
    }
pub unsafe fn unprotect ( & mut self ) { if ! self . protected { return ; } trace ! ( " " self ) ; if mprotect ( self . address as * mut c_void , self . size as size_t , PROT_READ | PROT_WRITE ) == - 1 { panic ! ( " " ) ; } self . protected = false ; }
Give read and write permissions to the segment.
Give read and write permissions to the segment .
&mut self