arXiv (Cornell University) · 2018 · 17 citations · 9 references
Open access
ComputingComputer EngineeringComputer ScienceContractsFormal MethodsSecurity ArchitectureData SecurityData-flow AnalysisSmart ContractsBounds CheckingGas Analyzer DesignProtocol VulnerabilitiesSmart Contract SecuritySmart Contract Vulnerability AnalysisUpper Bounds
Gas is a measurement unit of the computational effort that it will take to execute every single operation that takes part in the Ethereum blockchain platform. Each instruction executed by the Ethereum Virtual Machine (EVM) has an associated gas consumption specified by Ethereum. If a transaction exceeds the amount of gas allotted by the user (known as gas limit), an out-of-gas exception is raised. There is a wide family of contract vulnerabilities due to out-of-gas behaviours. We report on the design and implementation of GASTAP, a Gas-Aware Smart contracT Analysis Platform, which takes as input a smart contract (either in EVM, disassembled EVM, or in Solidity source code) and automatically infers sound gas upper bounds for all its public functions. Our bounds ensure that if the gas limit paid by the user is higher than our inferred gas bounds, the contract is free of out-of-gas vulnerabilities.
9
Ethereum: A Secure Decentralised Generalised Transaction Ledger
Gavin Wood · 2013 · 5.3K citations
Petar Tsankov, Andrei Dan, Dana Drachsler-Cohen et al. · 2018 · 1K citations
Under-optimized smart contracts devour your money
Ting Chen, Xiaoqi Li, Xiapu Luo et al. · 2017 · 384 citations
Ben Wegbreit · Communications of the ACM · 1975 · 290 citations · Full text
Towards verifying ethereum smart contract bytecode in Isabelle/HOL
Sidney Amani, Myriam Bégel, Maksym Bortin et al. · 2018 · 231 citations