paper-with-me

홈 › Papers

Cross-Language Binary-Source Code Matching with Intermediate Representations

2022-01-19 · Yi Gui, Yao Wan, Hongyu Zhang, Huifang Huang, Yulei Sui, Guandong Xu, Zhiyuan Shao, Hai Jin

Binary-source code matching plays an important role in many security and software engineering related tasks such as malware detection, reverse engineering and vulnerability assessment. Currently, several approaches have been proposed for binary-source code matching by jointly learning the embeddings of binary code and source code in a common vector space. Despite much effort, existing approaches target on matching the binary code and source code written in a single programming language. However, in practice, software applications are often written in different programming languages to cater for different requirements and computing platforms. Matching binary and source code across programming languages introduces additional challenges when maintaining multi-language and multi-platform applications. To this end, this paper formulates the problem of cross-language binary-source code matching, and develops a new dataset for this new problem. We present a novel approach XLIR, which is a Transformer-based neural network by learning the intermediate representations for both binary and source code. To validate the effectiveness of XLIR, comprehensive experiments are conducted on two tasks of cross-language binary-source code matching, and cross-language source-source code matching, on top of our curated dataset. Experimental results and analysis show that our proposed XLIR with intermediate representations significantly outperforms other state-of-the-art models in both of the two tasks.

📄 PDF Abstract BibTeX arXiv:2201.07420

Code (1)

CGCL-codes/naturalcc 공식 구현 pytorch

Tasks

Malware Detection

Similar Papers 제목 키워드 기반

CodeCMR: Cross-Modal Retrieval For Function-Level Binary Source Code Matching

2020-12-01 · NeurIPS 2020 12 · Zeping Yu, Wenxin Zheng, Jiaqi Wang, Qiyi Tang 외

Binary source code matching, especially on function-level, has a critical role in the field of computer security. Given binary code only, finding the corresponding source code improves the accuracy and efficiency in reve…

Computer SecurityCross-Modal RetrievalFeature EngineeringGraph Neural Network+1

Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoning

2026-07-10 · Charles Edward Gagnon, Steven H. H. Ding, Philippe Charland, Benjamin C. M. Fung arxiv

We present a practical pipeline for recovering source code from stripped binary functions by combining reverse engineering, anchor-based source code retrieval, and large language model reasoning. Our binary-to-source-cod…

A Cross-Architecture Instruction Embedding Model for Natural Language Processing-Inspired Binary Code Analysis

2018-12-23 · Kimberly Redmond, Lannan Luo, Qiang Zeng

Given a closed-source program, such as most of proprietary software and viruses, binary code analysis is indispensable for many tasks, such as code plagiarism detection and malware analysis. Today, source code is very of…

Malware Analysis

A Compressed Sensing Approach for Distribution Matching

2018-04-02 · Mohamad Dia, Vahid Aref, Laurent Schmalen

In this work, we formulate the fixed-length distribution matching as a Bayesian inference problem. Our proposed solution is inspired from the compressed sensing paradigm and the sparse superposition (SS) codes. First, we…

Bayesian Inferencecompressed sensingQuantization

Order Matters: Matching Multiple Knowledge Graphs

2021-11-03 · Sven Hertling, Heiko Paulheim

Knowledge graphs (KGs) provide information in machine interpretable form. In cases where multiple KGs are used in the same system, that information needs to be integrated. This is usually done by automated matching syste…

Knowledge Graphs