Learning for Verification in Embedded Systems: A Case Study

Verification of embedded systems is challenging whenever control programs rely on black-box hardware components. Unless precise specifications of such components are fully available, learning their structured models is a powerful enabler for verification, but it can be inefficient when the system to be learned is data-intensive rather than control-intensive. We contribute a methodology to attack this problem based on a specific class of automata which are well suited to model systems wherein data paths are known to be decoupled from control paths. We test our approach by combining learning and verification to assess the correctness of grey-box programs relying on FIFO register circuitry to control an elevator system.

[1]  Tiziana Margaria,et al.  LearnLib: a framework for extrapolating behavioral models , 2009, International Journal on Software Tools for Technology Transfer.

[2]  Bernhard Steffen,et al.  Learning Models for Verification and Testing - Special Track at ISoLA 2014 Track Introduction , 2014, ISoLA.

[3]  Shingo Yamaguchi,et al.  Éclair: An elevator group controller model checking system based on S-ring and SPIN , 2014, 2014 IEEE 3rd Global Conference on Consumer Electronics (GCCE).

[4]  Oliver Niese,et al.  An integrated approach to testing complex systems , 2003 .

[5]  Bernhard Steffen,et al.  Introduction to Active Automata Learning from a Practical Perspective , 2011, SFM.

[6]  Edmund M. Clarke,et al.  Model Checking , 1999, Handbook of Automated Reasoning.

[7]  Ali Khalili,et al.  Learning Nondeterministic Mealy Machines , 2014, ICGI.

[8]  E. Mark Gold,et al.  System identification via state characterization , 1972 .

[9]  Mihalis Yannakakis,et al.  Black Box Checking , 1999 .

[10]  Bengt Jonsson,et al.  Inferring Semantic Interfaces of Data Structures , 2012, ISoLA.

[11]  Hana Chockler,et al.  Behavioral Compatibility Without State Explosion: Design and Verification of a Component-Based Elevator Control System , 2006, CBSE.

[12]  Gerard J. Holzmann,et al.  The Model Checker SPIN , 1997, IEEE Trans. Software Eng..

[13]  Christel Baier,et al.  Principles of Model Checking (Representation and Mind Series) , 2008 .

[14]  Alex Groce,et al.  Adaptive Model Checking , 2006, Log. J. IGPL.

[15]  Gerard J. Holzmann,et al.  The SPIN Model Checker - primer and reference manual , 2003 .

[16]  Dana Angluin,et al.  Learning Regular Sets from Queries and Counterexamples , 1987, Inf. Comput..

[17]  Fides Aarts,et al.  Tomte : bridging the gap between active learning and real-world systems , 2014 .