Binary Diffing as a Network Alignment Problem via Belief Propagation

12/31/2021
by   Elie Mengin, et al.
0

In this paper, we address the problem of finding a correspondence, or matching, between the functions of two programs in binary form, which is one of the most common task in binary diffing. We introduce a new formulation of this problem as a particular instance of a graph edit problem over the call graphs of the programs. In this formulation, the quality of a mapping is evaluated simultaneously with respect to both function content and call graph similarities. We show that this formulation is equivalent to a network alignment problem. We propose a solving strategy for this problem based on max-product belief propagation. Finally, we implement a prototype of our method, called QBinDiff, and propose an extensive evaluation which shows that our approach outperforms state of the art diffing tools.

READ FULL TEXT
research
03/06/2013

An efficient approach for finding the MPE in belief networks

Given a belief network with evidence, the task of finding the I most pro...
research
06/10/2021

GRASP: Graph Alignment through Spectral Signatures

What is the best way to match the nodes of two graphs? This graph alignm...
research
12/31/2021

Improved Algorithm for the Network Alignment Problem with Application to Binary Diffing

In this paper, we present a novel algorithm to address the Network Align...
research
05/16/2018

Max-Product for Maximum Weight Matching - Revisited

We focus on belief propagation for the assignment problem, also known as...
research
05/05/2011

Interpreting Graph Cuts as a Max-Product Algorithm

The maximum a posteriori (MAP) configuration of binary variable models w...
research
04/20/2011

Palette-colouring: a belief-propagation approach

We consider a variation of the prototype combinatorial-optimisation prob...
research
05/21/2022

Towards the Effects of Alignment Edits on the Quality of Experience of 360 Videos

The optimization of viewers' quality of experience (QoE) in 360 videos f...

Please sign up or login with your details

Forgot password? Click here to reset