2022 · 15 citations · 9 references
ComputingComputer ScienceComputer SystemsFormal MethodsProgramming LanguagesSoftware EngineeringSoftware ConstructionSoftware DesignBlockchain SecurityCritical PointsSoftware Development Methodology
Ensuring determinism is mandatory when writing blockchain software. When determinism is not met it can lead to serious implications in the blockchain network while compromising the software development, release, and patching processes. In the industrial context, it is widespread to adopt general-purpose languages, such as Go, for developing blockchain solutions. However, it is not surprising that non-deterministic behaviors may arise, being these programming languages not originally designed for blockchain purposes. In this paper, we present an experience report on ensuring determinism in blockchain software with GoLiSA, a static analyzer based on abstract interpretation for Go applications, in an industrial context. In particular, we ran GoLiSA on Commercio.network, a blockchain-based solution for exchanging electronic documents in a legally binding way. Thanks to GoLiSA, non-trivial bugs got detected and the analysis performed made it possible to identify the critical points where to apply the fixes.
9
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Security Policies and Security Models
Joseph A. Goguen, José Meseguer · 1982 · 2.1K citations
Systematic design of program analysis frameworks
Patrick Cousot, Radhia Cousot · 1979 · 1.6K citations · Full text
Unwinding and Inference Control
Joseph A. Goguen, José Meseguer · 1984 · 426 citations