Concolic Test Generation for PLC Programs using Coverage Metrics

被引:0
|
作者
Bohlender, Dimitri [1 ]
Simon, Hendrik [1 ]
Friedrich, Nico [1 ]
Kowalewski, Stefan [1 ]
Hauck-Stattelmann, Stefan [2 ]
机构
[1] Rhein Westfal TH Aachen, Informat Embedded Software 11, Aachen, Germany
[2] ABB Corp Res Germany, Ladenburg, Germany
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a technique for fully automated generation of test cases for PLC programs adhering to the IEC 61131-3 standard. While previous methods strive for completeness and therefore struggle with the state explosion we pursue a symbolic execution based approach, dropping completeness but nevertheless achieving similar or even better results in practice. The core component is a symbolic execution engine which chooses the next state to execute, handles constraints emerging during the execution and derives respective test vectors leading to a state. To make for a high coverage of the generated tests, we adopt techniques from concolic testing, allow for use of heuristics to prioritise promising states but also merge states to alleviate the path explosion. We exploit peculiarities of PLC semantics to determine reasonable merge-points and unlike similar approaches even handle unreachable code. To examine the feasibility of our technique we evaluate it on function blocks used in industry.
引用
收藏
页码:432 / 437
页数:6
相关论文
共 50 条
  • [1] Automatic Test Case Generation for PLC Programs using Coverage Metrics
    Simon, Hendrik
    Friedrich, Nico
    Biallas, Sebastian
    Hauck-Stattelmann, Stefan
    Schlich, Bastian
    Kowalewski, Stefan
    PROCEEDINGS OF 2015 IEEE 20TH CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA), 2015,
  • [2] Directed Test Generation using Concolic Testing on RTL models
    Ahmed, Alif
    Farahmandi, Farimah
    Mishra, Prahhat
    PROCEEDINGS OF THE 2018 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2018, : 1538 - 1543
  • [3] Test Data Generation for Path Coverage of MPI Programs Using SAEO
    Gong, Dunwei
    Sun, Baicai
    Yao, Xiangjuan
    Tian, Tian
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2021, 30 (02)
  • [4] RTL Functional Test Generation Using Factored Concolic Execution
    Pinto, Sonal
    Hsiao, Michael S.
    2017 IEEE INTERNATIONAL TEST CONFERENCE (ITC), 2017,
  • [5] Scaling modified condition/decision coverage using distributed concolic testing for Java']Java programs
    Godboley, Sangharatna
    Dutta, Arpita
    Mohapatra, Durga Prasad
    Mall, Rajib
    COMPUTER STANDARDS & INTERFACES, 2018, 59 : 61 - 86
  • [6] Concolic Execution and Test Case Generation in Prolog
    Vidal, German
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION (LOPSTR 2014), 2015, 8981 : 167 - 181
  • [7] GKLEE: Concolic Verification and Test Generation for GPUs
    Li, Guodong
    Li, Peng
    Sawaya, Geof
    Gopalakrishnan, Ganesh
    Ghosh, Indradeep
    Rajan, Sreeranga P.
    ACM SIGPLAN NOTICES, 2012, 47 (08) : 215 - 224
  • [8] Test Coverage Metrics for the Network
    Xu, Xieyang
    Beckett, Ryan
    Jayaraman, Karthick
    Mahajan, Ratul
    Walker, David
    SIGCOMM '21: PROCEEDINGS OF THE 2021 ACM SIGCOMM 2021 CONFERENCE, 2021, : 775 - 787
  • [9] Integrating DSGEO into test case generation for path coverage of MPI programs
    Sun, Baicai
    Gong, Dunwei
    Yao, Xiangjuan
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 153
  • [10] COMPARISON OF STRUCTURAL TEST COVERAGE METRICS
    WEISER, MD
    GANNON, JD
    MCMULLIN, PR
    IEEE SOFTWARE, 1985, 2 (02) : 80 - 85