libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
hooks.cpp File Reference
#include "peconv/hooks.h"
#include "peconv.h"
#include "peconv/peb_lookup.h"

Go to the source code of this file.

Namespaces

namespace  peconv
 

Functions

bool peconv::is_pointer_in_ntdll (LPVOID lpAddress)
 
BOOL peconv::nt_protect (LPVOID lpAddress, SIZE_T dwSize, DWORD flNewProtect, PDWORD lpflOldProtect)
 
long long int get_jmp_delta (ULONGLONG currVA, int instrLen, ULONGLONG destVA)
 
bool is_valid_delta (long long int delta)
 

Function Documentation

◆ get_jmp_delta()

long long int get_jmp_delta ( ULONGLONG currVA,
int instrLen,
ULONGLONG destVA )
inline

Definition at line 186 of file hooks.cpp.

◆ is_valid_delta()

bool is_valid_delta ( long long int delta)
inline

Definition at line 192 of file hooks.cpp.