pub fn invoke_signed_unchecked(
instruction: &Instruction,
account_infos: &[AccountInfo<'_>],
signers_seeds: &[&[&[u8]]],
) -> ProgramResult
Expand description
Like solana_cpi::invoke_signed_unchecked
, but with support
for overwriting the sol_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.