joxeankoret / diaphora

Diaphora, the most advanced Free and Open Source program diffing tool.
http://diaphora.re
GNU Affero General Public License v3.0
3.61k stars 373 forks source link

automating diffing process #315

Open djn3m0 opened 5 days ago

djn3m0 commented 5 days ago

Hi,

I'm trying to diff binary files automatically and unattended.

I tried,

ida64.exe -A -B -Sc:\Users\user\Desktop\diaphora\diaphora.py c:\Users\user\Desktop\ntos\test1.exe

But I have two issues,

  1. I cannot tell when the script is done so I can go on with the next file
  2. The IDA Pro UI is popping up despite having -A and -B flags

Thanks

joxeankoret commented 5 days ago

Hey!

You need to setup some environment variables first, as pointed out here: https://github.com/joxeankoret/diaphora/wiki/How-can-I-automate-the-diffing-process%3F

If the GUI tool ida64.exe isn't working for you for some reason in batch mode, try with idat64.exe.

By the way, which IDA version are you using?

djn3m0 commented 4 days ago

Im using 8.4.