invoke_unchecked

Function invoke_unchecked 

Source
pub fn invoke_unchecked(
    instruction: &Instruction,
    account_infos: &[AccountInfo<'_>],
) -> ProgramResult
Expand description

Like atlas_cpi::invoke_unchecked, but with support for overwriting the atlas_invoke_signed syscall stub.

§Safety

This function is incorrectly missing an unsafe declaration.

If any of the writable accounts passed to the callee contain data that is borrowed within the calling program, and that data is written to by the callee, then Rust’s aliasing rules will be violated and cause undefined behavior.