Design and Implementation of Static Analyses for Tezos Smart Contracts

Author:

Olivieri Luca1,Negrini Luca1,Arceri Vincenzo2,Jensen Thomas3,Spoto Fausto4

Affiliation:

1. Ca’ Foscari University of Venice, Venice, Italy

2. University of Parma, Parma, Italy

3. INRIA, Rennes, France and University of Copenhagen, Denmark

4. University of Verona, Verona, Italy

Abstract

Once deployed in blockchain, smart contracts become immutable: attackers can exploit bugs and vulnerabilities in their code, that cannot be replaced with a bug-free version. For this reason, the verification of smart contracts before they are deployed in blockchain is important. However, the development of verification tools is not easy, especially if one wants to obtain guarantees by using formal methods. This paper describes the development, from scratch, of a static analyzer based on abstract interpretation for the verification of real-world Tezos smart contracts. The analyzer is generic with respect to the property under analysis. This paper shows taint analysis as a concrete instantiation of the analyzer, at different levels of precision, to detect untrusted cross-contract invocations.

Publisher

Association for Computing Machinery (ACM)

Reference62 articles.

1. Control flow analysis

2. A. M. Antonopoulos and G. Wood. 2018. Mastering Ethereum: Building Smart Contracts and Dapps. O’Reilly.

3. ArcheType. 2023. https://archetype-lang.org/ Accessed 04/2023.

4. Luís Pedro Arrojado da Horta, João Santos Reis, Mário Pereira, and Simão Melo de Sousa. 2020. WhylSon: Proving your Michelson Smart Contracts in Why3. arXiv e-prints (2020), arXiv–2005.

5. G. Bau, A. Miné, V. Botbol, and M. Bouaziz. 2022. Abstract interpretation of Michelson smart-contracts. In 11th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis. 36–43.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3