90 likes | 215 Views
By D. Beyer et. al. The Software Model Checker B LAST. Presentation By: Pashootan Vaezipoor. Simon Fraser University (Spring 09). Introduction. Model Checking is a technique to verify a system desc against a spec Input: Program source (system desc) Temporal safty property (spec)
E N D
By D. Beyer et. al. The Software Model Checker BLAST Presentation By: Pashootan Vaezipoor Simon Fraser University (Spring 09)
Introduction • Model Checking is a technique to verify a system desc against a spec • Input: • Program source (system desc) • Temporal safty property (spec) • Output: • Proof of correctness • Counterexample PresentationBy: Pashootan Vaezipoor Simon Fraser University (Spring 09)
CEGAR • The paradigm behind some verification tools: • CounterExample Guided Abstraction Refinement
BLAST • Software Model Checking • Checking Memory Safety • Generating Test PresentationBy: Pashootan Vaezipoor Simon Fraser University (Spring 09)
BLAST (Software Model Checking) • Automatic Software Verification Tools: • Execution-based • Find bugs • Scale the search to large state spaces • Abstraction-based • Proving correctness • Improve precision • But CEGAR combines these two! • Automatic precision adjustment • Keeps the state space small PresentationBy: Pashootan Vaezipoor Simon Fraser University (Spring 09)
BLAST (Memory Safety + Test Case) • Memory Safety • First we use CCURED to mark possible locations • Use Blast to eliminate unreachable error marks • Identify usage scenarios leading to errors • Test Case Generation • We need a spec or a set of coverage goals • Instead of the error path, BLAST creates a test vector • Test vector to the state q that always satisfies p • Test vector to the state q that never satisfies p • Test vector to the state q that smt satisfies p but smt not PresentationBy: Pashootan Vaezipoor Simon Fraser University (Spring 09)
Example PresentationBy: Pashootan Vaezipoor Simon Fraser University (Spring 09)
Example (CFA) PresentationBy: Pashootan Vaezipoor Simon Fraser University (Spring 09)
PresentationBy: Pashootan Vaezipoor Simon Fraser University (Spring 09)