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 条
  • [41] Reachability Analysis for Time Dynamic Pushdown Networks
    Qian J.-Y.
    Xu L.
    Gu T.-L.
    Zhao L.-Z.
    Cai G.-Y.
    Zhao, Ling-Zhong (zhaolingzhong163@163.com), 1600, Chinese Institute of Electronics (45): : 2241 - 2249
  • [43] On the reachability analysis of acyclic networks of pushdown systems
    Atig, Mohamed Faouzi
    Bouajjani, Ahmed
    Touili, Tayssir
    CONCUR 2008 - CONCURRENCY THEORY, PROCEEDINGS, 2008, 5201 : 356 - +
  • [44] Formally verified asymptotic consensus in robust networks
    Tekriwal, Mohit
    Tachna-Fram, Avi
    Jeannin, Jean-Baptiste
    Kapritsos, Manos
    Panagou, Dimitra
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PT I, TACAS 2024, 2024, 14570 : 248 - 267
  • [45] A Formally Verified Compiler Back-end
    Xavier Leroy
    Journal of Automated Reasoning, 2009, 43 : 363 - 446
  • [46] Engineering a Formally Verified Automated Bug Finder
    Correnson, Arthur
    Steinhoefel, Dominic
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 1165 - 1176
  • [47] Code Optimizations Using Formally Verified Properties
    Shi, Yao
    Blackham, Bernard
    Heiser, Gernot
    ACM SIGPLAN NOTICES, 2013, 48 (10) : 427 - 441
  • [48] Neurosymbolic Reinforcement Learning with Formally Verified Exploration
    Anderson, Greg
    Verma, Abhinav
    Dillig, Isil
    Chaudhuri, Swarat
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [49] A Formally Verified Proof of the Central Limit Theorem
    Jeremy Avigad
    Johannes Hölzl
    Luke Serafin
    Journal of Automated Reasoning, 2017, 59 : 389 - 423
  • [50] A Formally Verified Compiler Back-end
    Leroy, Xavier
    JOURNAL OF AUTOMATED REASONING, 2009, 43 (04) : 363 - 446