In idaapi.py of IDAPython, include following function:
def get_current_instruction(*args):
"""get_current_instruction() -> insn_t"""
return _idaapi.get_current_instruction(*args)
And i found that this api do another thing in IDA5: create function just like we press "p". Why?
How can I use IDA SDK to call this api _idaapi.get_current_instruction?
Thanks.







