funcap icon indicating copy to clipboard operation
funcap copied to clipboard

IDAPython >7.4 compatibility issues

Open slayermaster opened this issue 3 years ago • 3 comments

d.hookSeg() will not finish and running python script window wont go away until pressing cancel.

IDA Pro 7.7

slayermaster avatar Nov 02 '22 03:11 slayermaster

Output shows AttributeError: 'idainfo' object has no attribute 'get_maxEA' when breakpoint met.

slayermaster avatar Nov 02 '22 04:11 slayermaster

d.hookSeg() stuck was probably because the app has many calls, so it takes time to complete. The get_maxEA error is from IDAPython >7.4 , can be fixed by changing get_inf_structure().get_maxEA() into ida_ida.inf_get_max_ea(). Same for minEA.

d.code_discovery = True however would not work, just hangs after the modifications above.

slayermaster avatar Nov 02 '22 08:11 slayermaster

  a = Auto().win_code_discovery()

Change your code for working purposes

ghost avatar Nov 05 '22 07:11 ghost