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

\IDA_scripts\IDA_flowchart\IDA_flowchart.py: module 'idc' has no attribute 'Exit' #17

Closed
XX-Official opened this issue Mar 2, 2023 · 2 comments

Comments

@XX-Official
Copy link

when running the IDA FlowChart plugin over the IDBs of the Dataset-Vulnerability, an error occured:
.../binary_function_similarity-main\IDA_scripts\IDA_flowchart\IDA_flowchart.py: module 'idc' has no attribute 'Exit' Traceback (most recent call last): File "...\IDA_Pro_v7.5\python\3\ida_idaapi.py", line 616, in IDAPython_ExecScript exec(code, g) File ".../binary_function_similarity-main/binary_function_similarity-main/IDA_scripts/IDA_flowchart/IDA_flowchart.py", line 197, in <module> idc.Exit(0) AttributeError: module 'idc' has no attribute 'Exit'
How to solve this problem?

@jimmy-sonny
Copy link
Contributor

Hi @XX-Official,

thank you for opening this issue.

The IDAPro plugins that we have released have been developed for IDA Pro 7.3 Linux x86_64 and Python 2 (more info here). From the exception logs, I see that you're using IDAPro 7.5.

Looking at the IDAPro guide (https://hex-rays.com/products/ida/support/ida74_idapython_no_bc695_porting_guide.shtml), idc.Exit should be changed to ida_pro.qexit.

This is also related to: #9

@XX-Official
Copy link
Author

The problem has been resolved. Thank you very much!

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

2 participants