2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · 2022 · 10 citations · 17 references
ComputingComputer EngineeringComputer ScienceCompilersMachine LearningSoftware EngineeringControl-flow AnalysisSoftware Vulnerability DiscoveryBinary AnalysisBinary Control-flow AnalysisBinary Vulnerability AnalysisCode CompilationData Type InferenceEmpirical EvaluationSoftware Security TestingSource Codes
Binary analysis is pervasively utilized to assess software security and test vulnerabilities without accessing source codes. The analysis validity is heavily influenced by the inferring ability of information related to the code compilation. Among the compilation information, compiler type and optimization level, as the key factors determining how binaries look like, are still difficult to be inferred efficiently with existing tools. In this paper, we conduct a thorough empirical study on the binary's appearance under various compilation settings and propose a lightweight binary analysis tool based on the simplest machine learning method, called DIComP to infer the compiler and optimization level via most relevant features according to the observation. Our comprehensive evaluations demonstrate that DIComP can fully recognize the compiler provenance, and it is effective in inferring the optimization levels with up to 90% accuracy. Also, it is efficient to infer thousands of binaries at a millisecond level with our lightweight machine learning model (1MB).
17
αDiff: cross-version binary code similarity detection with DNN
Bingchang Liu, Wei Huo, Chao Zhang et al. · 2018 · 180 citations
BYTEWEIGHT: Learning to Recognize Functions in Binary Code
Tiffany Bao, Maverick Woo, Rafael Turner et al. · Figshare · 2018 · 166 citations · Full text