Expand description
Bounded, asynchronous assistance for an invariant campaign. Candidates are executed by the ordinary campaign before they can contribute coverage or failures.
Re-exportsยง
use super::RecordedCallSequence;๐use crate::EVM_THREAD_STACK_SIZE;๐use crate::executors::EarlyExit;๐use crate::executors::EvmExecutionCancellation;๐use crate::executors::Executor;๐use crate::executors::fuzz::FuzzBranchFrontier;๐use crate::executors::fuzz::FuzzFrontierRecorder;๐use crate::executors::fuzz::comparison_result;๐use crate::inspectors::CmpOperands;๐use alloy_primitives::Address;๐use alloy_primitives::map::HashSet;๐use eyre::Result;๐use foundry_config::SymbolicConfig;๐use foundry_evm_core::evm::FoundryEvmNetwork;๐use foundry_evm_fuzz::BasicTxDetails;๐use serde::Deserialize;๐use serde::Deserialize;๐use serde::Serialize;๐use serde::Serialize;๐use std::collections::VecDeque;๐use std::sync::Arc;๐use std::sync::atomic::AtomicBool;๐use std::sync::atomic::Ordering;๐use std::sync::mpsc;๐use std::sync::mpsc::Receiver;๐use std::sync::mpsc::SyncSender;๐use std::thread;๐use std::thread::JoinHandle;๐use std::time::Duration;๐use std::time::Instant;๐
Structsยง
- Live
Invariant Solution - A solver response. The campaign re-executes the candidate using its own predicate policy.
- Live
Invariant Solver - One solver thread, 32 retained frontiers, and one slot in each channel.
- Live
Invariant Stats - Counters for the live worker, separate from bounded symbolic verification results.
Constantsยง
- MAX_
CALLDATA_ ๐BYTES - MAX_
CALLS ๐ - MAX_
OBSERVED_ ๐OUTCOMES - Distinct comparison outcomes remembered to select solve targets. Real targets reach far more
outcomes than
frontier_limitin their first sequence, so this bound is separate from the submission budget. - MAX_
PENDING ๐
Functionsยง
- outcome ๐
- Identifies one side of a comparison site.
Type Aliasesยง
- Outcome ๐
- One side of a comparison site: address, pc, opcode, and result.