Understanding Typing-Related Bugs in Solidity Compiler

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Lantian, Pan, Yue, Wang, Dan, Wu, Jingwen, Yu, Zhongxing
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911329055408128
author Li, Lantian
Pan, Yue
Wang, Dan
Wu, Jingwen
Yu, Zhongxing
author_facet Li, Lantian
Pan, Yue
Wang, Dan
Wu, Jingwen
Yu, Zhongxing
contents The correctness of the Solidity compiler is crucial for ensuring the security of smart contracts. However, the implementation complexity of its type system often introduces elusive defects. This paper presents the first systematic empirical study on typing-related bugs in the Solidity compiler. To systematically analyze these bugs, we collected 146 officially confirmed and fixed typing-related bugs from the official GitHub repository of Solidity compiler. For each bug, we conducted an in-depth analysis and classification from four dimensions: symptoms, root causes, exposure conditions, and fix strategies. Through this study, we reveal unique distribution patterns and key characteristics of such bugs, and summarize 12 core findings. We additionally give the implications of our findings, and these implications not only deepen the understanding of inherent weaknesses in the Solidity compiler but also provide new insights for detecting and fixing typing-related bugs in the Solidity compiler.
format Preprint
id arxiv_https___arxiv_org_abs_2512_18182
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding Typing-Related Bugs in Solidity Compiler
Li, Lantian
Pan, Yue
Wang, Dan
Wu, Jingwen
Yu, Zhongxing
Software Engineering
The correctness of the Solidity compiler is crucial for ensuring the security of smart contracts. However, the implementation complexity of its type system often introduces elusive defects. This paper presents the first systematic empirical study on typing-related bugs in the Solidity compiler. To systematically analyze these bugs, we collected 146 officially confirmed and fixed typing-related bugs from the official GitHub repository of Solidity compiler. For each bug, we conducted an in-depth analysis and classification from four dimensions: symptoms, root causes, exposure conditions, and fix strategies. Through this study, we reveal unique distribution patterns and key characteristics of such bugs, and summarize 12 core findings. We additionally give the implications of our findings, and these implications not only deepen the understanding of inherent weaknesses in the Solidity compiler but also provide new insights for detecting and fixing typing-related bugs in the Solidity compiler.
title Understanding Typing-Related Bugs in Solidity Compiler
topic Software Engineering
url https://arxiv.org/abs/2512.18182