Symbolic Learning of Component Interfaces


Dimitra Giannakopoulou, Zvonimir Rakamaric, Vishwanath Raman. 19th International Static Analysis Symposium (SAS 2012), Deauville, France.
[pdf] [bib]

Abstract: Given a white-box component C with specified unsafe states, we address the problem of automatically generating an interface that captures safe orderings of invocations of C’s public methods. Method calls in the generated interface are guarded by constraints on their parameters. Unlike previous work, these constraints are generated automatically through an iterative refinement process. Our technique, named PSYCO (Predicate-based SYmbolic COmpositional reasoning), employs a novel combination of the L* automata learning algorithm with symbolic execution. The generated interfaces are three-valued, capturing whether a sequence of method invocations is safe, unsafe, or its effect on the component state is unresolved by the symbolic execution engine. We have implemented PSYCO as a new prototype tool in the JPF open-source software model checking platform, and we have successfully applied it to several examples.


  author = {Dimitra Giannakopoulou and Zvonimir Rakamari\'c and
    Vishwanath Raman},
  title = {Symbolic Learning of Component Interfaces},
  booktitle = {Proceedings of the 19th International Static Analysis
    Symposium (SAS 2012)},
  series = {Lecture Notes in Computer Science},
  volume = {7460},
  publisher = {Springer},
  editor = {Antoine Min\'e and David Schmidt},
  year = {2012},
  pages = {248--264},