BCD: A Cross-Architecture Binary Comparison Database Experiment Using Locality Sensitive Hashing Algorithms

Haoxi Tan
12/10/2021
cs.CRcs.PL

Official code: h4sh5/bcddb (8 stars, Python, BSD-3-Clause, last commit 2026-01-16).

Abstract

Given a binary executable without source code, it is difficult to determine what each function in the binary does by reverse engineering it, and even harder without prior experience and context. In this paper, we performed a comparison of different hashing functions' effectiveness at detecting similar lifted snippets of LLVM IR code, and present the design and implementation of a framework for cross-architecture binary code similarity search database using MinHash as the chosen hashing algorithm, over SimHash, SSDEEP and TLSH.

Show full abstract

The motivation is to help reverse engineers to quickly gain context of functions in an unknown binary by comparing it against a database of known functions. The code for this project is open source and can be found at https://github.com/h4sh5/bcddb

View on arXivView PDF

Code Implementations(1)

h4sh5/bcddbOfficial100%
BSD-3-Clause

cross-architecture binary comparison database

82Python, JinjaMay 9, 202110 months agoBSD-3-Clause
decompilerlshminhashretdecreverse-engineering

Similar Papers

Cite this paper

@article{tan2021bcd,
  title  = {BCD: A Cross-Architecture Binary Comparison Database Experiment Using Locality Sensitive Hashing Algorithms},
  author = {Haoxi Tan},
  year   = {2021},
  eprint = {2112.05492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.05492}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.05492.svg)](https://codeofpaper.com/paper/2112.05492)

Discussion