Using BinDiff to Compare Assembly Changes from Compiler Patches
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- reverse-engineering
Research direction
Start by reading binExport2.proto and tracing how BinExport produces input for BinDiff from an IDA database. Determine whether assembly parsed for the closed architecture can provide the required data, and document the supported approach or the missing integration work.
Written by the indexing model from the issue text.
Description
Hello,
I have a general question regarding BinDiff. My background is in compilers and compiler optimizations, and I’m exploring whether BinDiff can be used to analyze changes in generated assembly after applying a compiler patch.
I work on a closed architecture and I'm trying to see if I'm able to utilize BinDiff for this goal.
Since the architecture I work on is closed, I can’t rely on existing disassemblers like IDA. From what I understand, BinExport typically takes an IDA database as input and produces a protobuf file for BinDiff to analyze.
To support the architecture I'm working on, I assume I would need to parse the assembly files and convert them into a protobuf format according to binExport2.proto.
Am I understanding this correctly? Would this approach work for my use case?
Thanks in advance!
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/bindiff
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
question
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
checkstyle/test-configs#263 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·