Differential Testing of Pushdown Reachability with a Formally Verified Oracle

被引:1
|
作者
Schlichtkrull, Anders [1 ]
Schou, Morten Konggaard [1 ]
Srba, Jiri [1 ]
Traytel, Dmitriy [2 ]
机构
[1] Aalborg Univ, Dept Comp Sci, Aalborg, Denmark
[2] Univ Copenhagen, Dept Comp Sci, Copenhagen, Denmark
关键词
NETWORKS; AUTOMATA; CHECKER; SAFETY;
D O I
10.34727/2022/isbn.978-3-85448-053-2_44
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Pushdown automata are an essential model of recursive computation. In model checking and static analysis, numerous problems can be reduced to reachability questions about pushdown automata and several efficient libraries implement automata-theoretic algorithms for answering these questions. These libraries are often used as core components in other tools, and therefore it is instrumental that the used algorithms and their implementations are correct. We present a method that significantly increases the trust in the answers provided by the libraries for pushdown reachability by (i) formally verifying the correctness of the used algorithms using the Isabelle/HOL proof assistant, (ii) extracting executable programs from the formalization, (iii) implementing a framework for the differential testing of library implementations with the verified extracted algorithms as oracles, and (iv) automatically minimizing counter-examples from the differential testing based on the delta-debugging methodology. We instantiate our method to the concrete case of PDAAAL, a state-of-the-art library for pushdown reachability. Thereby, we discover and resolve several nontrivial errors in PDAAAL.
引用
收藏
页码:369 / 379
页数:11
相关论文
共 50 条
  • [21] Resource Reachability Games on Pushdown Graphs
    Lang, Martin
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, 2014, 8412 : 195 - 209
  • [22] Regular strategies in pushdown reachability games
    Carayol, A.
    Hague, M.
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8762 : 58 - 71
  • [23] REACHABILITY ANALYSIS OF COMMUNICATING PUSHDOWN SYSTEMS
    Heussner, Alexander
    Leroux, Jerome
    Muscholl, Anca
    Sutre, Gregoire
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (03)
  • [24] Reachability Analysis of Communicating Pushdown Systems
    Heussner, Alexander
    Leroux, Jerome
    Muscholl, Anca
    Sutre, Gregoire
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATIONAL STRUCTURES, PROCEEDINGS, 2010, 6014 : 267 - 281
  • [25] Reachability relations of timed pushdown automata
    Clemente, Lorenzo
    Lasota, Slawomir
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2021, 117 : 202 - 241
  • [26] On removing the pushdown stack in reachability constructions
    Ibarra, OH
    Dang, Z
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2001, 2223 : 244 - 256
  • [27] Reachability of Patterned Conditional Pushdown Systems
    Li, Xin
    Gardy, Patrick
    Deng, Yu-Xin
    Seki, Hiroyuki
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2020, 35 (06) : 1295 - 1311
  • [28] Reachability of Patterned Conditional Pushdown Systems
    Xin Li
    Patrick Gardy
    Yu-Xin Deng
    Hiroyuki Seki
    Journal of Computer Science and Technology, 2020, 35 : 1295 - 1311
  • [29] Formally Verified Approximations of Definite Integrals
    Mahboubi, Assia
    Melquiond, Guillaume
    Sibut-Pinote, Thomas
    JOURNAL OF AUTOMATED REASONING, 2019, 62 (02) : 281 - 300
  • [30] A Formally Verified Model of Web Components
    Brucker, Achim D.
    Herzberg, Michael
    FORMAL ASPECTS OF COMPONENT SOFTWARE, FACS 2019, 2020, 12018 : 51 - 71