I would appreciate the clarification on the first and the third point. I find this quite weird because I imagine that drivers should be able to write even to a protected memory region (please correct me if I'm wrong). Then I tried accessing the same memory address with a kernel driver and even though memory was read correctly (using MmCopyVirtualMemory), writing to that memory address returned PARTIAL_COPY. But why does the second approach work and the first one didn't? Why did I need to explicitly unprotect even though I'm injected? So here I'm unprotecting, writing and protecting back again. Please make sure your game is correctly installed, and that your Frozen Throne disc is in your CD-ROM drive, and try again. VirtualProtect(dst, size, oldprotect, &oldprotect) Frozen Throne was unable to find War3.exe. ![]() VirtualProtect(dst, size, PAGE_EXECUTE_READWRITE, &oldprotect) Code: void mem::Patch(BYTE* dst, BYTE* src, unsigned int size)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |