revm_interpreter::interpreter_types

Trait EofCodeInfo

Source
pub trait EofCodeInfo {
    // Required methods
    fn code_section_info(&self, idx: usize) -> Option<&TypesSection>;
    fn code_section_pc(&self, idx: usize) -> Option<usize>;
}

Required Methods§

Source

fn code_section_info(&self, idx: usize) -> Option<&TypesSection>

Returns code information containing stack information.

Source

fn code_section_pc(&self, idx: usize) -> Option<usize>

Returns program counter at the start of code section.

Implementors§