Iterative Delta Debugging (IDD) - Automated Debugging Presentation by Cyrille Artho (AIST)

Iterative Delta Debugging (IDD) is a technique for locating software bugs by isolating the differences between inputs. It can be applied to both program source code and test cases.


Iterative Delta Debugging (IDD) - Automated Debugging Presentation by Cyrille Artho (AIST) - cover page
Document type
Other
Language
English
Pages
21
File format
PDF
File size
99 KB
Published
03 December, 2023
Updated
03 December, 2023
MD5 checksum
67E34F0158AED9CFBA371E7EED0DB7E9

About this manual

This document is a set of presentation slides titled "Iterative Delta Debugging (IDD)" by Cyrille Artho of the Research Center for Information Security (RCIS), National Institute of Advanced Industrial Science and Technology (AIST), Tokyo, dated 10/28/2008. It explains Delta Debugging (DD), a technique that isolates the difference between a working ("good") input or program version and a failing ("bad") one, treating that minimal difference as the reason for the failure.

The slides describe how DD's state space bisection works, how the technique can be applied to program source code by minimizing the patch between good and bad versions, and how DD can be iterated to find an older "good" version when none is known, including back-porting tests to older versions and forward-porting patches to the current one. It also covers problems with applying DD to programs (line-based diff/patch tools, code not being a tree structure), experiments with the Uncrustify source code formatter, tool-chain inefficiencies, and conclusions.

What's inside

  • Delta Debugging (DD)
  • When and how to iterate DD
  • Problems with DD on programs
  • Experiments
  • Conclusion
  • How DD's state space bisection works
  • Back-porting tests with DD
  • Observations on tool chain performance

Frequently asked questions

What is Delta Debugging?

Delta Debugging isolates the difference between inputs (or program versions) that causes a failure, based on the idea that the minimal difference between inputs is the reason of the failure.

What is Iterative Delta Debugging (IDD) used for?

IDD is used when no "good" version is known: the current change set (patch) is back-ported to older versions, and if a new problem is encountered, DD is used again, repeating the process until the test passes.

Why is Delta Debugging not good enough for programs by itself?

Because changes are usually not line-based, so the DD tool needs a different platform than diff/patch, and program code is not a tree structure, which bisection search does not address.

What inefficiencies were observed in the DD tool chain?

The tool chain freshly obtains source each time (10-20 seconds wasted) and does a fresh build each time (almost one minute wasted), with many syntactically invalid versions generated and 90-98% waste.

Download PDF (99 KB)

Also Manuals