Lectures: Mon 15:40, S7 (Pavel Parízek)
Labs: Mon 17:20, S7 (Pavel Parízek)
Page in SIS: NSWI132
Grading: Credit and exam
News
- The second homework assignment is available here. The deadline for submitting your complete solutions is on April 28th, 2025 at 23:59.
- The third homework assignment is available here. The deadline for submitting your complete solutions is on May 25th, 2025 at 23:59.
Slides
Lectures
Date | Title | Downloads |
---|---|---|
17.2.2025 | Introduction and Organization | lecture00.pdf |
24.2.2025 | Model Checking Programs | lecture01.pdf |
3.3.2025 | Concurrency Errors | lecture02.pdf |
10.3.2025 | Symbolic Execution, Dynamic Analysis | lecture03.pdf |
17.3.2025 | Deductive Methods, Bounded Model Checking | lecture04.pdf |
24.3.2025 | Abstraction | lecture05.pdf |
31.3.2025 | Contracts: Specification and Verification | lecture06.pdf |
7.4.2025 | Static Analysis: Overview, Data-Flow | lecture07.pdf |
14.4.2025 | Static Analysis: Pointers and Heap Structures | lecture08.pdf |
Labs
Date | Title | Downloads |
---|---|---|
24.2.2025 | Java PathFinder | lab01.pdf |
3.3.2025 | Detecting Concurrency Errors with JPF | lab02.pdf, concur_bench.zip |
10.3.2025 | Tools for Symbolic Execution and Dynamic Analysis | lab03.pdf |
17.3.2025 | SMT Solvers, CBMC | lab04.pdf, smt-examples.zip, bmc-examples.zip |
24.3.2025 | CEGAR | lab05.pdf, cegar.tgz |
31.3.2025 | Contracts: Dafny, Viper | lab06.pdf, dafny-examples.zip |
7.4.2025 | T.J. Watson Libraries for Analysis | lab07.pdf, wala-examples.zip |
14.4.2025 | Static Analysis Tools | lab08.pdf, pointers-examples.zip, predator-examples.tgz |
Annotation
Basic principles of automated analysis and verification of programs (model checking, static analysis, dynamic analysis, and deductive methods) and their practical applications (e.g., detecting concurrency errors).
Syllabus
- Model checking of programs
- Detecting concurrency errors
- Symbolic execution
- Dynamic analysis
- Introduction to deductive methods
- SAT solvers, SMT solvers
- Bounded model checking
- Predicate abstraction and CEGAR
- Selected applications of deductive methods in software verification
- Verification of program code against contracts, Horn clauses
- Static analysis and its usage in program verification
- Abstract interpretation
- Combination of verification techniques
- Program synthesis
Organization
During the lectures we will describe individual program verification and analysis methods, including basic concepts, main algorithms, and their limitations.
The purpose of the lab is to provide students with a hand-on experience with selected verification and analysis tools ( Java Pathfinder, CBMC, Viper, WALA, ...).
Homework assignments
There will be five assignments, each taking approximately 10-15 hours of homework. You need to do the assignment no. 5 (presentation of some research publication) and two others to get credit (“zápočet”).
Note: 10% of your score will be deducted for every calendar day your solution of the assignment is late. This implies that no solutions will be accepted after 10 calendar days past its due date.
Date | Title | Downloads |
---|---|---|
31.3.2025 23:59 | Java Pathfinder | hw1-jpf.pdf, daisyfs.zip, elevator.zip, repworkers.zip |
28.4.2025 23:59 | Contracts | hw2-contracts.pdf |
25.5.2025 23:59 | Static Analysis | hw3-static.pdf |
Grading
Final grades will depend on the quality of your homework and on the result of the voluntary final exam as follows:
- Homework assignments (0-20 points for each of them)
- Final exam (0-25 points)
Grades will be based on points in the following way:
Grade | Required points |
---|---|
Excellent: | 85-125 points |
Very good: | 72-84 points |
Good: | 60-71 points |
References
- E. M. Clarke, O. Grumberg, and D. A. Peled. Model Checking, MIT Press, 2000
- F. Nielson, H. R. Nielson, and Chris Hankin. Principles of Program Analysis, Springer, 2005
- D. Kroening and O. Strichman. Decision Procedures: An Algorithmic Point of View, Springer, 2008
Archive
Academic year 2023/2024: lectures labs tools & examples