Abstract
As blockchain solutions become widespread, identifying potential bugs in smart contracts written in Solidity language will be important for these solutions to work correctly. To accurately detect these bugs, the developer must use several state-of-the-art bug detection tools and investigate the potential bugs they report. In this study, we first show that one tool is not enough to detect all the bugs as our Static Analysis for Solidity tool (SA-Solidity) and the known SmartCheck and Securify tools identify different bugs in SmartEmbed's experimental set of smart contracts. Then, we develop Machine Learning-based Bug Predictor for Solidity (MLBP-Solidity) which predicts files that would be reported by all the previous bug detection tools. MLBP-Solidity eases the burden on the developer by allowing him/her to focus on a subset of files that are most probably buggy. Our experimental results show that MLBP-Solidity achieves 91-99% accuracy, depending on the type of predicted bug.
| Translated title of the contribution | Machine Learning Based Bug Prediction Engine for Smart Contracts |
|---|---|
| Original language | Turkish |
| Title of host publication | 2020 Turkish National Software Engineering Symposium, UYMS 2020 - Proceedings |
| Editors | Bekir Tevfik Akgun, Tolga Ayav, Semih Bilgen, Geylani Kardas |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| ISBN (Electronic) | 9781728185415 |
| DOIs | |
| Publication status | Published - 7 Oct 2020 |
| Externally published | Yes |
| Event | 14th Turkish National Software Engineering Symposium, UYMS 2020 - Istanbul, Turkey Duration: 7 Oct 2020 → 9 Oct 2020 |
Publication series
| Name | 2020 Turkish National Software Engineering Symposium, UYMS 2020 - Proceedings |
|---|
Conference
| Conference | 14th Turkish National Software Engineering Symposium, UYMS 2020 |
|---|---|
| Country/Territory | Turkey |
| City | Istanbul |
| Period | 7/10/20 → 9/10/20 |
Bibliographical note
Publisher Copyright:© 2020 IEEE.