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
来源
2016 13TH INTERNATIONAL WORKSHOP ON DISCRETE EVENT SYSTEMS (WODES) | 2016年
关键词
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 条
  • [31] Coverage based test-case generation using model checkers
    Rayadurgam, S
    Heimdahl, MPE
    EIGHTH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOP ON THE ENGINEERING OF COMPUTER BASED SYSTEMS, PROCEEDINGS, 2001, : 83 - 91
  • [32] A coverage directed test generation platform for microprocessors using genetic approach
    Shen, Haihua
    Wang, Pengyu
    Wei, Wenli
    Guo, Qi
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2009, 46 (10): : 1611 - 1625
  • [33] Coverage directed test generation for functional verification using Bayesian networks
    Fine, S
    Ziv, A
    40TH DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2003, 2003, : 286 - 291
  • [34] BOUNDS ON POPULATION COVERAGE USING TEST-GENERATION BY FAULT SAMPLING
    FARHAT, H
    FROM, S
    MICROPROCESSORS AND MICROSYSTEMS, 1992, 16 (05) : 269 - 275
  • [35] Guided Test Generation for Coverage Criteria
    Pandita, Rahul
    Xie, Tao
    Tillmann, Nikolai
    de Halleux, Jonathan
    2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,
  • [36] Automatic Test Generation for Coverage Improvement
    Wilson, Chris
    HLDVT: 2008 IEEE INTERNATIONAL HIGH LEVEL DESIGN VALIDATION AND TEST WORKSHOP, PROCEEDINGS, 2008, : 141 - 142
  • [37] Test Coverage in Microservice Systems: An Automated Approach to E2E and API Test Coverage Metrics
    Abdelfattah, Amr S.
    Cerny, Tomas
    Yero, Jorge
    Song, Eunjee
    Taibi, Davide
    ELECTRONICS, 2024, 13 (10)
  • [38] Evolutionary Generation of Test Suites for Multi-Path Coverage of MPI Programs With Non-Determinism
    Sun, Baicai
    Gong, Dunwei
    Pan, Feng
    Yao, Xiangjuan
    Tian, Tian
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (06) : 3504 - 3523
  • [39] Evolutionary Generation Approach of Test Data for Multiple Paths Coverage of Message-passing Parallel Programs
    TIAN Tian
    GONG Dunwei
    ChineseJournalofElectronics, 2014, 23 (02) : 291 - 296
  • [40] Evolutionary Generation Approach of Test Data for Multiple Paths Coverage of Message-passing Parallel Programs
    Tian Tian
    Gong Dunwei
    CHINESE JOURNAL OF ELECTRONICS, 2014, 23 (02) : 291 - 296