Conformance Testing of Formal Semantics Using Grammar-Based Fuzzing

被引:2
|
作者
Marmsoler, Diego [1 ]
Brucker, Achim D. [1 ]
机构
[1] Univ Exeter, Exeter, Devon, England
来源
TESTS AND PROOFS (TAP 2022) | 2022年 / 13361卷
关键词
Conformance testing; Fuzzing; Verification; Solidity; VALIDATION;
D O I
10.1007/978-3-031-09827-7_7
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A common problem in verification is to ensure that the formal specification models the real-world system, i.e., the implementation, faithfully. Testing is a technique that can help to bridge the gap between a formal specification and its implementation. Fuzzing in general and grammar-based fuzzing in particular are successfully used for finding bugs in implementations. Traditional fuzzing applications rely on an implicit test specification that informally can be described as "the program under test does not crash". In this paper, we present an approach using grammar-based fuzzing to ensure the conformance of a formal specification, namely the formal semantics of the Solidity Programming language, to a real-world implementation. For this, we derive an executable test-oracle from the formal semantics of Solidity in Isabelle/HOL. The derived test oracle is used during the fuzzing of the implementation to validate that the formal semantics and the implementation are in conformance.
引用
收藏
页码:106 / 125
页数:20
相关论文
共 50 条
  • [21] Controllable combinatorial coverage in grammar-based testing
    Lammel, Ralf
    Schulte, Wolfram
    [J]. TESTING OF COMMUNICATION SYSTEMS, PROCEEDINGS, 2006, 3964 : 19 - 38
  • [22] Grammar-Based Action Selection Rules for Scriptless Testing
    Hufkens, Lianne V.
    Pastor Ricos, Fernando
    Marin, Beatriz
    Vos, Tanja E. J.
    [J]. PROCEEDINGS OF THE 2024 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST 2024, 2024, : 56 - 65
  • [23] Grammar-based fuzz testing for microprocessor RTL design
    Luo, Dan
    Li, Tun
    Chen, Liqian
    Zou, Hongji
    Shi, Mingchuan
    [J]. INTEGRATION-THE VLSI JOURNAL, 2022, 86 : 64 - 73
  • [24] FORMAL SEMANTICS AND THE GRAMMAR OF PREDICATION
    CHIERCHIA, G
    [J]. LINGUISTIC INQUIRY, 1985, 16 (03) : 417 - 443
  • [25] Translating formal software specifications to natural language - A grammar-based approach
    Burke, DA
    Johannisson, K
    [J]. LOGICAL ASPECTS OF COMPUTATIONAL LINGUISTICS, PROCEEDINGS, 2005, 3492 : 51 - 66
  • [26] A graph grammar-based formal validation of object-process diagrams
    Arieh Bibliowicz
    Dov Dori
    [J]. Software & Systems Modeling, 2012, 11 : 287 - 302
  • [27] A graph grammar-based formal validation of object-process diagrams
    Bibliowicz, Arieh
    Dori, Dov
    [J]. SOFTWARE AND SYSTEMS MODELING, 2012, 11 (02): : 287 - 302
  • [28] Formal executable semantics for conformance in the MDE framework
    Egea, Marina
    Rusu, Vlad
    [J]. INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2010, 6 (1-2) : 73 - 81
  • [29] A FORMAL APPROACH TO CONFORMANCE TESTING
    TRETMANS, J
    [J]. PROTOCOL TEST SYSTEMS, VI, 1994, 19 : 257 - 276
  • [30] Fast Grammar-Based Evolution Using Memoization
    Luerssen, Martin
    Powers, David
    [J]. PARALLEL PROBLEM SOLVING FROM NATURE-PPSN XI, PT II, 2010, 6239 : 502 - 511