State merging for concolic testing of event-driven applications

被引:0
|
作者
Vandercammen, Maarten [1 ]
De Roover, Coen [1 ]
机构
[1] Vrije Univ Brussel, Pleinlaan 2, Brussels 1050, Belgium
关键词
Concolic testing; State merging; Event-driven applications; SYMBOLIC EXECUTION; EFFICIENT;
D O I
10.1016/j.scico.2025.103264
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Symbolic execution has proven itself a successful technique for automatically testing applications. However, it suffers from the state explosion problem, where execution of the program generates an exponential number of execution states that must be explored to fully cover the program. This problem can be mitigated by incorporating state merging into the testing procedure, where execution states that are sufficiently similar are merged together. Although state merging has been applied successfully to the testing of sequential applications, testing of event-driven applications brings with it unique challenges. In event-driven programs, the creation of new execution states is driven by both branch conditions encountered by the executor and the various permutations of the application's event sequence, as every event sequence potentially gives rise to a unique set of execution states that are created. This article presents the first description of how state merging can be applied in the context of symbolic execution of event- driven applications. Furthermore, although state merging has been described extensively for online symbolic execution, no mechanism has yet explicitly been described for incorporating state merging into offline symbolic execution, such as concolic testing. Online symbolic executors enable forking of the execution state upon reaching a branch condition that depends on symbolic input. Such testers can explore multiple program paths simultaneously. They can hence fork and merge states whenever the opportunity arises. Offline symbolic execution on the other hand, explores each program path separately. The reduced flexibility complicates the application of state merging. This article provides the first explicit overview of how state merging can be incorporated in concolic testing. We have implemented this approach to state merging in a concolic tester for event-driven JavaScript applications named STACKFUL. We evaluate this tester on a limited set of eight small, event-driven JavaScript web applications, and find that, within the scope of these eight applications, state merging successfully alleviates the state explosion problem, resulting in the concolic tester covering a larger part of the application in fewer test iterations.
引用
收藏
页数:31
相关论文
共 50 条
  • [1] State merging for concolic testing of event-driven applications
    Vandercammen, Maarten
    De Roover, Coen
    Science of Computer Programming, 242
  • [2] Merging Event-Driven Process Chains
    Gottschalk, Florian
    van der Aalst, Wil M. P.
    Jansen-Vullers, Monique H.
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2008, PART I, 2008, 5331 : 418 - 426
  • [3] Testing Event-Driven Business Processes
    Schiefer, Josef
    Saurer, Gerd
    Schatten, Alexander
    JOURNAL OF COMPUTERS, 2006, 1 (07) : 69 - 80
  • [4] Testing for Event-Driven Microservices Based on Consumer-Driven Contracts and State Models
    Wu, Chu-Fei
    Ma, Shang-Pin
    Shau, An-Chi
    Yeh, Hang-Wei
    2022 29TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC, 2022, : 467 - 471
  • [5] A tutorial on creating logfiles for event-driven applications
    Greg Breinholt
    Helmut Krueger
    Behavior Research Methods, Instruments, & Computers, 1999, 31 : 410 - 415
  • [6] A tutorial on creating logfiles for event-driven applications
    Breinholt, G
    Krueger, H
    BEHAVIOR RESEARCH METHODS INSTRUMENTS & COMPUTERS, 1999, 31 (03): : 410 - 415
  • [7] Reference architecture for event-driven RFID applications
    Dunkel, Juergen
    Bruns, Ralf
    IWRT 2008: PROCEEDINGS OF THE 2ND INTERNATIONAL WORKSHOP ON RFID TECHNOLOGY - CONCEPTS, APPLICATIONS CHALLENGES, 2008, : 129 - 135
  • [8] Event-Driven Energy Metering: Principles and Applications
    Simonov, Mikhail
    Chicco, Gianfranco
    Zanetto, Gianluca
    IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, 2017, 53 (04) : 3217 - 3227
  • [9] Stateless Model Checking of Event-Driven Applications
    Jensen, Casper S.
    Moller, Anders
    Raychev, Veselin
    Dimitrov, Dimitar
    Vechev, Martin
    ACM SIGPLAN NOTICES, 2015, 50 (10) : 57 - 73
  • [10] An event-driven system for distributed multimedia applications
    Pfeifer, A
    Ururahy, C
    Rodriguez, N
    Ierusalimschy, R
    22ND INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS WORKSHOP, PROCEEDINGS, 2002, : 583 - 584