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
Data Structures | Enumerations | Functions
cfi.h File Reference
#include <glib.h>
#include "common.h"
#include "target_api.h"
#include "probe_api.h"
Include dependency graph for cfi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cfi_status
 
struct  cfi_thread_status
 
struct  cfi_data
 

Enumerations

enum  cfi_mode_t { CFI_DYNAMIC = 1, CFI_STATIC = 2 }
 
enum  cfi_flags_t { CFI_NONE = 0, CFI_NOAUTOFOLLOW = 1 << 0, CFI_SINGLESTEP_UNKNOWN = 1 << 1, CFI_FIXUP = 1 << 2 }
 

Functions

struct probeprobe_cfi (struct target *target, tid_t tid, cfi_mode_t mode, cfi_flags_t flags, struct array_list *root_functions, struct array_list *root_addrs, probe_handler_t pre_handler, probe_handler_t post_handler, void *handler_data)
 
char * cfi_thread_backtrace (struct cfi_data *cfi, struct cfi_thread_status *cts, char *sep)
 

Enumeration Type Documentation

Enumerator
CFI_NONE 
CFI_NOAUTOFOLLOW 
CFI_SINGLESTEP_UNKNOWN 
CFI_FIXUP 

Definition at line 78 of file cfi.h.

enum cfi_mode_t
Enumerator
CFI_DYNAMIC 
CFI_STATIC 

Definition at line 44 of file cfi.h.

Function Documentation

char* cfi_thread_backtrace ( struct cfi_data cfi,
struct cfi_thread_status cts,
char *  sep 
)

Definition at line 1056 of file cfi_util.c.

struct probe* probe_cfi ( struct target target,
tid_t  tid,
cfi_mode_t  mode,
cfi_flags_t  flags,
struct array_list root_functions,
struct array_list root_addrs,
probe_handler_t  pre_handler,
probe_handler_t  post_handler,
void *  handler_data 
)

Definition at line 1118 of file cfi_util.c.