计算机科学
实证研究
比例(比率)
智能合约
计算机安全
量子力学
认识论
物理
哲学
块链
作者
Zhou Liao,Shuwei Song,Hang Zhu,Xiapu Luo,Zheyuan He,Renkai Jiang,Ting Chen,Jiachi Chen,Tao Zhang,Xiaosong Zhang
标识
DOI:10.1109/tse.2022.3163614
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI