#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... | |
using Call = Message::Call |
using Continue = Message::Continue |
using Execve = Message::Execve |
using Fork = Message::Fork |
typedef void( * message_handler)(pointer_stack &stk, const char *const buffer, const int sock) |
using NewSignal = Message::NewSignal |
typedef std::stack<const char *> pointer_stack |
using Ret = Message::Ret |
using Thread = Message::Thread |
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.