Trait libafl::stages::HasNestedStageStatus

source ·
pub trait HasNestedStageStatus: HasCurrentStage {
    // Required methods
    fn enter_inner_stage(&mut self) -> Result<(), Error>;
    fn exit_inner_stage(&mut self) -> Result<(), Error>;
}
Expand description

Trait for types which track nested stages. Stages which themselves contain stage tuples should ensure that they constrain the state with this trait accordingly.

Required Methods§

source

fn enter_inner_stage(&mut self) -> Result<(), Error>

Enter a stage scope, potentially resuming to an inner stage status. Returns Ok(true) if resumed.

source

fn exit_inner_stage(&mut self) -> Result<(), Error>

Exit a stage scope

Implementors§

source§

impl<I, C, R, SC> HasNestedStageStatus for StdState<I, C, R, SC>