Git Product home page Git Product logo

cs524-program-analysis's Introduction

CS524: Program Analysis (프로그램 분석)

Logistics

Course Description

"How to estimate the behavior of a program before it runs?"

This course introduces a technique called program analysis that answers the question. Instead of running programs with potentially infinite inputs, program analysis statically estimates runtime behaviors of programs within a finite time. The course will cover fundamental theories, designs and implementations of program analysis including formal semantics of programming languages and the theory of abstract interpretation.

Grading

  • Homework 50%
  • Final exam 40%
  • Participation 10%

Textbook

Homework

This course includes programming assignments through which students will learn how to design and implement program analyzers. Students will use a few tools which are described here.

All submissions will be managed using Github. For each assignment, a unique invitation URL for Github Classroom will be posted in the issue board. Once you accept the invitation, a private repository for your assignment will be created. You can push as many commits as you want before the deadline. We will grade the final commit of your main branch.

The late homework policy is as follows:

  • 80% credit for one day late
  • 50% credit for two days late
  • NO credit given after two days late

Academic Integrity Violation

Students who violate academic integrity will get F. See the KAIST CS honor code.

Schedule

# Topics Reference Homework
0 Functional Programming in OCaml HW0: Hello-world, OCaml Programming
1 Introduction Chap. 1
2 Operational Semantics CACM'19 HW1: Essay
3 Denotational Semantics Undecidability
4 Concepts in Program Analysis Chap. 2, Chap. 9 HW2: SmaLLVM Interpreter
5 Abstract Interpretation (1): Concrete Semantics Chap. 3
6 Abstract Interpretation (2): Abstract Semantics Chap. 3
7 Abstract Interpretation (3): Wideining and Narrowing Chap. 3 HW3: Abstract Interpretation
8 Design and Implementation of Static Analysis Chap. 4 HW4: SmaLLVM Analyzer
9 Static Analysis for Advanced Programming Features Chap. 8.1, Chap. 8.2
10 Advanced Static Analysis Techniques (1):
Iteration Techniques
Chap. 5.2 HW5 : ThriLLVM Analyzer
11 Advanced Static Analysis Techniques (2):
Sparse Analysis
Chap. 5.3, PLDI'12
12 Advanced Static Analysis Techniques (3):
Selective X-sensitivity
PLDI'14
13 Advanced Static Analysis Techniques (4):
Modular Analysis
Chap. 5.4, InferBo
14 Specialized frameworks (1):
Static Analysis by Equations
Chap. 10.1
15 Specialized frameworks (2):
Static Analysis by Monotonic Closure
Chap. 10.2 HW6: SmaLLVM Constraint-based analyzer
16 Specialized frameworks (3):
Static Analysis by Proof Construction
Chap. 10.3 HW7: SmaLLVM Type Checker
17 Program Analysis with AI PLDI'18, PLDI'19, ICSE'19
- Final Exam

Hall of Fame

Have fun reading the distinguished essays from previous semesters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.