Verification and Testing (WS 2021/22)
Table of Content
In this course, we teach various advanced methods to test and verify software and hardware. Instead of classical unit tests, we present techniques for automatic detection of bugs with little user-effort and methods to prove the correctness of a program independent of concrete input values.
The lecture starts with dynamic methods to detect and locate potential bugs related to concurrency or invalid memory accesses. Those bugs are hard to find with unit tests because they seem to show up randomly and are hard to reproduce. In the following lectures, we move on to static methods. Within these chapters, we show you how to prove the correctness of a program formally. Finally, the lecture ends with a session where we present current research topics to you. If you are interested in a master project, thesis, or internship on one of these projects, don’t hesitate to contact us!
The content of this lecture includes:
- Eraser algorithm to detect race conditions
- Locktree algorithms to identify potential deadlocks
- How Valgrind finds invalid memory accesses
- Static Analysis
- Symbolic Encoding, Bounded Model Checking, and Concolic Execution
- Hoare Logic
- Deductive Software Verification with Dafny
- Boolean Model Checking with the SLAM algorithm
You can access the videos of this years lecture at TUbe (requires login). The live stream is also available there.
 Eraser: S. Savage, M. Burrows, G. Nelson, P. Sobalvarro, T. Anderson, Eraser:A Dynamic Race Detector for Multithreaded Programs, ACM Transactions on Computer Systems Volume 15 Issue 4, November 1997.  Lock Tree & Java Path Finder: W. Visser, K. Havelund, G. Brat, S. Park and F. Lerda, Model Checking Programs, International Journal on Automated Software Engineering 10(2), April 2003. Extended journal version of paper presented at the ASE’00 conference.  Memory Debuggers: Valgrind memcheck-manual (sec4.5).  Memory Debuggers: Valgrind memcheck2005.pdf.  Memory Debuggers: Valgrind shadow-memory2007.pdf.  Hoare Logic: Hoare-Logic course .  Hoare Logic: Hoare-Logic Uni Trier (German) .  Hoare Logic: F. Wotawa,Einführung in die InformatikSkriptum,pp. 157-171,(German), Oktober 2002.  SLAM: T. Ball, S. K. Rajamani, Bebop:A Symbolic Model Checker for Boolean Programs, SPIN 2000 Workshop on Model Checking of Software, LNCS 1885, pp. 113-130, August/September 2000.  SLAM: T. Ball, S. K. Rajamani, Automatically Validating Temporal Safety Properties of Interfaces, SPIN 2001, Workshop on Model Checking of Software, LNCS 2057, pp. 103-122, May 2001.  SLAM: T. Thomas Ball, Rupak Majumdar, Todd Millstein, and Sriram K. Rajamani. Automatic Predicate Abstraction of C Programs, In Proceedings of the ACM SIGPLAN 2001 conference on Programming language design and implementation (PLDI ’01). ACM, New York, NY, USA, 203-213, 2001.  Dafny: K. Rustan M. Leino Dafny: An Automatic Program Verifier for Functional Correctness., LPAR-16, International Conference on Logic for Programming Artificial Intelligence and Reasoning, LNCS 6355, pp. 348-370, 2010
The exercise descriptions will be handed out via git and submitting your work is also done there. upstream
|A1 Locktree||18.10.2021||25.10.2021 16:00||02.11.2021 23:59|
|A2 Hoare||04.11.2021||15.11.2021 16:00||18.11.2021 23:59|
|A3 Dafny||25.11.2021||13.12.2021 16:00||16.12.2021 23:59|
|A4 SLAM||16.12.2021||17.1.2022 16:00||20.01.2022 23:59|
Previous Knowledgeinscription in the master`s program
Prerequisites CurriculumSee position in the curriculum
ObjectiveKnowledge of the state of the art in research in formal verification and testing.
Teaching MethodInteractive lectures either online or in the lecture hall
How to get a gradewritten examination