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 条
  • [21] Abstraction-driven Concolic Testing
    Daca, Przemyslaw
    Gupta, Ashutosh
    Henzinger, Thomas A.
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2016, 2016, 9583 : 328 - 347
  • [22] Event-driven RBAC
    Bonatti, Piero
    Galdi, Clemente
    Torres, Davide
    JOURNAL OF COMPUTER SECURITY, 2015, 23 (06) : 709 - 757
  • [23] Event-Driven Dashboarding and Feedback for Improved Event Detection in Predictive Maintenance Applications
    Moens, Pieter
    Vanden Hautte, Sander
    De Paepe, Dieter
    Steenwinckel, Bram
    Verstichel, Stijn
    Vandekerckhove, Steven
    Ongenae, Femke
    Van Hoecke, Sofie
    APPLIED SCIENCES-BASEL, 2021, 11 (21):
  • [24] Flame-MR: An event-driven architecture for MapReduce applications
    Veiga, Jorge
    Exposito, Roberto R.
    Taboada, Guillermo L.
    Tourino, Juan
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2016, 65 : 46 - 56
  • [25] Efficient Concolic Testing of MPI Applications
    Li, Hongbo
    Chen, Zizhong
    Gupta, Rajiv
    PROCEEDINGS OF THE 28TH INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION (CC '19), 2019, : 193 - 204
  • [26] Event-driven piezoelectric energy harvesting for railway field applications
    Qu, Shuai
    Ren, Yuhao
    Hu, Guobiao
    Ding, Wei
    Dong, Liwei
    Yang, Jizhong
    Wu, Zaixin
    Zhu, Shengyang
    Yang, Yaowen
    Zhai, Wanming
    APPLIED ENERGY, 2024, 364
  • [27] EFetch: Optimizing Instruction Fetch for Event-Driven Web Applications
    Chadha, Gaurav
    Mahlke, Scott
    Narayanasamy, Satish
    PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT'14), 2014, : 75 - 86
  • [28] Authentic Execution of Distributed Event-Driven Applications with a Small TCB
    Noorman, Job
    Muhlberg, Jan Tobias
    Piessens, Frank
    SECURITY AND TRUST MANAGEMENT (STM 2017), 2017, 10547 : 55 - 71
  • [29] DistGear: A Lightweight Event-driven Framework for Developing Distributed Applications
    Ma, Junming
    An, Bo
    Chen, Xiangqun
    Cao, Donggang
    2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 106 - 115
  • [30] An event-driven framework for inter-user communication applications
    Hsu, Chien-Chih
    Wu, I. -Chen
    INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (07) : 471 - 483