Solidifier
Authors:
Open Access
- 22 March 2021
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1788-1797
Abstract
The exploitation of smart-contract vulnerabilities can lead to catastrophic losses. Formal verification can be a useful tool in identifying these vulnerabilities before deployment. We present an encoding of Solidity and the Ethereum blockchain using Boogie, an intermediate verification language. Based on this formalisation, we create Solidifier: a bounded model checker for Solidity. Distinctive features of our encoding are precisely capturing Solidity's unorthodox memory model, a notion of lazy blockchain exploration, and memory-precise verification harnesses. Unlike much of the work in this area, our modus operandi is not matching contracts against specific known behavioural patterns that might lead to vulnerabilities. Rather, we provide a tool to find errors/bad states - be they vulnerabilities or not - that might be reached through behaviours that might not follow such a pattern.Keywords
This publication has 21 references indexed in Scilit:
- Hyperledger fabric2018
- Towards verifying ethereum smart contract bytecode in Isabelle/HOL2018
- Defining the Ethereum Virtual Machine for Interactive Theorem Provers2017
- A Survey of Attacks on Ethereum Smart Contracts (SoK)2017
- Making Smart Contracts Smarter2016
- Formal Verification of Smart Contracts2016
- Dependent types and multi-monadic effects in F*2016
- A Solver for Reachability Modulo TheoriesLecture Notes in Computer Science, 2012
- An overview of the K semantic frameworkThe Journal of Logic and Algebraic Programming, 2010
- Formal methodsACM Computing Surveys, 1996