exported / paimei

Automatically exported from code.google.com/p/paimei
GNU General Public License v2.0
1 stars 0 forks source link

Paimei error because of the absence of "get_current_instruction" in IDAPython 1.4.2 #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run the pida_dump.py to export any file with IDApro 6 running IDAPython 1.4.2

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

- I expect to see a .pida file, but because pida_dump file makes use of 
idaapi's function "get_current_instruction", it fails. The reason is: this 
function (get_current_instruction) is not there in v1.4.2. However, the same 
function is there in IDAPython lower versions.

What version of the product are you using? On what operating system?
-Latest paimei, with IDA pro 6 and IDAPython 1.4.2 (final)

Please provide any additional information below.

Original issue reported on code.google.com by tosanj...@gmail.com on 22 Mar 2011 at 9:51

GoogleCodeExporter commented 9 years ago
After studying some idapython function, I found that "idaapi.cmd.ea" and 
"idautils.DecodeInstruction" can be used to replace the previous function 
"get_current_instruction" and "get_instruction_operand". Here I attached 
together with the patch file.

Original comment by chanlee...@gmail.com on 7 May 2011 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
AKAIK this is solved. Should be closed

Original comment by streetde...@gmail.com on 9 Mar 2012 at 12:29