libPeConv
A library to load, manipulate, dump PE files.
|
#include <hooks.h>
Public Member Functions | |
PatchBackup () | |
~PatchBackup () | |
void | deleteBackup () |
bool | makeBackup (BYTE *patch_ptr, size_t patch_size) |
bool | applyBackup () |
bool | isBackup () |
Protected Attributes | |
BYTE * | buffer |
size_t | bufferSize |
BYTE * | sourcePtr |
A buffer storing a binary patch, that can be applied on a module. Used as a restorable backup in case of function patching.
|
inline |
|
inline |
bool PatchBackup::applyBackup | ( | ) |
|
inline |
|
inline |
bool PatchBackup::makeBackup | ( | BYTE * | patch_ptr, |
size_t | patch_size ) |