Function simics_api_sys::bindings::dbuffer_replace

source ยท
pub unsafe extern "C" fn dbuffer_replace(
    dbuffer: *mut dbuffer_t,
    offset: usize,
    len: usize,
) -> *mut uint8
Expand description

A buffer returned by dbuffer_replace() is not used by any other dbuffer_t and may contain junk. This function should only be used when the whole buffer section will be overwritten with new data.