jevey / idapython

Automatically exported from code.google.com/p/idapython
Other
1 stars 0 forks source link

REGoogle60 #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. trying to use regoogle.py script
2.
3.

What is the expected output? What do you see instead?
RE-Google (version 0.1.1)
------- Starting..... --------
Looking at function sub_401000
'module' object has no attribute 'ua_ana0'
Traceback (most recent call last):
  File "C:\work\disasm\ida60\python\idaapi.py", line 375, in IDAPython_ExecScript
    execfile(script, g)
  File "C:/Python27/REgoogle.py", line 730, in <module>
    re_google(SEARCH_ALL_FUNCTIONS)
  File "C:/Python27/REgoogle.py", line 352, in re_google
    if query4function(func):
  File "C:/Python27/REgoogle.py", line 260, in query4function
    for oper in inst.get_operands():
  File "C:/Python27/REgoogle.py", line 591, in get_operands
    ins = self.__get_insn_t()
  File "C:/Python27/REgoogle.py", line 613, in __get_insn_t
    if idaapi.ua_ana0(self.iea):
AttributeError: 'module' object has no attribute 'ua_ana0'

What version of the product are you using? On what operating system?
ida 6.0.100722
python 2.7.1
regoogle 0.0.1
google data api
Please provide any additional information below.

Original issue reported on code.google.com by the.23k...@gmail.com on 14 Jan 2011 at 2:48

GoogleCodeExporter commented 9 years ago
IDAPython 1.4.3

Original comment by the.23k...@gmail.com on 14 Jan 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Hello,

This script is not compatible with the latest IDAPython (1.4.x). Try contacting 
the author for an updated script.

Original comment by elias.ba...@gmail.com on 21 Jan 2011 at 2:04

GoogleCodeExporter commented 9 years ago
Is there any information on what has changed in IDAPython to break this. I'm a 
developer and may be able to fix it if there some info on the change.

Original comment by ross.bev...@gmail.com on 26 Jan 2011 at 11:08

GoogleCodeExporter commented 9 years ago
Instruction decoding is different.

Now one can use idautils.DecodeInstruction() and get an insn_t and be able to 
access instruction info and its operands in one go.

In all cases, I attached a fixed version I did last year.

Original comment by elias.ba...@gmail.com on 1 Feb 2011 at 12:56

Attachments:

GoogleCodeExporter commented 9 years ago
thnx

Original comment by the.23k...@gmail.com on 1 Feb 2011 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by elias.ba...@gmail.com on 11 Feb 2011 at 5:15

GoogleCodeExporter commented 9 years ago
For IDA 6.0, Zack updated the script from here: 
http://executiveinstruments.com/blog/2011/3/18/re-google-and-ida-60.html

I attached it too

Original comment by elias.ba...@gmail.com on 22 Mar 2011 at 2:43

Attachments: