2023 · 25 citations · 37 references
ComputingComputer EngineeringComputer ScienceCompilersMachine LearningSoftware EngineeringDeep LearningStatic Code AnalysisBinary Similarity AnalysisClone DetectionCode Clone DetectionCode Similarity AnalysisDeep Learning-based Malware DetectionFunction-level SimilarityMalware Detection
Given a function in the binary executable form, binary code similarity analysis determines a set of similar functions from a large pool of candidate functions. These similar functions are usually compiled from the same source code with different compilation setups. Such analysis has a large number of applications, such as malware detection, code clone detection, and automatic software patching. The state-of-the art methods utilize complex Deep Learning models such as Transformer models. We observe that these models suffer from undesirable instruction distribution biases caused by specific compiler conventions. We develop a novel technique to detect such biases and repair them by removing the corresponding instructions from the dataset and finetuning the models. This entails synergy between Deep Learning model analysis and program analysis. Our results show that we can substantially improve the state-of-the-art models’ performance by up to 14.4% in the most challenging cases where test data may be out of the distributions of training data.
37
Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization
Ramprasaath R. Selvaraju, Michael Cogswell, Abhishek Das et al. · 2017 · 21.6K citations
Clone detection using abstract syntax trees
Ira D. Baxter, A. Yahin, Leonardo de Moura et al. · 2002 · 1.3K citations
Identifying similar code with program dependence graphs
Jens Krinke · 2002 · 622 citations
Hitesh Sajnani, Vaibhav Saini, Jeffrey Svajlenko et al. · 2016 · 427 citations