2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE) · 2021 · 165 citations · 45 references
ComputingComputer ScienceCybersecuritySecure Software DevelopmentSoftware EngineeringVulnerability AnalysisControl-flow AnalysisData-flow AnalysisFuzz TestingSoftware TestingSoftware Vulnerability DiscoveryStatic Code AnalysisCode CoverageCode Coverage MeasurementCoverageCoverage-guided FuzzingDynamic Control-flow AnalysisFeedback-driven FuzzingSeed Corpus Generation
Unlike traditional software, smart contracts have the unique organization in which a sequence of transactions shares persistent states. Unfortunately, such a characteristic makes it difficult for existing fuzzers to find out critical transaction sequences. To tackle this challenge, we employ both static and dynamic analyses for fuzzing smart contracts. First, we statically analyze smart contract bytecodes to predict which transaction sequences will lead to effective testing, and figure out if there is a certain constraint that each transaction should satisfy. Such information is then passed to the fuzzing phase and used to construct an initial seed corpus. During a fuzzing campaign, we perform a lightweight dynamic data-flow analysis to collect data-flow-based feedback to effectively guide fuzzing. We implement our ideas on a practical open-source fuzzer, named SMARTIAN. SMARTIAN can discover bugs in real-world smart contracts without the need for the source code. Our experimental results show that SMARTIAN is more effective than existing state-of-the-art tools in finding known CVEs from real-world contracts. SMARTIAN also outperforms other tools in terms of code coverage.
45
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Ethereum: A Secure Decentralised Generalised Transaction Ledger
Gavin Wood · 2013 · 5.3K citations
Making Smart Contracts Smarter
Loi Luu, Duc-Hiep Chu, Hrishi Olickel et al. · 2016 · 2.2K citations
Koushik Sen, Darko Marinov, Gul Agha · 2005 · 1.7K citations
Patrice Godefroid, Nils Klarlund, Koushik Sen · 2005 · 1.5K citations