Louis-Marie Givel, Jean-Luc Béchennec, M. Brun, S. Faucou, O. Roux
{"title":"Testing real-time embedded software using runtime enforcement","authors":"Louis-Marie Givel, Jean-Luc Béchennec, M. Brun, S. Faucou, O. Roux","doi":"10.1109/SIES.2016.7509430","DOIUrl":null,"url":null,"abstract":"Real-time embedded systems are complex, and as such need to be tested with regards to real-time constraints. However, because of this complexity, some states of the systems can be hard to reach through acting on the input sequence alone, because of seemingly non-deterministic behaviors. In this paper, we introduce a solution based on runtime enforcement which forces a real-time system to reach a chosen state. This can allow for testing of the consequences of reaching this state for the system. Let us consider for example a fault tolerance mechanism that activates when a state of the system is reached. Our solution makes it possible to force the system to consistently reach the state in which the fault tolerance mechanism is started. The solution is based on both an offline analysis and a runtime enforcement step which uses the result of the offline analysis. The runtime enforcement is achieved through the introduction of delays during the execution of the system.","PeriodicalId":185636,"journal":{"name":"2016 11th IEEE Symposium on Industrial Embedded Systems (SIES)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-05-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 11th IEEE Symposium on Industrial Embedded Systems (SIES)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SIES.2016.7509430","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Real-time embedded systems are complex, and as such need to be tested with regards to real-time constraints. However, because of this complexity, some states of the systems can be hard to reach through acting on the input sequence alone, because of seemingly non-deterministic behaviors. In this paper, we introduce a solution based on runtime enforcement which forces a real-time system to reach a chosen state. This can allow for testing of the consequences of reaching this state for the system. Let us consider for example a fault tolerance mechanism that activates when a state of the system is reached. Our solution makes it possible to force the system to consistently reach the state in which the fault tolerance mechanism is started. The solution is based on both an offline analysis and a runtime enforcement step which uses the result of the offline analysis. The runtime enforcement is achieved through the introduction of delays during the execution of the system.