KittyMemory icon indicating copy to clipboard operation
KittyMemory copied to clipboard

Error in MemoryPatch::createWithHex()

Open slavadynasty opened this issue 2 years ago • 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");

slavadynasty avatar Jan 12 '24 18:01 slavadynasty

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

MJx0 avatar Jan 28 '24 18:01 MJx0

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

JinxxBoom avatar Apr 18 '24 14:04 JinxxBoom