Selected Methods for Program Analysis
| Code | Completion | Credits | Range | Language |
|---|---|---|---|---|
| NIE-APR | Z,ZK | 5 | 2P+1C | English |
- Course guarantor:
- Lecturer:
- Tutor:
- Supervisor:
- Department of Theoretical Computer Science
- Synopsis:
-
This course introduces you to program analysisthe automated reasoning about the behavior of computer programs. We will cover both static and dynamic analysis. In static analysis, we explore the art of reasoning about programs without executing them, including techniques for program understanding, optimization, and error detection. In dynamic analysis, we examine individual program executions within specific environments and inputs.
- Requirements:
-
BI-OOP, BI-PPA, BI-PJP
You will be writing an AST interpreter and a number of static analyses so it is good to be proficient in some programming language. The project template is in Scala and C++.
- Syllabus of lectures:
-
1. Introduction to program analysis
2. Type analysis 1
3. Type analysis 2
4. Lattices
5. Fixed points
6. Dataflow analysis 1
7. Dataflow analysis 2
8. Bit-vector framework, widening and narrowing
9. Interprocedural analysis
10. Control flow analysis
11. Abstract interpretation
12. Dynamic analysis
- Syllabus of tutorials:
-
1. The microC language
2. Lattices
3. Dataflow analysis
4. Path sensitivity
5. Pointer analysis
6. Dynamic analysis
- Study Objective:
- Study materials:
-
1. Anders Møller and Michael I Schwartzbach. Static Program Analysis. Department of Computer Science, Aarhus University, 2018.
2. Cooper, K. - Torczon, L. : Engineering: A Compiler (2nd Edition). Morgan Kaufmann, 2011. ISBN 978-0120884780.
- Note:
-
Course information and material is at https://courses.fit.cvut.cz/NI-APR/
- Further information:
- https://courses.fit.cvut.cz/NIE-APR/
- No time-table has been prepared for this course
- The course is a part of the following study plans:
-
- Master specialization Software Engineering (elective course)
- Master specialization Embedded systems (elective course)
- Master program ANIE for the phase of study without specialisation (elective course)
- Quantum Informatics (elective course)
- Master specialization Computer Security, in English, 2026 (VO)
- Master programme, for the phase of study without specialisation, ver. for 2026 and higher (VO)
- Master specialization Computer Systems and Networks, in English, 2026 (VO)
- Master specialization Computer Science, in English, 2026 (VO)
- Master specialization Programming Languages, in English, 2026 (PS)