Large-Scale Empirical Study of Inline Assembly on 7.6 Million Ethereum Smart Contracts

被引:10
|
作者
Liao, Zhou [1 ]
Song, Shuwei [1 ]
Zhu, Hang [1 ]
Luo, Xiapu [2 ]
He, Zheyuan [1 ]
Jiang, Renkai [1 ]
Chen, Ting [1 ]
Chen, Jiachi [3 ]
Zhang, Tao [4 ]
Zhang, Xiaosong [1 ]
机构
[1] Univ Elect Sci & Technol China, Inst Cyber Secur, Chengdu 611731, Sichuan, Peoples R China
[2] Hong Kong Polytech Univ, Dept Comp, Hong Kong, Peoples R China
[3] Monash Univ, Clayton, Vic 3800, Australia
[4] Macau Univ Sci & Technol, Macau 999078, Peoples R China
基金
中国博士后科学基金;
关键词
Ethereum; smart contract; Solidity; inline assembly; Yul; CHALLENGES;
D O I
10.1109/TSE.2022.3163614
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Being the most popular programming language for developing Ethereum smart contracts, Solidity allows using inline assembly to gain fine-grained control. Although many empirical studies on smart contracts have been conducted, to the best of our knowledge, none has examined inline assembly in smart contracts. To fill the gap, in this paper, we conduct the first large-scale empirical study of inline assembly on more than 7.6 million open-source Ethereum smart contracts from three aspects, namely, source code, bytecode, and transactions after designing new approaches to tackle several technical challenges. Through a thorough quantitative and qualitative analysis of the collected data, we obtain many new observations and insights. Moreover, by conducting a questionnaire survey on using inline assembly in smart contracts, we draw new insights from the valuable feedback. This work sheds light on the development of smart contracts as well as the evolution of Solidity and its compilers.
引用
收藏
页码:777 / 801
页数:25
相关论文
共 50 条
  • [21] A Large-Scale Empirical Study of Android App Decompilation
    Mauthe, Noah
    Kargen, Ulf
    Shahmehri, Nahid
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 400 - 410
  • [22] A Large-Scale Empirical Study of Geotagging Behavior on Twitter
    Huang, Binxuan
    Carley, Kathleen M.
    PROCEEDINGS OF THE 2019 IEEE/ACM INTERNATIONAL CONFERENCE ON ADVANCES IN SOCIAL NETWORKS ANALYSIS AND MINING (ASONAM 2019), 2019, : 365 - 373
  • [23] Quantifying reuse in OSS: A large-scale empirical study
    Constantinou, Eleni
    Ampatzoglou, Apostolos
    Stamelos, Ioannis
    International Journal of Open Source Software and Processes, 2014, 5 (03) : 1 - 19
  • [24] A LARGE-SCALE EMPIRICAL STUDY ON THE COGNITIVE COMPLEXITY OF SOFTWARE
    Chiew, Vincent
    Wang, Yingxu
    2010 23RD CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING (CCECE), 2010,
  • [25] A Large-Scale Empirical Study on Industrial Fake Apps
    Tang, Chongbin
    Chen, Sen
    Fan, Lingling
    Xu, Lihua
    Liu, Yang
    Tang, Zhushou
    Dou, Liang
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP 2019), 2019, : 183 - 192
  • [26] A study on gas cost of ethereum smart contracts and performance of blockchain on simulation tool
    Ta, Minh Thanh
    Do, Tien Quyet
    PEER-TO-PEER NETWORKING AND APPLICATIONS, 2024, 17 (01) : 213 - 226
  • [27] A study on gas cost of ethereum smart contracts and performance of blockchain on simulation tool
    Minh Thanh Ta
    Tien Quyet Do
    Peer-to-Peer Networking and Applications, 2024, 17 : 200 - 212
  • [28] Empowering Small-Scale Farmers with Decentralized Finance (DeFi) via Ethereum Smart Contracts
    Minu, M. S.
    Suryaa, S. Rohit
    Titus, J. Jovan
    Sharan, S.
    2ND INTERNATIONAL CONFERENCE ON SUSTAINABLE COMPUTING AND SMART SYSTEMS, ICSCSS 2024, 2024, : 683 - 690
  • [29] A hundred million words: Reflections on historical research with large-scale textual datasets as empirical evidence
    Snickars, Pelle
    HISTORISK TIDSKRIFT, 2022, 142 (03): : 320 - 352
  • [30] A Large-Scale Empirical Study on Semantic Versioning in Golang Ecosystem
    Li, Wenke
    Wu, Feng
    Fu, Cai
    Zhou, Fan
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE, 2023, : 1604 - 1614