Closed mprevot closed 1 year ago
I have been trying to fix that bug since the first version published in 2015 and it keeps re-appearing from time to time. Thanks for reporting, I will try to fix it again :/
I forgot to say: meanwhile, the workaround is to close IDA and reopen it again.
I noticed this specific UnboundLocalError occurs because it is failing to show the proper traceback.
It is actually erroring out on https://github.com/joxeankoret/diaphora/blob/master/diaphora_ida.py#L2612 because the exception is being caught before it can successfully initialize the CIDABinDiff
object at https://github.com/joxeankoret/diaphora/blob/master/diaphora_ida.py#L2560 Therefore the bd
variable never gets created.
Adding a raise
at the exception catch will show you the true error. (In my case it it was a Database locked error... which I have yet to figure out)
This is bug is finally fixed in Diaphora 3.0, to be released soon. If you want to try the beta please tell me and I will send you it.
I used today's master diaphora and IDA 7.5 with python 3.9