Software Analysis or Static Program Analysis is a new course of Nanjing University developed by Yue Li and Tian Tan in Spring 2020. In this course, we will learn about static program analysis, a useful technique for improving the reliability, security and performance of software, and it becomes increasingly impactful in industries nowadays. The course covers two parts: theory and practice. In theory, various materials will be introduced: from the foundations of classical data-flow and pointer analyses to some advanced topics such as security analysis and soundiness. In practice, a brand new static program analysis framework called Tai-e was designed, on top of which we'll implement a series of assignments including live variable analysis, constant propagation, dead code detection, CHA call graph construction, pointer analysis and taint analysis.
As prerequisites, you need to understand data structures and algorithms, and to be familiar with a programming language (Java would be better than others as our assignments are implemented in it). Compiler is not a prerequisite despite that understanding it would be preferable. The course is intended for advanced undergraduates as well as graduate students at all levels.
TAs: Shengyuan Yang (杨声远) and Qinlin Chen (陈钦霖)
Date | Lecture | Instructor | Slides [PDF] |
---|---|---|---|
Sep 2 (Thur) | 1. Course Introduction | Yue Li | Intro.pdf |
Sep 9 (Thur) | 2. Intermediate Representation | Yue Li | IR.pdf |
Sep 16 (Thur) | 3. Data Flow Analysis - Applications I | Yue Li | DFA-AP (I, II).pdf |
Sep 23 (Thur) | 4. Data Flow Analysis - Applications II | Yue Li | See above ٩(๑`^´๑)۶ |
Sep 30 (Thur) | 5. Data Flow Analysis - Foundations I | Yue Li | DFA-FD (I, II).pdf |
Oct 9 (Sat) | 6. Data Flow Analysis - Foundations II | Yue Li | See above ٩(๑`^´๑)۶ |
Oct 14 (Thur) | 7. Interprocedural Analysis | Tian Tan | Inter.pdf |
Oct 21 (Thur) | 8. Pointer Analysis | Tian Tan | PTA.pdf |
Oct 28 (Thur) | 9. Pointer Analysis - Foundations I | Tian Tan | PTA-FD (I, II).pdf |
Nov 4 (Thur) | 10. Pointer Analysis - Foundations II | Tian Tan | See above ٩(๑`^´๑)۶ |
Nov 11 (Thur) | 11. Pointer Analysis - Context Sensitivity I | Tian Tan | PTA-CS (I, II).pdf |
Nov 18 (Thur) | 12. Pointer Analysis - Context Sensitivity II | Tian Tan | See above ٩(๑`^´๑)۶ |
Nov 25 (Thur) | 13. Static Analysis for Security | Tian Tan | Security.pdf |
Dec 2 (Thur) | 14. Datalog-Based Program Analysis | Tian Tan | Datalog.pdf |
Dec 9 (Thur) | 15. CFL-Reachability and IFDS | Tian Tan | IFDS.pdf |
Dec 16 (Thur) | 16. Soundness and Soundiness | Tian Tan | Soundiness.pdf |