2020 · 13 citations · 15 references
ComputingComputer ScienceCybersecurityProgramming LanguagesSecure Software DevelopmentSoftware EngineeringControl-flow AnalysisData-flow AnalysisReverse EngineeringStatic Code AnalysisBinary AnalysisBinary Code DecompilationBinary Control-flow AnalysisBinary DecompilationCode DecompilationControl Flow Graph AnalysisControl Flow Graph RecoveryStatic Control-flow Analysis
Decompilers are fundamental tools to perform security assessments of third-party software. The quality of decompiled code can be a game changer in order to reduce the time and effort required for analysis. This paper proposes a novel approach to restructure the control flow graph recovered from binary programs in a semantics-preserving fashion. The algorithm is designed from the ground up with the goal of producing C code that is both goto-free and drastically reducing the mental load required for an analyst to understand it. As a result, the code generated with this technique is well-structured, idiomatic, readable, easy to understand and fully exploits the expressiveness of C language. The algorithm has been implemented on top of the revng static binary analysis framework. The resulting decompiler, revngc, is compared on real-world binaries with state-of-the-art commercial and open source tools. The results show that our decompilation process introduces between 40% and 50% less extra cyclomatic complexity.
15
The Art of Computer Programming
G.E. Whitesides · Nuclear Science and Engineering · 1970 · 6.1K citations
Thomas J. McCabe · IEEE Transactions on Software Engineering · 1976 · 5.8K citations
Proceedings of the 11th USENIX Security Symposium
Dan Boneh · 2002 · 2.5K citations
IEEE Security & Privacy · 2004 · 1.5K citations