professor-hippo / idapython

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

ChooseFunction is broken #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. just call ChooseFunction

What is the expected output? What do you see instead?
ChooseFunction window should popup,however,I got this error:
Python>ChooseFunction("a")
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "f:\Program Files\IDA\python\idc.py", line 4116, in ChooseFunction
    return idaapi.choose_func(title)
  File "f:\Program Files\IDA\python\idaapi.py", line 18991, in choose_func
    return _idaapi.choose_func(*args)
TypeError: choose_func expected 2 arguments, got 1

What version of the product are you using? On what operating system?
IDAPython v1.4.3 final (serial 0),win2003

Please provide any additional information below.
change ChooseFunction in idc.py at line 4116 to :

    return idaapi.choose_func(title,0)

that works

Original issue reported on code.google.com by meilinxi...@gmail.com on 7 Dec 2010 at 8:43

GoogleCodeExporter commented 9 years ago
Thank you, we fixed it.

Original comment by elias.ba...@gmail.com on 17 Dec 2010 at 4:51