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?

  • @blabb It's code section. mov dword ptr ds:[eax], 15 does not work either
    – daisy
    Mar 3 '18 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? Mar 4 '18 at 13:32
  • @PawełŁukasik I'm running V3 version .. Guess that's the problem
    – daisy
    Mar 4 '18 at 15:30
  • @daisy try get in touch with the author. Last few times I contacted him, he was very responsive.
    – 0xC0000022L
    Jun 17 '18 at 20:00

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, privacy policy and cookie policy

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