patch_code

Function patch_code 

Source
pub unsafe fn patch_code(
    addr: Address,
    code: &[u8],
) -> Result<(), DobbyMemoryOperationError>
Expand description

Patch the code at addr with supplied bytes.

ยงSafety

THIS FUNCTION IS NOT SAFE.