CCTLib
Calling-context and data-object attribution library for Intel Pin
snippet.cpp File Reference

Go to the source code of this file.

Functions

static void CopyRegionToShadowMemory (uint8_t *address, uint64_t length)
 
static VOID ImageLoad (IMG img, VOID *v)
 

Function Documentation

◆ CopyRegionToShadowMemory()

static void CopyRegionToShadowMemory ( uint8_t *  address,
uint64_t  length 
)
inlinestatic

Definition at line 6 of file snippet.cpp.

References address, GetOrCreateShadowBaseAddress(), PAGE_OFFSET, and PAGE_SIZE.

Referenced by ImageLoad().

◆ ImageLoad()

static VOID ImageLoad ( IMG  img,
VOID *  v 
)
static

Definition at line 22 of file snippet.cpp.

References CopyRegionToShadowMemory().