BlackBone
Windows memory hacking library
 All Classes Functions
blackbone::MExcept Class Reference

Exception handling support for arbitrary code More...

#include <MExcept.h>

Inheritance diagram for blackbone::MExcept:
blackbone::MMap

Static Public Attributes

static BLACKBONE_API void * g_pImageBase = nullptr
 
static BLACKBONE_API size_t g_imageSize = 0
 

Protected Member Functions

BLACKBONE_API MExcept (class Process &proc)
 
BLACKBONE_API NTSTATUS CreateVEH (size_t pTargetBase, size_t imageSize, eModType mt, bool partial)
 Inject VEH wrapper into process Used to enable execution of SEH handlers out of image More...
 
BLACKBONE_API NTSTATUS RemoveVEH (bool partial)
 Removes VEH from target process More...
 

Detailed Description

Exception handling support for arbitrary code

Member Function Documentation

NTSTATUS blackbone::MExcept::CreateVEH ( size_t  pTargetBase,
size_t  imageSize,
eModType  mt,
bool  partial 
)
protected

Inject VEH wrapper into process Used to enable execution of SEH handlers out of image

Parameters
pTargetBaseTarget image base address
imageSizeSize of the image
mtMosule type
partialPartial exception support
Returns
Error code
NTSTATUS blackbone::MExcept::RemoveVEH ( bool  partial)
protected

Removes VEH from target process

Parameters
partialPartial exception support
Returns
Status code

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