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 条
  • [1] Grammar-based Fuzzing
    Sargsyan, Sevak
    Kurmangaleev, Shamil
    Mehrabyan, Matevos
    Mishechkin, Maksim
    Ghukasyan, Tsolak
    Asryan, Sergey
    [J]. 2018 IVANNIKOV MEMORIAL WORKSHOP (IVMEM 2018), 2018, : 32 - 35
  • [2] Grammar-based whitebox fuzzing
    Microsoft Research, Redmond, WA, United States
    不详
    不详
    [J]. ACM SIGPLAN Not, 6 (206-215):
  • [3] Grammar-based Whitebox Fuzzing
    Godefroid, Patrice
    Kiezun, Adam
    Levin, Michael Y.
    [J]. PLDI'08: PROCEEDINGS OF THE 2008 SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN & IMPLEMENTATION, 2008, : 206 - +
  • [4] Grammar-based whitebox fuzzing
    Godefroid, Patrice
    Kiezun, Adam
    Levin, Michael Y.
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (06) : 206 - 215
  • [5] Grammar-based Fuzzing Tool Using Markov Chain Model to Generate New Fuzzing Inputs
    Al Salem, Hamad
    Song, Jia
    [J]. 2021 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI 2021), 2021, : 1924 - 1930
  • [6] Bottleneck Analysis via Grammar-based Performance Fuzzing
    Koroglu, Yavuz
    Wotawa, Franz
    [J]. 2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, : 180 - 185
  • [7] Grammar-based Adaptive Fuzzing: Evaluation on SCADA Modbus Protocol
    Yoo, Hyunguk
    Shon, Taeshik
    [J]. 2016 IEEE INTERNATIONAL CONFERENCE ON SMART GRID COMMUNICATIONS (SMARTGRIDCOMM), 2016,
  • [8] TREELINE and SLACKLINE: Grammar-Based Performance Fuzzing on Coffee Break
    Alsaeed, Ziyad
    Young, Michal
    [J]. PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 1507 - 1510
  • [9] Leveraging Textual Specifications for Grammar-Based Fuzzing of Network Protocols
    Jero, Samuel
    Pacheco, Maria Leonor
    Goldwasser, Dan
    Nita-Rotaru, Cristina
    [J]. THIRTY-THIRD AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FIRST INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / NINTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2019, : 9478 - 9483
  • [10] Grammar-Based Process Model Representation for Probabilistic Conformance Checking
    Watanabe, Akio
    Takahashi, Yousuke
    Ikeuchi, Hiroki
    Matsuda, Kotaro
    [J]. 2022 4TH INTERNATIONAL CONFERENCE ON PROCESS MINING (ICPM 2022), 2022, : 88 - 95