计算机科学 > 程序设计语言
[提交于 2020年4月17日 (v1),最后修订于 2020年4月17日 (此版本, v2)]
标题:SMT-Friendly Formalization of the Solidity Memory Model
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Solidity is the dominant programming language for Ethereum smart contracts. This paper presents a high-level formalization of the Solidity language with a focus on the memory model. The presented formalization covers all features of the language related to managing state and memory. In addition, the formalization we provide is effective: all but few features can be encoded in the quantifier-free fragment of standard SMT theories. This enables precise and efficient reasoning about the state of smart contracts written in Solidity. The formalization is implemented in the solc-verify verifier and we provide an extensive set of tests that covers the breadth of the required semantics. We also provide an evaluation on the test set that validates the semantics and shows the novelty of the approach compared to other Solidity-level contract analysis tools.
提交历史
来自:Ákos Hajdu[v2] 2020年4月17日 星期五 13:09:17 UTC