libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
Namespaces | Functions
hooks.cpp File Reference
#include "peconv/hooks.h"
#include "peconv/logger.h"
#include "peconv/exports_lookup.h"
#include "peconv/peb_lookup.h"
#include "peconv/util.h"
#include <algorithm>
#include <cctype>

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 202 of file hooks.cpp.

◆ is_valid_delta()

bool is_valid_delta ( long long int  delta)
inline

Definition at line 208 of file hooks.cpp.