arrow
Return

Adversarial Specification Mining

delete2021-01-03
delete7
delete
OA
AI
H
Hong Jin Kang *
David Lo cover
David Lo (David Lo)
DOI:10.1145/3424307delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
There have been numerous studies on mining temporal specifications from execution traces. These approaches learn finite-state automata (FSA) from execution traces when running tests. To learn accurate specifications of a software system, many tests are required. Existing approaches generalize from a limited number of traces or use simple test generation strategies. Unfortunately, these strategies may not exercise uncommon usage patterns of a software system. To address this problem, we propose a new approach, adversarial specification mining, and develop a prototype, Diversity through Counter-examples (DICE). DICE has two components: DICE-Tester and DICE-Miner. After mining Linear Temporal Logic specifications from an input test suite, DICE-Tester adversarially guides test generation, searching for counterexamples to these specifications to invalidate spurious properties. These counterexamples represent gaps in the diversity of the input test suite. This process produces execution traces of usage patterns that were unrepresented in the input test suite. Next, we propose a new specification inference algorithm, DICE-Miner, to infer FSAs using the traces, guided by the temporal specifications. We find that the inferred specifications are of higher quality than those produced by existing state-of-the-art specification miners. Finally, we use the FSAs in a fuzzer for servers of stateful protocols, increasing its coverage.
Keywords:
Specification mining
search-based test generation
fuzzing
Automatically Generating Test Cases for Specification Mining
err2012-03-01
err46
PREAI
errDallmeier, Valentin; Knopp, Nikolai; Mallon, Christoph; Fraser, Gordon; Hack, Sebastian; Zeller, Andreas
errShare
errSave
Mining Workflow Models from Web Applications
err2015-12-01
err17
PREAI
errSchur, Matthias; Roth, Andreas; Zeller, Andreas
errShare
errSave
RapidFuzz: Accelerating fuzzing via Generative Adversarial Networks
err2021-10-01
err13
PREAI
errYe, Aoshuang; Wang, Lina; Zhao, Lei; Ke, Jianpeng; Wang, Wenqi; Liu, Qinliang
errShare
errSave
Specification-Based Autonomous Driving System Testing
err2023-01-01
err11
errOAAI
errZhou, Yuan; Sun, Yang; Tang, Yun; Chen, Yuqi; Sun, Jun; Poskitt, Christopher M. M.; Liu, Yang; Yang, Zijiang
errShare
errSave
Static specification mining using automata-based abstractions
err2008-09-01
err53
PREAI
errShoham, Sharon; Yahav, Eran; Fink, Stephen J.; Pistoia, Marco
errShare
errSave
A Systematic Literature Review on Mining LTL Specifications
err2025-01-01
err0
errOAAI
errGerminiani, Samuele; Nicoletti, Daniele; Pravadelli, Graziano
errShare
errSave

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.4K
Citations:
4.5K

Organization

S
Singapore Management University
Scholars:
229
Papers: 159
Citations: 2.3K
Cited Papers

Cited Papers

Crystallographic structure and magnetic properties of polycrystalline FePd thin films on glass substrate
err2015-01-22
err0
PREAI
errS. H. Liu; C. C. Chen; S. N. Hsiao; S. K. Chen; Y. C. Chang; S. H. Su; K. F. Chiu
errShare
errSave
Mining sequential patterns by pattern-growth: The PrefixSpan approach
err2004-11-01
err861
errOAAI
errPei, J; Han, JW; Mortazavi-Asl, B; Wang, JY; Pinto, H; Chen, QM; Dayal, U; Hsu, MC
errShare
errSave
Adaptive Random Testing: The ART of test case diversity
err2010-01-01
err267
errOAAI
errChen, Tsong Yueh; Kuo, Fei-Ching; Merkel, Robert G.; Tse, T. H.
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
researcher View more