• DocumentCode
    181107
  • Title

    Applying software model checking to PALS systems

  • Author

    Min-Young Nam ; Lui Sha ; Chaki, S. ; Cheolgi Kim

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Illinois at Urbana Champaign, Urbana, IL, USA
  • fYear
    2014
  • fDate
    5-9 Oct. 2014
  • Abstract
    Physically Asynchronous/Logically Synchronous (PALS) is an architecture pattern that allows developers to design and verify a system as though all nodes executed synchronously. The correctness of PALS protocol was formally verified. However, the implementation of PALS adds additional code that is otherwise not needed. In our case, we have a middleware (PALSWare) that supports PALS systems. In this paper, we introduce a verification framework that shows how we can apply Software Model Checking (SMC) to verify a PALS system at the source code level. SMC is an automated and exhaustive source code checking technology. Compared to verifying (hardware or software) models, verifying the actual source code is more useful because it minimizes any chance of false interpretation and eliminates the possibility of missing software bugs that were absent in the model but introduced during implementation. In other words, SMC reduces the semantic gap between what is verified and what is executed. Our approach is compositional, i.e., the verification of PALSWare is done separately from applications. Since PALSWare is inherently concurrent, to verify it via SMC we must overcome the statespace explosion problem, which arises from concurrency and asynchrony. To this end, we develop novel simplification abstractions, prove their soundness, and then use these abstractions to reduce the verification of a system with many threads to verifying a system with a relatively small number of threads. When verifying an application, we leverage the (already verified) synchronicity guarantees provided by the PALSWare to reduce the verification complexity significantly. Thus, our approach uses both “abstraction” and “composition”, the two main techniques to reduce statespace explosion. This separation between verification of PALSWare and applications also provides better management against upgrades to either. We validate our approach by verifying the current PALSWare i- plementation, and several PALSWare-based distributed real time applications.
  • Keywords
    formal verification; middleware; program debugging; protocols; source code (software); PALS protocol; PALS systems; PALSWare-based distributed real time applications; middleware; physically asynchronous-logically synchronous systems; software bugs; software model checking; source code checking technology; state-space explosion problem; verification framework; Clocks; Message systems; Model checking; Ports (Computers); Real-time systems; Receivers; Software;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Digital Avionics Systems Conference (DASC), 2014 IEEE/AIAA 33rd
  • Conference_Location
    Colorado Springs, CO
  • Print_ISBN
    978-1-4799-5002-7
  • Type

    conf

  • DOI
    10.1109/DASC.2014.6979483
  • Filename
    6979483