1

I'm trying to Patch a 32bit ELF file with Hopper disassembler

The ASM code I use is like the following

mov dword ptr [eax], 15

But when I enter that expression, Hopper consider it as invalid? It works perfectly in IDA and I'm not sure why

enter image description here

Any ideas?

4
  • @blabb It's code section. mov dword ptr ds:[eax], 15 does not work either
    – daisy
    Commented Mar 3, 2018 at 9:16
  • I've just checked Hopper v4 and have no issues with assembling this instruction. There has to be something else. Can you post the binary? Commented Mar 4, 2018 at 13:32
  • @PawełŁukasik I'm running V3 version .. Guess that's the problem
    – daisy
    Commented Mar 4, 2018 at 15:30
  • @daisy try get in touch with the author. Last few times I contacted him, he was very responsive.
    – 0xC0000022L
    Commented Jun 17, 2018 at 20:00

1 Answer 1

2

I've checked version v3 and yes, it does not work with such instruction and it does work in v4. There are few bug reports that might be related to such issues.

  • FS#155
  • FS#162

Unfortunately I couldn't find if there is any workaround for this apart from installing a latest one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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