0

I am using the Patch Program option of IDA Pro to edit the assembly of a binary at runtime.

When I enter the following instruction:

mov rax, [rsp + 0x48]

I get an "Invalid operand" error from IDA Pro. I tried changing the above instruction to different variants as shown below:

mov rax, [rsp + 48h]
mov rax, [rsp + 48]

However, it still gives me an error.

This is a valid assembly instruction. I can edit the assembly in other softwares like x64_dbg and it works with the above disassembly.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.