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

Rizzo not loading in IDA 7.4.191112 #32

Open
poxyran opened this issue Mar 27, 2020 · 6 comments
Open

Rizzo not loading in IDA 7.4.191112 #32

poxyran opened this issue Mar 27, 2020 · 6 comments

Comments

@poxyran
Copy link

poxyran commented Mar 27, 2020

Hello, it seems that Rizzo is not able to load completely in IDA 7.4. I placed the rizzo.py file in the /plugins directory and fixed some missing "()" (I'm running Python 3) but it doesn't load in the File -> Load File and File -> Produce File menus.

@fuzzywalls
Copy link
Contributor

@poxyran I just ported all the plugins to 7.4 in my fork if you want to try them there. I've not extensively tested Rizzo and did 0 testing for python3 so your mileage may vary.

@poxyran
Copy link
Author

poxyran commented Mar 27, 2020

Thanks @fuzzywalls , I will. I'm just looking at the code and found several issues regarding Python 3 compatibility and IDA API compatibility.

@fuzzywalls
Copy link
Contributor

IDA 7.4 turned off the backward compatibility that allowed the scripts to work in 7.0 - 7.3. You can turn it back on using this guide and see if that fixes your issues. I'm not sure when python3 was added to IDA so that may still be an issue.

@poxyran
Copy link
Author

poxyran commented Mar 27, 2020

Thanks again for the hint, I didn't know about they turned off backward compatibility.

@poxyran
Copy link
Author

poxyran commented Mar 27, 2020

Hello @fuzzywalls , I tried your version and still fails. I fixed most of the issues but found this one that I have no idea about:

File "C:/Program Files/IDA Pro 7.4_2/plugins/rizzo.py", line 151, in load
    sigs = pickle.load(fp)
ModuleNotFoundError: No module named 'copy_reg\r'

The problem seems to be with pickle.load() in the load() method. Also, I guess pickle.dump() in the save() method will have the same issue.

Btw, I'm running IDA on Windows 10.

@poxyran
Copy link
Author

poxyran commented Mar 28, 2020

Nevermind, it seems that the problem were the newlines: https://stackoverflow.com/questions/556269/importerror-no-module-named-copy-reg-pickle/53942341#53942341

I got it working but had to change to Python2, Python3 was driving me crazy:

Found 3 formal matches in 0.00 seconds.
Found 107 fuzzy matches in 0.00 seconds.
Found 188 string matches in 0.00 seconds.
Found 40 immediate matches in 0.00 seconds.
Renamed 162 functions in 0.54 seconds.
Signatures applied in 24.04 seconds

When I get some time, I'll send a PR with all the modifications.

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