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 | Functions | Variables
probetargets.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/user.h>
#include <sys/ptrace.h>
#include <inttypes.h>
#include <signal.h>
#include <argp.h>
#include <glib.h>
#include "glib_wrapper.h"
#include "log.h"
#include "dwdebug.h"
#include "target_api.h"
#include "target.h"
#include "probe_api.h"
Include dependency graph for probetargets.c:

Go to the source code of this file.

Data Structures

struct  dt_argp_state
 

Functions

error_t dt_argp_parse_opt (int key, char *arg, struct argp_state *state)
 
result_t handler (struct probe *probe, tid_t tid, void *data, struct probe *trigger, struct probe *base)
 
int main (int argc, char **argv)
 

Variables

struct argp_option dt_argp_opts []
 
struct argp dt_argp
 
struct dt_argp_state opts
 

Function Documentation

error_t dt_argp_parse_opt ( int  key,
char *  arg,
struct argp_state *  state 
)

Definition at line 175 of file probetargets.c.

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

Definition at line 59 of file probetargets.c.

int main ( int  argc,
char **  argv 
)

Definition at line 222 of file probetargets.c.

Variable Documentation

struct argp dt_argp
Initial value:
= {
dt_argp_opts,dt_argp_parse_opt,NULL,NULL,NULL,NULL,NULL,
}
error_t dt_argp_parse_opt(int key, char *arg, struct argp_state *state)
Definition: probetargets.c:175
struct argp_option dt_argp_opts[]
Definition: probetargets.c:47

Definition at line 53 of file probetargets.c.

struct argp_option dt_argp_opts[]
Initial value:
= {
{ "post",'P',0,0,"Enable post handlers.",0 },
{ "quiet",'q',0,0,"Silent but deadly.",0 },
{ 0,0,0,0,0,0 },
}

Definition at line 47 of file probetargets.c.

struct dt_argp_state opts

Definition at line 57 of file probetargets.c.