TY - CHAP
T1 - Learning the Language of Error
AU - Chapman, Martin
AU - Chockler, Hana
AU - Kesseli, Pascal
AU - Kroening, Daniel
AU - Strichman, Ofer
AU - Tautschnig, Michael
PY - 2015/10
Y1 - 2015/10
N2 - We propose to harness Angluin’s L∗ algorithm for learning a deterministic finite automaton that describes the possible scenarios under which a given program error occurs. The alphabet of this automaton is given by the user (for instance, a subset of the function call sites or branches), and hence the automaton describes a user-defined abstraction of those scenarios. More generally, the same technique can be used for visualising the behavior of a program or parts thereof. This can be used, for example, for visually comparing different versions of a program, by presenting an automaton for the behavior in the symmetric difference between them, or for assisting in merging several development branches. We present initial experiments that demonstrate the power of an abstract visual representation of errors and of program segments.
AB - We propose to harness Angluin’s L∗ algorithm for learning a deterministic finite automaton that describes the possible scenarios under which a given program error occurs. The alphabet of this automaton is given by the user (for instance, a subset of the function call sites or branches), and hence the automaton describes a user-defined abstraction of those scenarios. More generally, the same technique can be used for visualising the behavior of a program or parts thereof. This can be used, for example, for visually comparing different versions of a program, by presenting an automaton for the behavior in the symmetric difference between them, or for assisting in merging several development branches. We present initial experiments that demonstrate the power of an abstract visual representation of errors and of program segments.
U2 - 10.1007/978-3-319-24953-7_9
DO - 10.1007/978-3-319-24953-7_9
M3 - Conference paper
VL - 9364
T3 - Lecture Notes in Computer Science
SP - 114
EP - 130
BT - Proceedings of ATVA 2015: Automated Technology for Verification and Analysis
PB - Springer
ER -