I have patched a loadable object (an .so file) from this:
xor eax,0x304b7c0
to this:
mov eax,0x0
When I try to run my binary with these modifications, the application loads the .so file and then it adds the base address of the .so file to every memory address in the binary so that instruction ends up looking like this in my gdb debugger (intel flavor):
0xf463cd95: mov eax,0xf44ae000
How do I make it not do that? Thanks in advance for the help!
mov eax,0x00000000
?