idapython / bin

IDAPython binaries
112 stars 37 forks source link

Can not initialize hexrays plugin in IDAPythonScript #9

Closed yangshouguo closed 5 years ago

yangshouguo commented 5 years ago

It is the below code in my IDAPython script print idaapi.init_hexrays_plugin() But When i ran in command line mode such as idal -Smyscript.py, bin.idb it always returns false. What can i do to get true.

aundro commented 5 years ago

I cannot reproduce the problem. Since you are using 'idal', I can only assume you are either:

It's also possible that there was a bug in those, that has been fixed since then.

yangshouguo commented 5 years ago

Thx. The IDA Pro I used is v7.0, and i am sure that i have the decompiler. The script i used is the IDAPython. According to my observation. hexrays plugin was loaded after IDAPython loaded, maybe It's the reason why idaapi.init_hexrays_plugin() not true.

aundro commented 5 years ago

That might be, indeed. Note however, that we don't really provide support here; please contact us at support@hex-rays.com if you have a license under support, and we'll gladly help you.

NSExceptional commented 3 years ago

@yangshouguo did you ever figure this out?