Shadow Stack  0.2
 All Classes Namespaces Files Functions Variables Typedefs Macros
Typedefs | Functions
external_stack_server.cpp File Reference
#include "external_stack_server.hpp"
#include "constants.hpp"
#include "utilities.hpp"
#include "message.hpp"
#include "group.hpp"
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <string>
#include <stack>
#include <map>

Typedefs

using NewSignal = Message::NewSignal
 
using Continue = Message::Continue
 
using Execve = Message::Execve
 
using Thread = Message::Thread
 
using Fork = Message::Fork
 
using Call = Message::Call
 
using Ret = Message::Ret
 
typedef std::stack< const char * > pointer_stack
 
typedef void(* message_handler )(pointer_stack &stk, const char *const buffer, const int sock)
 

Functions

void add_wildcard (pointer_stack &stk, const char *const, const int)
 
void clear_stack (pointer_stack &stk, const char *const, const int)
 
void call_handler (pointer_stack &stk, const char *const buffer, const int)
 
void ret_handler (pointer_stack &stk, const char *const buffer, const int sock)
 
void start_external_shadow_stack (const int sock)
 The function for running the external shadow stack sever Sock must be the file descriptor to the unix domain server that connects the shadow stack program to the dynamorio client managing the program to be run. More...
 

Typedef Documentation

typedef void( * message_handler)(pointer_stack &stk, const char *const buffer, const int sock)
typedef std::stack<const char *> pointer_stack
using Ret = Message::Ret

Function Documentation

void add_wildcard ( pointer_stack stk,
const char *  const,
const int   
)
void call_handler ( pointer_stack stk,
const char *const  buffer,
const int   
)
void clear_stack ( pointer_stack stk,
const char *  const,
const int   
)
void ret_handler ( pointer_stack stk,
const char *const  buffer,
const int  sock 
)
void start_external_shadow_stack ( const int  sock)

The function for running the external shadow stack sever Sock must be the file descriptor to the unix domain server that connects the shadow stack program to the dynamorio client managing the program to be run.