sukiand / idapython

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

GetOperandValue() doesn't return the same result as the IDC version #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use, for example, a database on notepad.exe
2. Select an instruction with a memory reference in operand 0
3. Run the command shown below both from IDC and idapython.

What is the expected output? What do you see instead?

I expect GetOperandValue(ScreenEA(), 0) in idapython to
return the same result as it does in IDC.  Instead the
idapython version returns 0, far as I can tell.  It doesn't matter
what the operand number is (as long as you specify the correct
operand number to go with the instruction you selected).

What version of the product are you using? On what operating system?
Version 0.9.56, ida 5.2

Please provide any additional information below.

Original issue reported on code.google.com by jm.wk...@gmail.com on 18 Apr 2008 at 6:51

GoogleCodeExporter commented 9 years ago
Fixed in latest SVN version of idc.py.

Sorry for the long wait.

Original comment by gergely.erdelyi on 15 Jun 2008 at 4:55