Automatic test pattern generation for virtual hardware model using constrained symbolic execution
Mohamed, Nahla; Safari, Mona; Wahba, Ayman; Salem, Ashraf;
Abstract
Symbolic execution is widely used for analyzing software behavior, generating test pattern, and finding bugs. However, it is not feasible for large programs. Symbolic execution attempts to explore each path of the program which result in a path explosion for large programs. This paper introduces a framework that makes the symbolic execution practical for the virtual HW models that run on QEMU platform. We describe an approach that can symbolically execute a virtual HW model to automatically generate selective test patterns. We use the constraints-based technique in order to show preferences for the generated test pattern. A native symbolic run of the program along with the constraints will generate test patterns correspond to every possible path. Our technique adds assertion statement into the program to indicate a specific operation mode for the device that the developer pay attention on. The symbolic engine generates test patterns that can derive the program through all feasible paths to reach the assertion. These test patterns can be used to verify same operation mode on the associated HW RTL model.
Other data
| Title | Automatic test pattern generation for virtual hardware model using constrained symbolic execution | Authors | Mohamed, Nahla; Safari, Mona; Wahba, Ayman ; Salem, Ashraf | Keywords | QEMU;Symbolic execution;Virtual HW model | Issue Date | 1-Feb-2016 | Conference | Proceeding of 2015 10th International Design and Test Symposium, IDT 2015 | ISBN | [9781467399944] | DOI | 10.1109/IDT.2015.7396755 | Scopus ID | 2-s2.0-84969856747 |
Recommend this item
Similar Items from Core Recommender Database
Items in Ain Shams Scholar are protected by copyright, with all rights reserved, unless otherwise indicated.