|
KittyMemoryEx 1.0.0
Dedicated library for runtime code patching, memory scanning, tracing, injection and some more useful memory utilities. works for both Android and Linux
|
The MemoryPatch class represents a memory patch for applying modifications to a memory address. More...
#include <MemoryPatch.hpp>
Public Member Functions | |
| MemoryPatch (IKittyMemOp *pMem, uintptr_t absolute_address, const void *patch_code, size_t patch_size) | |
| bool | isValid () const |
| Checks if the MemoryPatch object is valid. | |
| size_t | get_PatchSize () const |
| Returns the size of the memory patch. | |
| uintptr_t | get_TargetAddress () const |
| Returns the target address of the memory patch. | |
| bool | Restore () |
| Restores the patch to its original value. | |
| bool | Modify () |
| Applies patch modifications to the target address. | |
| std::string | get_CurrBytes () const |
| Returns hex string of the current target address bytes. | |
| std::string | get_OrigBytes () const |
| Returns hex string of the original bytes. | |
| std::string | get_PatchBytes () const |
| Returns hex string of the patch bytes. | |
Friends | |
| class | MemoryPatchMgr |
The MemoryPatch class represents a memory patch for applying modifications to a memory address.
The MemoryPatch class allows for the creation and management of memory patches, including: