Abstract
Reactive software is often deployed in long-running systems with high dependability requirements. Despite their safety- and mission-critical use, their functionalities must occasionally be adapted, for example to support new features or regulations. But software evolution bears the risk of introducing new malfunctions. Regression verification helps preventing the introduction of unintended, faulty behaviour.
In this paper we present a novel approach for modular regression verification proofs for reactive systems based on the idea of relational regression verification contracts. The approach allows the decomposition of a larger regression verification proof into smaller proofs on its subcomponents. We embedded the decomposition rule in a new algorithm for regression verification, which orchestrates several light- and heavyweight techniques. We implemented our approach for software used by Programmable Logic Controllers (PLC) written in Structured Text (IECĀ 611131-3) and show the potential of the approach with selected scenarios of a Pick-and-Place-Unit case study.
Research supported by the DFG in Priority Programme SPP1593: Design for Future ā Managed Software Evolution (BEĀ 2334/7-2, and ULĀ 433/1-2).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
There are also different execution modes for PLCs (event-driven, continuous, ...) that we do not consider here.
- 2.
The program transformation introduces a new input and output variable for each global variable, which occurs in the frame. The global variable is assigned to the input variable at the beginning of the frame. The effect of the frame on a global variable is captured in the output variable, which is assigned to global variable after the frame.
- 3.
References
Beckert, B., Ulbrich, M., Vogel-Heuser, B., Weigl, A.: Regression verification for programmable logic controller software. In: Butler, M., Conchon, S., ZaĆÆdi, F. (eds.) ICFEM 2015. LNCS, vol. 9407, pp. 234ā251. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-25423-4_15
Bradley, A.R.: SAT-based model checking without unrolling. In: Jhala, R., Schmidt, D. (eds.) VMCAI 2011. LNCS, vol. 6538, pp. 70ā87. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-18275-4_7
Cavada, R., et al.: The nuXmv symbolic model checker. In: Biere, A., Bloem, R. (eds.) CAV 2014. LNCS, vol. 8559, pp. 334ā342. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-08867-9_22
Cha, S., Ulbrich, M., Weigl, A., Beckert, B., Land, K., Vogel-Heuser, B.: On the preservation of the trust by regression verification of PLC software for cyber-physical systems of systems. In: INDIN 2019, pp. 413ā418. IEEE (2019). https://doi.org/10.1109/INDIN41052.2019.8972210
Godlin, B., Strichman, O.: Regression verification: proving the equivalence of similar programs. Softw. Test. Verification Reliab. 23(3), 241ā258 (2013)
Guthmann, O., Strichman, O., Trostanetski, A.: Minimal unsatisfiable core extraction for SMT. In: Piskac, R., Talupur, M. (eds.) FMCAD 2016, pp. 57ā64. IEEE (2016). https://doi.org/10.1109/FMCAD.2016.7886661
Hoare, C.A.R.: An axiomatic basis for computer programming. Commun. ACM 12(10), 576ā580 (1969). https://doi.org/10.1145/363235.363259
International Electrotechnical Commission: IEC 61131: Programmable controllers - Part 3: Programming languages, February 2002
Lahiri, S.K., McMillan, K.L., Sharma, R., Hawblitzel, C.: Differential assertion checking. In: ESEC/FSE 2013, pp. 345ā355. ACM (2013). https://doi.org/10.1145/2491411.2491452
Meyer, B.: Applying ādesign by contractā. IEEE Comput. 25(10), 40ā51 (1992)
Trostanetski, A., Grumberg, O., Kroening, D.: Modular demand-driven analysis of semantic difference for program versions. In: Ranzato, F. (ed.) SAS 2017. LNCS, vol. 10422, pp. 405ā427. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-66706-5_20
Vogel-Heuser, B., Legat, C., Folmer, J., Feldmann, S.: Researching evolution in industrial plant automation: scenarios and documentation of the pick and place unit. Tech. rep. Institute of Automation and Information Systems, Technische UniversitƤt MĆ¼nchen (2014). https://mediatum.ub.tum.de/node?id=1208973
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
Ā© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Weigl, A., Ulbrich, M., Lentzsch, D. (2020). Modular Regression Verification for Reactive Systems. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation: Engineering Principles. ISoLA 2020. Lecture Notes in Computer Science(), vol 12477. Springer, Cham. https://doi.org/10.1007/978-3-030-61470-6_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-61470-6_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-61469-0
Online ISBN: 978-3-030-61470-6
eBook Packages: Computer ScienceComputer Science (R0)