Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDAPython >7.4 compatibility issues #17

Open
slayermaster opened this issue Nov 2, 2022 · 3 comments
Open

IDAPython >7.4 compatibility issues #17

slayermaster opened this issue Nov 2, 2022 · 3 comments

Comments

@slayermaster
Copy link

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

IDA Pro 7.7

@slayermaster
Copy link
Author

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

@slayermaster slayermaster changed the title Stuck on Running python script window Stuck on Running python script window and 'get_maxEA' error Nov 2, 2022
@slayermaster
Copy link
Author

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 slayermaster changed the title Stuck on Running python script window and 'get_maxEA' error IDAPython >7.4 compatibility issues Nov 2, 2022
@ghost
Copy link

ghost commented Nov 5, 2022

  a = Auto().win_code_discovery()

Change your code for working purposes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant