MJx0/KittyMemory

Error in MemoryPatch::createWithHex()

Closed this issue · 2 comments

The address is shifted 1000 ahead of the specified one. For example, I specified libProc + 0x277CFF4, but the data changed to 0x277BFF4. im using last version

MemoryPatch hashCheck = MemoryPatch::createWithHex(libProc, 0x277CFF4, "C0 07 00 B4 C0 07 00 B4 93 07 00 B4 93 07 00 B4");

MJx0 commented

page align is only used for mprotect and target address should not change. Im not able to reproduce this issue, if possible then provide an example code that i can test

Simply take RVA instead of Offset from the dump.cs file