Systematic Evaluation of Black-Box Checking for Fast Bug Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pellen, Bram, Rodríguez, María Belén, Vaandrager, Frits, Bos, Petra van den
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912753971625984
author Pellen, Bram
Rodríguez, María Belén
Vaandrager, Frits
Bos, Petra van den
author_facet Pellen, Bram
Rodríguez, María Belén
Vaandrager, Frits
Bos, Petra van den
contents Combinations of active automata learning, model-based testing and model checking have been successfully used in numerous applications, e.g., for spotting bugs in implementations of major network protocols and to support refactoring of embedded controllers. However, in the large majority of these applications, model checking is only used at the very end, when no counterexample can be found anymore for the latest hypothesis model. This contrasts with the original proposal of black-box checking (BBC) by Peled, Vardi & Yannakakis, which applies model checking for all hypotheses, also the intermediate ones. In this article, we present the first systematic evaluation of the ability of BBC to find bugs quickly, based on 77 benchmarks models from real protocol implementations and controllers for which specifications of safety properties are available. Our main finding are: (a) In cases where the full model can be learned, BBC detects violations of the specifications with just 3.4% of the queries needed by an approach in which model checking is only used for the full model. (b) Even when the full model cannot be learned, BBC is still able to detect many violations of the specification. In particular, BBC manages to detect 94% of the safety properties violations in the challenging RERS 2019 industrial LTL benchmarks. (c) Our results also confirm that BBC is way more effective than existing MBT algorithms in finding deep bugs in implementations.
format Preprint
id arxiv_https___arxiv_org_abs_2512_07434
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Systematic Evaluation of Black-Box Checking for Fast Bug Detection
Pellen, Bram
Rodríguez, María Belén
Vaandrager, Frits
Bos, Petra van den
Software Engineering
Formal Languages and Automata Theory
68Q45
D.2.5; F.4.3
Combinations of active automata learning, model-based testing and model checking have been successfully used in numerous applications, e.g., for spotting bugs in implementations of major network protocols and to support refactoring of embedded controllers. However, in the large majority of these applications, model checking is only used at the very end, when no counterexample can be found anymore for the latest hypothesis model. This contrasts with the original proposal of black-box checking (BBC) by Peled, Vardi & Yannakakis, which applies model checking for all hypotheses, also the intermediate ones. In this article, we present the first systematic evaluation of the ability of BBC to find bugs quickly, based on 77 benchmarks models from real protocol implementations and controllers for which specifications of safety properties are available. Our main finding are: (a) In cases where the full model can be learned, BBC detects violations of the specifications with just 3.4% of the queries needed by an approach in which model checking is only used for the full model. (b) Even when the full model cannot be learned, BBC is still able to detect many violations of the specification. In particular, BBC manages to detect 94% of the safety properties violations in the challenging RERS 2019 industrial LTL benchmarks. (c) Our results also confirm that BBC is way more effective than existing MBT algorithms in finding deep bugs in implementations.
title Systematic Evaluation of Black-Box Checking for Fast Bug Detection
topic Software Engineering
Formal Languages and Automata Theory
68Q45
D.2.5; F.4.3
url https://arxiv.org/abs/2512.07434