Differential Testing of Pushdown Reachability with a Formally Verified Oracle

Publikation: Bidrag til bog/antologi/rapport/konference proceedingKonferenceartikel i proceedingForskningpeer review

23 Downloads (Pure)

Abstract

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.
OriginalsprogEngelsk
TitelProceedings of the 22nd Conference on Formal Methods in Computer-Aided Design – FMCAD 2022
RedaktørerAlberto Griggio, Neha Rungta
Antal sider11
Vol/bind3
ForlagTU Wien Academic Press
Publikationsdatookt. 2022
Sider369-379
Kapitel44
ISBN (Elektronisk)978-3-85448-053-2
DOI
StatusUdgivet - okt. 2022
BegivenhedFormal Methods in Computer-Aided Design 2022 - Trento, Italien
Varighed: 17 okt. 202221 okt. 2022

Konference

KonferenceFormal Methods in Computer-Aided Design 2022
Land/OmrådeItalien
ByTrento
Periode17/10/202221/10/2022
NavnConference Series: Formal Methods in Computer-Aided Design

Fingeraftryk

Dyk ned i forskningsemnerne om 'Differential Testing of Pushdown Reachability with a Formally Verified Oracle'. Sammen danner de et unikt fingeraftryk.

Citationsformater