Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
rop_util.c File Reference
#include <stdio.h>
#include <errno.h>
#include "rop.h"
#include "probe_api.h"
#include "probe.h"
#include "target.h"
#include "target_api.h"
#include "disasm.h"
Include dependency graph for rop_util.c:

Go to the source code of this file.

Functions

void rop_gadget_free (void *value)
 
GHashTable * rop_load_gadget_stream (FILE *stream)
 
GHashTable * rop_load_gadget_file (char *filename)
 
const char * probe_gettype_rop_checkret (struct probe *probe)
 
void * probe_summarize_rop_checkret (struct probe *probe)
 
int probe_fini_rop_checkret (struct probe *probe)
 
result_t probe_rop_checkret_entry_pre (struct probe *probe, tid_t tid, void *data, struct probe *trigger, struct probe *base)
 
result_t probe_rop_checkret_ret_pre (struct probe *probe, tid_t tid, void *data, struct probe *trigger, struct probe *base)
 
result_t probe_rop_checkret_ret_post (struct probe *probe, tid_t tid, void *data, struct probe *trigger, struct probe *base)
 
result_t probe_rop_checkret_cont_pre (struct probe *probe, tid_t tid, void *data, struct probe *trigger, struct probe *base)
 
result_t probe_rop_checkret_cont_post (struct probe *probe, tid_t tid, void *data, struct probe *trigger, struct probe *base)
 
struct probeprobe_rop_checkret (struct target *target, tid_t tid, struct rop_gadget *rg, probe_handler_t pre_handler, probe_handler_t post_handler, void *handler_data)
 

Function Documentation

int probe_fini_rop_checkret ( struct probe probe)

Definition at line 157 of file rop_util.c.

const char* probe_gettype_rop_checkret ( struct probe probe)

Definition at line 149 of file rop_util.c.

struct probe* probe_rop_checkret ( struct target target,
tid_t  tid,
struct rop_gadget rg,
probe_handler_t  pre_handler,
probe_handler_t  post_handler,
void *  handler_data 
)

Definition at line 492 of file rop_util.c.

result_t probe_rop_checkret_cont_post ( struct probe probe,
tid_t  tid,
void *  data,
struct probe trigger,
struct probe base 
)

Definition at line 480 of file rop_util.c.

result_t probe_rop_checkret_cont_pre ( struct probe probe,
tid_t  tid,
void *  data,
struct probe trigger,
struct probe base 
)

Definition at line 468 of file rop_util.c.

result_t probe_rop_checkret_entry_pre ( struct probe probe,
tid_t  tid,
void *  data,
struct probe trigger,
struct probe base 
)

Definition at line 224 of file rop_util.c.

result_t probe_rop_checkret_ret_post ( struct probe probe,
tid_t  tid,
void *  data,
struct probe trigger,
struct probe base 
)

Definition at line 451 of file rop_util.c.

result_t probe_rop_checkret_ret_pre ( struct probe probe,
tid_t  tid,
void *  data,
struct probe trigger,
struct probe base 
)

Definition at line 245 of file rop_util.c.

void* probe_summarize_rop_checkret ( struct probe probe)

Definition at line 153 of file rop_util.c.

void rop_gadget_free ( void *  value)

Definition at line 29 of file rop_util.c.

GHashTable* rop_load_gadget_file ( char *  filename)

Definition at line 89 of file rop_util.c.

GHashTable* rop_load_gadget_stream ( FILE *  stream)

Definition at line 36 of file rop_util.c.