Specification-Driven Conformance Checking for Virtual/silicon Devices Using Mutation Testing
IEEE Transactions on Computers
Modern software systems may simply intend to execute on virtual machines or they may be expected to port to physical machines eventually. In either case, the devices, virtual or silicon, in the target virtual or physical machines are expected to conform to the specifications based on which the software systems have been developed. Non-conformance of these devices to the specifications can cause catastrophic failures of the software systems. This paper proposes a mutation-based framework for effective and efficient conformance checking between virtual/silicon device implementations and their specifications. Based on our defined mutation operators, device specifications can be automatically instrumented with weak mutant-killing constraints to model potential erroneous device behaviors. To kill all feasible mutants, our approach adopts a cooperative symbolic execution mechanism that can efficiently automate the test case generation and conformance checking. By symbolically executing the instrumented specifications with virtual/silicon device traces obtained from the cooperative execution, our method can accurately measure whether the designs have been sufficiently validated and report the inconsistencies between device specifications and implementations. Comprehensive experiments on two industrial network adapters and their virtual devices demonstrate the effectiveness of our proposed approach in conformance checking for both virtual and silicon devices.
Locate the Document
Gu, H., Zhang, J., Chen, M., Wei, T., Lei, L., & Xie, F. (2020). Specification-Driven Conformance Checking for Virtual/Silicon Devices using Mutation Testing. IEEE Transactions on Computers, 1–1. https://doi.org/10.1109/TC.2020.2988906