verify_program

Function verify_program 

Source
pub fn verify_program(
    code: Vec<EbpfInstruction>,
    calling_context: CallingContext,
    logger: &mut dyn VerifierLogger,
) -> Result<VerifiedEbpfProgram, EbpfError>
Expand description

Verify the given code depending on the type of the parameters and the registered external functions. Returned VerifiedEbpfProgram should be linked in order to execute it.