Automatic Test Pattern Generation for Virtual Hardware Model using Constrained Symbolic Execution

被引:0
|
作者
Mohamed, Nahla [1 ]
Safar, Mona [2 ]
Wahba, Ayman [2 ]
Salem, Ashraf [1 ]
机构
[1] Mentor Graph Corp, Design Verificat Technol, Cairo, Egypt
[2] Ain Shams Univ, Fac Engn, Comp Engn & Syst Dept, Cairo, Egypt
关键词
Virtual HW model; Symbolic execution; QEMU;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:149 / 150
页数:2
相关论文
共 50 条
  • [1] Test Case Generation Using Symbolic Execution
    Pattanaik, Saumendra
    Sahoo, Bidush Kumar
    Panigrahi, Chhabi Rani
    Patnaik, Binod Kumar
    Pati, Bibudhendu
    COMPUTACION Y SISTEMAS, 2022, 26 (02): : 1035 - 1044
  • [2] Using symbolic execution to guide test generation
    Lee, G
    Morris, J
    Parker, K
    Bundell, GA
    Lam, P
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2005, 15 (01): : 41 - 61
  • [3] Automatic Test Generation for C and C plus plus Programs, Using Symbolic Execution
    Yoshida, Hiroaki
    Li, Guodong
    Kamiya, Takuki
    Ghosh, Indradeep
    Rajan, Sreeranga
    Tokumoto, Susumu
    Munakata, Kazuki
    Uehara, Tadahiro
    IEEE SOFTWARE, 2017, 34 (05) : 30 - 37
  • [4] ATGen: automatic test data generation using constraint logic programming and symbolic execution
    Meudec, C
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2001, 11 (02): : 81 - 96
  • [5] Detecting Hardware Trojans using Model Guided Symbolic Execution
    Dai, Ruochen
    Yavuz, Tuba
    PROCEEDING OF THE GREAT LAKES SYMPOSIUM ON VLSI 2024, GLSVLSI 2024, 2024, : 569 - 573
  • [6] Symbolic execution based test-patterns generation algorithm for hardware Trojan detection
    Shen, Lixiang
    Mu, Dejun
    Cao, Guo
    Qin, Maoyuan
    Blackstone, Jeremy
    Kastner, Ryan
    COMPUTERS & SECURITY, 2018, 78 : 267 - 280
  • [7] Exhaustive Test-case Generation using Symbolic Execution
    Uehara, Tadahiro
    FUJITSU SCIENTIFIC & TECHNICAL JOURNAL, 2016, 52 (01): : 34 - 40
  • [8] Parallel symbolic execution for structural test generation
    Dept. of Computer Science and Eng., University of Minnesota, United States
    不详
    ISSTA - Proc. Int. Symp. Softw. Test. Anal., (183-193):
  • [9] Lazy symbolic execution for test data generation
    Lin, M. X.
    Chen, Y. L.
    Yu, K.
    Wu, G. S.
    IET SOFTWARE, 2011, 5 (02) : 132 - 141
  • [10] Symbolic test generation using a temporal logic with constrained events
    Liu, Daguang
    Wu, Peng
    Lin, Huimin
    FORMAL METHODS AND HYBRID REAL-TIME SYSTEMS, 2007, 4700 : 467 - +