So I was looking around the IDA SDK and I saw insn_t - it looked useful - any ideas how can I retrieve it - I wasn't able to find any function that returns it.


You are looking for DecodeInstruction(ea) in idautils module (I am referring to idapython api).

It returns: <class 'ida_ua.insn_t'> type object.

In Ida sdk that'd be decode_insn function.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.