So there is this binary I want to edit. I want to change the x86 asm
to
.
gdb told me what the opcode was for the original, and I found its location using a hex editor. But how do I obtain the opcodes for the new operation I want to replace it? Can I use nasm or something else to convert just a single operation to hex opcode?
Thanks
Code:
mov (%rax),%eax
Code:
mov %rax,FFFh
gdb told me what the opcode was for the original, and I found its location using a hex editor. But how do I obtain the opcodes for the new operation I want to replace it? Can I use nasm or something else to convert just a single operation to hex opcode?
Thanks