Skip to main content

compute_stack_maps

Function compute_stack_maps 

Source
pub fn compute_stack_maps(
    this_class: &str,
    method_name: &str,
    method_desc: &str,
    is_static: bool,
    bytecode: &[u8],
    exception_table: &[ExceptionHandler],
    cp: &mut ConstantPool,
) -> Result<(u16, u16, Vec<FrameEntry>), String>
Expand description

Computes (max_stack, max_locals, frames) over a finalized bytecode buffer using abstract CFG interpretation.