google / google/bindiff

Ignore JMP and treat JX==JNX when diffing basic blocks

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.2k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce the problem:
1. Diff a program
2. Open a function with some differences
3. See some basic blocks which are marked as different only because of the jump at the end

What is the expected behavior?
See the following screenshot:
![0j2Y7jD](https://github.com/google/bindiff/assets/213059/96a8bf08-20e4-45a8-acb1-e38b3a12ac8f)
In such cases, it would be helpful for the blocks to be marked as equal.

What went wrong?
They are marked as different.

What version of the product are you using? On what operating system?
BinDiff 6, Win10.

Ported from [b/175509898](https://issuetracker.google.com/175509898)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.