pub fn patch_addr_u64(&mut self, offset: usize, value: u64) {
        assert!(offset + 8 <= self.len());
        unsafe {
            *(self.mem.add(offset) as *mut u64) = value
        }
    }
// write value into mem by offset
write value into mem by offset
write value into mem by offset
pub fn patch_addr_u64(&mut self, offset: usize, value: u64) {
        assert!(offset + 8 <= self.len());
        unsafe {
            *(self.mem.add(offset) as *mut u64) = value
        }
    }
pub fn patch_addr_u64 ( & mut self , offset : usize , value : u64 ) { assert ! ( offset 8 self len ( ) ) ; unsafe { * ( self . mem . add ( offset ) as * mut u64 ) = value } }
write value into mem by offset
write value into mem by offset
&mut self
offset
usize
value
u64
&mut self
offset
usize
value
u64