pigaios
pigaios copied to clipboard
Several issues with sourceimp_ida.py
Hello!
I am new to the project and came across several issues thus far trying to use this script with the latest version of IDA Pro.
-
Choose2
is gone. I replaced it withChoose
and it seems to work but that doesn't seem like the best solution given the documentation I will link to later. -
askyn_c
has been renamed toask_yn
TypeError: in method 'reg_write_string', argument 2 of type 'char const *'
Can be fixed by adding a `.encode('utf-8') to the second argument.
-
Message()
isn't defined -
GetIdbPath()
isn't defined -
MinEA()
isn't defined
I stopped trying to fix things here because I feel like I must be doing something wrong to have all of these problems with no one else reporting them. But then I see lines like this:
self.db_filename = os.path.splitext(self.db_path)[0] + "-src.sqlite"
Which is the only reference to self.db_path
in the entire script, and isn't mentioned at all in the class being inherited.
The documentation I looked at for some of this info is here: https://www.hex-rays.com/products/ida/7.0/docs/api70_porting_guide.shtml
It doesn't support yet IDA 7.4, yes. I have almost finished porting it, but these days aren't the best to have time for open source development so, very likely, I won't be able to finish it until mid-January.
Thanks! Is there a branch of that port available? I'd be interested to look at it, possibly contribute if it's something I can figure out. I am very new to all of this.
Not yet. I usually publish my changes when they are ready and never publish partial commits.