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 条
  • [1] Testing a Formally Verified Compiler
    Monniaux, David
    Gourdin, Leo
    Boulme, Sylvain
    Lebeltel, Olivier
    TESTS AND PROOFS, TAP 2023, 2023, 14066 : 40 - 48
  • [2] Formally Verified Differential Dynamic Logic
    Bohrer, Brandon
    Rahli, Vincent
    Vukotic, Ivana
    Volp, Marcus
    Platzer, Andre
    PROCEEDINGS OF THE 6TH ACM SIGPLAN CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS, CPP'17, 2017, : 208 - 221
  • [3] Formally Verified Computation of Enclosures of Solutions of Ordinary Differential Equations
    Immler, Fabian
    NASA FORMAL METHODS, NFM 2014, 2014, 8430 : 113 - 127
  • [4] A Formally Verified NAT
    Zaostrovnykh, Arseniy
    Pirelli, Solal
    Pedrosa, Luis
    Argyraki, Katerina
    Candea, George
    SIGCOMM '17: PROCEEDINGS OF THE 2017 CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION, 2017, : 141 - 154
  • [5] Formally Verified Mathematics
    Avigad, Jeremy
    Harison, John
    COMMUNICATIONS OF THE ACM, 2014, 57 (04) : 66 - 75
  • [6] Reachability in Pushdown Register Automata
    Murawski, Andrzej S.
    Ramsay, Steven J.
    Tzevelekos, Nikos
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2014, PT I, 2014, 8634 : 464 - +
  • [7] Pushdown reachability with constant treewidth
    Chatterjee, Krishnendu
    Osang, Georg
    INFORMATION PROCESSING LETTERS, 2017, 122 : 25 - 29
  • [8] Reachability in pushdown register automata
    Murawski, A. S.
    Ramsay, S. J.
    Tzevelekos, N.
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2017, 87 : 58 - 83
  • [9] Reachability in Continuous Pushdown VASS
    Balasubramanian, A. R.
    Majumdar, Rupak
    Thinniyam, Ramanathan S.
    Zetzsche, Georg
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (POPL): : 90 - 114
  • [10] Pragmatics of formally verified yet efficient static analysis, in particular, for formally verified compilers
    Monniaux, David
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2024, 26 (04) : 463 - 477