Function mem_map::insert_extern[][src]

#[no_mangle]
pub unsafe extern "C" fn insert_extern(
    id: u64,
    pid: u32,
    source: *const c_void,
    source_size: size_t
) -> u32
Expand description

insert_extern - Copies a certain memory region into a map of another process.

Returns non zero value if failed.
See the error enum to find out more.

Arguments

  • id: u64 - Map key.
  • pid: u32 - Target process’ ID.
  • source: *mut c_void - Pointer to a buffer that the data is read from.
  • source_size: size_t - Size of the buffer.