Shadow Stack  0.2
 All Classes Namespaces Files Functions Variables Typedefs Macros
Classes | Functions | Variables
dr_internal_ss_events.cpp File Reference
#include "dr_internal_ss_events.hpp"
#include "dr_print_sym.hpp"
#include "constants.hpp"
#include "utilities.hpp"
#include "group.hpp"
#include "drmgr.h"
#include <syscall.h>
#include <stack>
#include <map>

Classes

class  TLS< T >
 
class  TLS< T >
 

Functions

void on_call (const app_pc ret_to_addr)
 
void on_ret (app_pc, const app_pc target_addr)
 
void on_signal ()
 
static bool syscall_filter (void *, int sysnum)
 
static void on_execve (void *, 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

TLS< std::stack< app_pc > > * shadow_stack
 

Function Documentation

void on_call ( const app_pc  ret_to_addr)
static void on_execve ( void *  ,
bool   
)
inlinestatic
void on_ret ( app_pc  ,
const app_pc  target_addr 
)
void on_signal ( )
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

TLS<std::stack<app_pc> >* shadow_stack