Shadow Stack  0.2
 All Classes Namespaces Files Functions Variables Typedefs Macros
Functions | Variables
dr_external_ss_events.cpp File Reference
#include "dr_shadow_stack_client.hpp"
#include "dr_external_ss_events.hpp"
#include "quick_socket.hpp"
#include "utilities.hpp"
#include "constants.hpp"
#include "message.hpp"
#include "drmgr.h"
#include <syscall.h>

Functions

static void on_call (const app_pc ret_to_addr)
 
static void on_ret (const app_pc, const app_pc target_addr)
 
static void on_signal ()
 
static bool syscall_filter (void *, int sysnum)
 
static void on_execve (void *drcontext, bool)
 
static void syscall_event (void *drcontext, const int sysnum, const bool pre)
 
static bool pre_syscall_event (void *drcontext, const int sysnum)
 
static void post_syscall_event (void *drcontext, const int sysnum)
 

Variables

static int sock = -1
 

Function Documentation

static void on_call ( const app_pc  ret_to_addr)
static
static void on_execve ( void *  drcontext,
bool   
)
inlinestatic
static void on_ret ( const app_pc  ,
const app_pc  target_addr 
)
static
static void on_signal ( )
static
static void post_syscall_event ( void *  drcontext,
const int  sysnum 
)
static
static bool pre_syscall_event ( void *  drcontext,
const int  sysnum 
)
static
static void syscall_event ( void *  drcontext,
const int  sysnum,
const bool  pre 
)
inlinestatic
static bool syscall_filter ( void *  ,
int  sysnum 
)
static

Variable Documentation

int sock = -1
static