I want to get an instruction with IDAPython by address of this instruction.
For example from mov r0 r1
I want to get only mov
.
How can I do that with IDAPython?
Reverse Engineering Stack Exchange is a question and answer site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation. It only takes a minute to sign up.
Sign up to join this communityTo get the full disassembly, you can use:
GetDisasm(<address_of_instruction>)
To get the instruction only, you can use:
ida_ua.ua_mnem(<address_of_instruction>)