An Empirical Study on the Effects of Entry Function Pairs in Fuzzing Smart Contracts

Imran Ashraf, W. K. Chan*

*Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

2 Citations (Scopus)

Abstract

Ethereum smart contracts may incur security vulnerabilities. Fuzzing is an industry-standard practice to detect them in improving the dependability of programs. Existing fuzz testing techniques for Ethereum smart contracts are insensitive to whether consecutive seeds of the same function are used for fuzzing the smart contract under test. Nonetheless, smart contracts are often designed to have collaborations among different functions for business activity to complete. We wonder whether this mismatch will make fuzzing techniques less effective than they should be. In this paper, to the best of our knowledge, we present the first work to show that security vulnerability detection can be significantly more effective in smart contract fuzzing if the entry functions of recent past test cases can be distinct. The empirical results show that the performance boost can be as large as 10.4% by simply enabling any test case not invoking the same entry functions as a few recent past test cases. The empirical result also shows that the cost-effectiveness also increases by up to 21.9%.
Original languageEnglish
Title of host publicationProceedings - 2022 IEEE 46th Annual Computers, Software, and Applications Conference (COMPSAC 2022)
EditorsHong Va Leong, Sahra Sedigh Sarvestani, Yuuichi Teranishi, Alfredo Cuzzocrea, Hiroki Kashiwazaki, Dave Towey, Ji-Jiang Yang, Hossain Shahriar
PublisherIEEE
Pages1716-1721
Number of pages6
ISBN (Electronic)9781665488105
ISBN (Print)9781665488112
DOIs
Publication statusPublished - 2022
Event46th IEEE Computer Society International Conference on Computers, Software, and Applications (COMPSAC 2022): Computers, Software, and Applications in an Uncertain World - Virtual, United States
Duration: 27 Jun 20221 Jul 2022

Publication series

NameProceedings - IEEE Annual Computers, Software, and Applications Conference, COMPSAC
ISSN (Print)0730-3157

Conference

Conference46th IEEE Computer Society International Conference on Computers, Software, and Applications (COMPSAC 2022)
Country/TerritoryUnited States
Period27/06/221/07/22

Research Keywords

  • Blockchain
  • Fuzz Testing
  • Security Vulnerability Detection
  • Smart Contracts
  • Technical Debt

Fingerprint

Dive into the research topics of 'An Empirical Study on the Effects of Entry Function Pairs in Fuzzing Smart Contracts'. Together they form a unique fingerprint.

Cite this