Seminar on Programming Languages and Program Analysis
Symbolic Execution
- Lecturer: Noam Rinetzky
- Semester: B
- Time: Sunday, 09:00–11:00, 2017/18
- Place: Orenstein 102
- Course Number: 0368–3181
Topic
In this seminar we will discuss classic and state-of-the-art papers regarding symbolic execution.
Symbolic Execution (description taken from "Symbolic execution for software testing: three decades later ©ACM by Cristian Cadar and Koushik Sen, CACM 2013): Symbolic execution has garnered a lot of attention in recent years as an effective technique for generating high-coverage test suites and for finding deep errors in complex software applications. While the key idea behind symbolic execution was introduced more than three decades ago, it has only recently been made practical, as a result of signi cant advances in constraint satis ability, and of more scalable dynamic approaches that combine concrete and symbolic execution.
Symbolic execution is typically used in software testing to explore as many different program paths as possible in a given amount of time, and for each path to generate a set of concrete input values exercising it, and check for the presence of various kinds of errors including assertion violations, uncaught exceptions, security vulnerabilities, and memory corruption. The ability to generate concrete test inputs is one of the major strengths of symbolic execution: from a test generation perspective, it allows the creation of high-coverage test suites, while from a bug-finding perspective, it provides developers with a concrete input that triggers the bug, which can be used to con rm the error independently of the symbolic execution tool that generated it.
Furthermore, note that in terms of finding errors on a given program path, symbolic execution is much more powerful than traditional dynamic execution techniques such as those implemented by popular tools like Valgrind or Purify, because it has the ability to find a bug if there are any buggy inputs on that path, rather than depending on having a concrete input that triggers the bug. Finally, unlike other program analysis techniques, symbolic execution is not limited to finding generic errors such as buffer overflows, but can reason about higher-level program properties, such as complex program assertions.
Requirements
- Give a 70-80 minutes talk about his or hers assigned topic (one or more research papers).
- Answer students questions during the talk.
- Lead a summary discussion.
- Say something original (i.e., not written in the paper) about the topic.
For example:
- Download and execute two implementations of the described algorithm and evaluate them.
- Extend the discussion regarding a particularly close related work.
- Make an interesting connection to a topic discussed in a previous talk.
- Describe a personal expereicne with using the discussed technique (or a simialr one) at work.
- Write a short (1 page) summary about the discussed topic, the original contribution, and the main points that came out during the discussion.
- Actively participate in the discussions led by other students.
Admin
- The talk can be given either in Hebrew or in English. The slides and the summary should be written in English.
- You are expected to be present in every lesson, unless coordinated beforehand with the lecturer.
- Use the seminar's themes for your presentation and summary: [Presentation theme] [Summary theme].
- Name your presentation and summary using the seminar's naming conventions, e.g.,
- seminar1718b-lec-Num-presentation-firstname-secondname.pptx
- seminar1718b-lec-Num-summary-firstname-secondname.docx
- Mathematical fonts for Powerpoint and Word can be found here.
Schedule
- Topic: Overview
- Date: 4/Mar/2018
- Presenter: Noam Rinetzky
- Papers: Symbolic execution for software testing: three decades later ©ACM
- Presentation: PPTX PDF
- Topic: Classic symbolic execution
- Date: 11/Mar/2018
- Presenter: Oded
- Papers: [23], [6], [12]
- Presentation:
- Topic: SAT and SMT
- Date: 18/Mar/2018
- Presenter: Dor Alt
- Papers:
- Presentation:
- Topic: Bounded Model Checking
- Date: 25/Mar/2018
- Presenter: Ahiad Zur
- Papers: Bounded Model Checking Using Satisfiability Solving
- Presentation:
- NO LESSON (Passover vacation)
- Date: 1/April/2018
- Topic: Concolic execution
- Date: 8/April/2018
- Presenter: Tal Rosner
- Papers: [19], [33], [35]
- Presentation:
- Topic: EGT/EXE/KLEE
- Date: 15/April/2018
- Presenter: Orel Benishai
- Papers: [8], [9], [10]
- Presentation:
- Topic: More Tools
- Date: 22/April/2018
- Presenter: Nataly Koren
- Papers:
- Presentation:
- Topic: Search heuristics
- Date: 29/April/2018
- Presenter: Itay Ifrach
- Papers:
- Presentation:
- Topic: Chopped Symbolic Execution
- Date: 6/May/2018
- Presenter: David Trabish
- Papers:
- Presentation:
- Topic: Compositional Symbolic Execution
- Date: 13/May/2018
- Presenter: Matan Lieber
- Papers:
- MultiSE: Multi-Path Symbolic Execution using Value Summaries
- Demand-Driven Compositional Symbolic Execution
- Compositional Dynamic Test Generation
- Presentation:
- NO LESSON (Shavuut vacation)
- Date: 20/May/2018
- Topic: Symbolic Execution for special hardware
- Date: 27/May/2018
- Presenter: Nerya Meshulam
- Papers: [13], [25], [30]
- Presentation:
- Topic: Symbolic execution for multithreaded code
- Date: 3/June/2018
- Presenter: Tal Shoef
- Papers: [14], [34], Symbolic Execution of Multithreaded Programs from Arbitrary Program Contexts
- Presentation:
- Topic: Scaling symbolic execution
- Date: 10/June/2018
- Presenter: Hagai Shila
- Papers:
- Presentation:
[N] is the citation number in Symbolic execution for software testing: three decades later