Interface injection with aspectC++ in embedded systems
Autor(en): | Gabor, U.T. Von Egidy, C.-C. Spinczyk, O. |
Herausgeber: | Nguyen, V. Yu, D. Jiang, C. |
Stichwörter: | Automated injection; Automatic testing; Computer software selection and evaluation; Embedded domains; Embedded software; Embedded systems; Errors; Fault tolerance; Injection method; Interface injection; Language extensions; Reliability; Software behavior; Software interfaces, C++ (programming language); Software reliability; Software testing; Systems engineering, Application scenario | Erscheinungsdatum: | 2019 | Herausgeber: | IEEE Computer Society | Journal: | Proceedings of IEEE International Symposium on High Assurance Systems Engineering | Volumen: | 2019-January | Startseite: | 131 | Seitenende: | 138 | Zusammenfassung: | Avoiding undefined software behavior in case of software faults is important to ensure a minimum of software quality even in unexpected situations. We discuss interface error injection in the embedded domain, which is used to extend unit testing for successful to faulty executions. Since well-known methods are not applicable, we present a new injection method based on AspectC++, an aspect-oriented language extension for C++, as it allows for automated injection of errors without modifying the C++ source code. Our method is flexible, for example it allows to inject errors into arbitrary software interfaces as well as interfaces defined by specifications. For an application scenario, we consider the POSIX standard, as its importance is growing in embedded systems, and provide automatisms to generate the test environment. We use custom C++ attributes, an AspectC++ language extension, to control the automatic testing process by providing information about potential errors. Finally, we compare it with existing approaches. ©2019 IEEE. |
Beschreibung: | Conference of 19th IEEE International Symposium on High Assurance Systems Engineering, HASE 2019 ; Conference Date: 3 January 2019 Through 5 January 2019; Conference Code:146546 |
ISBN: | 9781538685402 | ISSN: | 15302059 | DOI: | 10.1109/HASE.2019.00028 | Externe URL: | https://www.scopus.com/inward/record.uri?eid=2-s2.0-85064000865&doi=10.1109%2fHASE.2019.00028&partnerID=40&md5=ae149dbe1b8f858a46673f013298a571 |
Show full item record