Expand description
Path extraction for verification targets.
This module builds finite paths from a function CFG to each unsafe callsite. Loops are kept finite by treating a loop as a single step through one of its exits when the target callsite is outside the loop. If the target callsite is inside a loop, the path starts at the loop header and reaches the callsite within one loop iteration.
Structsยง
- Loop
Exit - An edge that leaves a detected loop.
- LoopId
- Identifier for a detected loop in one function body.
- Loop
Info - Information recorded for one detected loop.
- Path
- A finite verification path reaching one callsite.
- Path
Extractor - Extracts loop-aware paths for one function body.
- Path
Result - Result produced by a completed path extraction run.
- SccDetector ๐
- Adapter that lets the shared SCC utility run over a MIR CFG.
Enumsยง
- Loop
Transfer - Conservative summary status for a loop.
- Path
Start - Start point for a finite verification path.
- Path
Step - One step in a finite verification path.
Functionsยง
- find_
loops ๐ - Detect loops in a CFG using SCCs.
- has_
other_ ๐callsite - Return true when
blockcontains a non-target callsite.