Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BinDiff should use Unicode APIs on Windows #4

Open
cblichmann opened this issue Sep 21, 2023 · 1 comment
Open

BinDiff should use Unicode APIs on Windows #4

cblichmann opened this issue Sep 21, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@cblichmann
Copy link
Member

Steps to reproduce the problem:
1.saved two ida database.
2.Open one of the two database to diff the other database
3.alert message as "Error while diffing: failed opening database: 'unable to open database file', filename: 'C:\Users\���\AppData\Local\Temp\BinDiff\temporary.database' "

What is the expected behavior?
I wish that the Bindiff can support Chinese.

What went wrong?
I can't diff the two database.

What version of the product are you using? On what operating system?
Bindiff 7 beta. On Windows.
Any other comments?

186791621__33198687__191454

Ported from b/186791621

@cblichmann cblichmann added bug Something isn't working enhancement New feature or request labels Sep 21, 2023
@cblichmann
Copy link
Member Author

Hi there,

Sorry for that. Parts of BinDiff are a rather old code base and we use the ANSI versions of the relevant Windows APIs everywhere.

I am not sure I can fix all instances before the final release, esp. since our development environment is US English.

As an admittedly cumbersome workaround, you can export the databases separately from IDA using the BinExport plugin directly (Edit|Plugins|BinExport|BinExport v2 Binary Export) and then diff them via the command-line (`"C:\Program Files\BinDiff\bin\bindiff.exe --primary=FILEA.BinExport --secondary=FILEB.BinExport --output_dir=OUTPUTDIR"). Afterwards the resulting .Bindiff file can be loaded by the BinDiff UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant