libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
hooks.h File Reference

Functions related to hooking the loaded PE. Reditecting/replacing a functions with another. More...

#include <windows.h>
#include "function_resolver.h"
#include <iostream>
#include <string>
#include <map>
#include "peconv/buffer_util.h"

Go to the source code of this file.

Classes

class  peconv::PatchBackup
 
class  peconv::hooking_func_resolver
 

Namespaces

namespace  peconv
 

Functions

size_t peconv::redirect_to_local64 (void *ptr, ULONGLONG new_offset, PatchBackup *backup=nullptr)
 
size_t peconv::redirect_to_local32 (void *ptr, DWORD new_offset, PatchBackup *backup=nullptr)
 
size_t peconv::redirect_to_local (void *ptr, void *new_function_ptr, PatchBackup *backup=nullptr)
 
bool peconv::replace_target (BYTE *ptr, ULONGLONG dest_addr)
 

Detailed Description

Functions related to hooking the loaded PE. Reditecting/replacing a functions with another.

Definition in file hooks.h.