2017 · 54 citations · 44 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSoftware EngineeringData-flow AnalysisDesign For TestabilityIntermediate RepresentationSoftware TestingBinary AnalysisBinary TranslationHigh-level Intermediate RepresentationIntermediate Representation DesignTest Case GenerationTest CoverageTest Coverage AnalysisTest Generation
Binary lifting, which translates a binary executable to a high-level intermediate representation, is a primary step in binary analysis, yet few approaches exist to test its correctness and those that do suffer low test coverage because they rely on random test case generation. This paper presents the design and implementation of the first systematic approach to testing binary lifters. The authors design and implement a systematic testing framework that generates targeted test cases for binary lifters. Evaluation on three state‑of‑the‑art binary lifters uncovered 24 previously unknown semantic bugs, demonstrating that writing a precise binary lifter is extremely difficult even for heavily tested projects.
Binary lifting, which is to translate a binary executable to a high-level intermediate representation, is a primary step in binary analysis. Despite its importance, there are only few existing approaches to testing the correctness of binary lifters. Furthermore, the existing approaches suffer from low test coverage, because they largely depend on random test case generation. In this paper, we present the design and implementation of the first systematic approach to testing binary lifters. We have evaluated the proposed system on 3 state-of-the-art binary lifters, and found 24 previously unknown semantic bugs. Our result demonstrates that writing a precise binary lifter is extremely difficult even for those heavily tested projects.
44
Chi-Keung Luk, Robert Cohn, Robert Muth et al. · ACM SIGPLAN Notices · 2005 · 3.2K citations
Chi-Keung Luk, Robert Cohn, Robert Muth et al. · 2005 · 2.3K citations
Nicholas Nethercote, Julian Seward · 2007 · 2.3K citations
Simics: A full system simulation platform
Peter Magnusson, Magnus Christensson, J. Eskilson et al. · Computer · 2002 · 2.1K citations