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
Loading...
Searching...
No Matches
MemoryBackup Class Reference

A class for backing up and restoring memory data. More...

#include <MemoryBackup.hpp>

Public Member Functions

 MemoryBackup (IKittyMemOp *pMem, uintptr_t absolute_address, size_t backup_size)
bool isValid () const
 Checks if the memory backup is valid.
size_t get_BackupSize () const
 Returns the size of the memory range that was backed up.
uintptr_t get_TargetAddress () const
 Returns the address of the memory range that was backed up.
bool Restore ()
 Restores the backup code to the memory range.
std::string get_CurrBytes () const
 Returns the hex string of the current target address bytes.
std::string get_OrigBytes () const
 Returns the hex string of the original bytes of the memory range.

Friends

class MemoryBackupMgr

Detailed Description

A class for backing up and restoring memory data.

This class provides functionality to create a backup of a specific memory range, restore the backup, and examine the current and original bytes of the memory.


The documentation for this class was generated from the following file: