igogo-x86 / HexRaysPyTools

IDA Pro plugin which improves work with HexRays decompiler and helps in process of reconstruction structures and classes
1.41k stars 224 forks source link

IDA hangs frequently after image base has been changed #82

Open singleghost2 opened 2 years ago

singleghost2 commented 2 years ago

Hi! I found that if the image base has been modified (via “rebase program” menu item or after debugging the target program with ida, ida automatically modifies the image base), the plugin begins to behave abnormally, sometimes it is stuck when jumping to an address using the shortcut “G”, and sometimes after clicking “deep Scan Variable”, ida Stuck in the dialog box below

image

For comparison, I generated a new idb whose image base has not been modified, Stuck problem won’t occur.

I don’t know how to debug this kind of problem, I tried to use IDACode, but I cound only debug step by step, once I click the continue button, ida will hang in some position, and then no matter how I click the stop button, ida can’t stop.

environment: IDA Version 7.7.220117 macOS x86_64 (64-bit address size)

Any advices? Thank you so much!

singleghost2 commented 2 years ago

我最终解决了这个问题,在ida rebase program之后,ida会开启自动分析,此时运行脚本会导致ida hangs。所以最好是不要让ida rebase program