Skip to main content

jit_and_verify

Function jit_and_verify 

Source
fn jit_and_verify<B: Backend>(
    compiler: &mut EvmCompiler<B>,
    name: &str,
    code: &[u8],
    expected: U256,
) -> B::FuncId
Available on crate features __fuzzing only.
Expand description

JIT-compile, call, and verify a PUSH1+STOP function returns the expected value.