Struct wasmparser::Frame
source · pub struct Frame {
pub kind: FrameKind,
pub block_type: BlockType,
pub height: usize,
pub unreachable: bool,
pub init_height: usize,
}Expand description
A Wasm control flow block on the control flow stack during Wasm validation.
Fields§
§kind: FrameKindIndicator for what kind of instruction pushed this frame.
block_type: BlockTypeThe type signature of this frame, represented as a singular return type or a type index pointing into the module’s types.
height: usizeThe index, below which, this frame cannot modify the operand stack.
unreachable: boolWhether this frame is unreachable so far.
init_height: usizeThe number of initializations in the stack at the time of its creation