GithubHelp home page GithubHelp logo

kws1207 / cs458-spring23 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swtv-kaist/cs458-spring23

0.0 0.0 0.0 167.3 MB

C++ 1.55% C 26.63% Assembly 14.38% Makefile 0.14% SMT 0.20% Roff 0.09% SWIG 57.01%

cs458-spring23's Introduction

KAIST CS458 Dynamic Analysis of Software Source Code (Spring'23)

Announcement

Administrative Information

  • Instructor: Prof. Moonzoo Kim

    • Office: 2434 (located at the east wing of E3-1)
    • Phone: 042-350-3543
    • E-mail: moonzoo.kim @ gmail.com
    • Office hour: Tues 3:00-4:00 PM (reservation e-mail is preferred)
  • Teaching assistants: Youngseok Choi ([email protected]) and Mehdi Aghakishiyev ([email protected])

  • Lecture hours: Tue/Thur 4:00 - 5:15 PM

  • Lecture room: E3 Rm#1101 (and through Zoom)

  • Prerequisite: proficiency in C/C++ programming and Linux utilities

    • Due to the high load of TA, TA will not provide help for basic C/C++/Linux questions.
    • Highly recommend to take CS458 after taking CS230 System Programming first
  • Grading: attendance/class participation/quiz: 20%, HW: 50%, mid/final exams:30%

    • You should turn on your web cam when you participate an online class; class attendance will not be counted otherwise.
    • More than 7 absences of the class will get F grade
    • Late attendance shall be counted as 1/3 absence. If a student is not able to attend a class due to an important event (e.g., attending conf., etc.), he/she should submit 1 week prior notice to the professor.
    • The official language in the class is English. All students should submit all written documents such as homework, project reports, exam, etc. in English; 20% penalty of the max score otherwise.
  • Homework:

    • Homework should be submitted through KLMS https://klms.kaist.ac.kr/course/view.php?id=145058
    • Late HW will be accepted with 10% penalty of the max score in 1 day, 30% penalty of the max score in 3 days. HW will not be accepted after then.
      • Hint: many questions of exams are from the homeworks.
    • All programming HWs you submit must be able to be replayed by executing a single script file on a TA's server account (i.e., submitted HW should not have a dependency on your home directory, environment, etc.). Also, the replayed execution must demonstrate the same output to the submitted hw. You will get 10% penalty of the max score otherwise.
    • For your programming HWs, you should not use external libraries which are not available on the server machines. If you really need an external library, you have to ask TAs to install it on the server machines.
  • Questions on the course materials and homeworks should be posted as github issues

  • Excerpts from 강의평가

    • "실질적으로 써먹을 수 있는 내용을 많이 배워서 보람찼습니다"
    • "과제가 많이 어려운것 같았다. 과제에 대한 도움을 수업에서 좀 더 주었으면 좋겠다."

Syllabus

This class covers automated SW testing/verification techniques to detect SW bugs by analyzing SW source code and its diverse runtime behaviors. In particular, this class focuses to teach techniques that automatically generate test cases to achieve high code coverage and, thus, to detect many bugs.

The class teaches practical applications of testing/verification techniques by applying open-source testing/verification tools to complete homework tasks. Also, it guides students to learn the underlying fundamental algorithms of such techniques/tools to improve the performance of automated testing/verification.

Course Schedule

Part I: Overview of High SW Complexity and Testing

“Software testers do not make software; they only make them better.” – Anonymous

Part II: Source Code Coverage Criteria for Effective SW Debugging

“It’s hard enough to find an error in your code when you’re looking for it; it’s even harder when you’ve assumed your code is error-free.”— Steve McConnell

Part III: Automated Test Generation (Fuzzing and Concolic Testing (a.k.a., Dynamic Symbolic Execution))

Part IV: Model Checking and Test Oracles

Part V: Testing/Verification Engine - SAT/SMT Solver

  • June 1: SMTlib tutorial [pdf], SMTLib web page, First order theories [pdf]

    • SMTlib examples
    • Examples of First Order Theories [pdf] (for concolic testing, UML OCL, JML, pre/post condition verification, etc)
    • Definition of "theory"
    • CS402 Intro to Logic (Predicate Calculus - Semantics)
    • SMT-competition 2022
  • June 8: Using SAT solver for Sudoku [pdf], Q&A for the final exam, LLVM IR basics, CLANG vs LLVM

    • "Sudoku as a SAT problem" by I.Lynce and J.Ouaknine, Intl. Symp. on Artificial Intelligence and Mathematics 2006
    • The SuDoku Puzzle as a Satisfiability Problem
  • June 13: Final exam (closed book)

cs458-spring23's People

Contributors

swtv-kaist avatar

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.