Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#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 "log.h"
#include "dwdebug.h"
#include "target_api.h"
#include "target.h"
#include "target_os_linux_generic.h"
#include "probe_api.h"
#include "probe.h"
#include "alist.h"
#include "list.h"
Go to the source code of this file.
Data Structures | |
struct | local_sigset_t |
struct | signame |
struct | psa_siginfo |
struct | linux_task_struct |
struct | psa_argp_state |
Macros | |
#define | LOCAL_NSIG 64 |
#define | LOCAL_NSIG_BPW 32 |
#define | LOCAL_NSIG_WORDS (LOCAL_NSIG / LOCAL_NSIG_BPW) |
#define | LOCAL_TIF_SIGPENDING (1UL << 2) |
#define | LOCAL_SIGNAL_GROUP_EXIT 0x00000008 |
#define | LOCAL_TIF_SIGPENDING (1UL << 2) |
Functions | |
target_status_t | cleanup () |
void | sigh (int signo) |
int | pslist_list (struct target *target, struct value *value, void *data) |
int | pslist_check (struct target *target, struct value *value, void *data) |
int | pslist_zombie (struct target *target, struct value *value, void *data) |
int | pslist_sig (struct target *target, struct value *value, void *data) |
int | __ps_kill (struct target *target, struct value *value) |
int | pslist_kill (struct target *target, struct value *value, void *data) |
int | pslist_load (struct target *target, struct value *value, void *data) |
error_t | psa_argp_parse_opt (int key, char *arg, struct argp_state *state) |
int | main (int argc, char **argv) |
Variables | |
struct target * | t = NULL |
GHashTable * | probes = NULL |
struct psa_argp_state | opts |
struct argp_option | psa_argp_opts [] |
struct argp | psa_argp |
#define LOCAL_NSIG 64 |
Definition at line 165 of file psaction.c.
#define LOCAL_NSIG_BPW 32 |
Definition at line 166 of file psaction.c.
#define LOCAL_NSIG_WORDS (LOCAL_NSIG / LOCAL_NSIG_BPW) |
Definition at line 167 of file psaction.c.
#define LOCAL_SIGNAL_GROUP_EXIT 0x00000008 |
#define LOCAL_TIF_SIGPENDING (1UL << 2) |
#define LOCAL_TIF_SIGPENDING (1UL << 2) |
Definition at line 420 of file psaction.c.
target_status_t cleanup | ( | void | ) |
Definition at line 47 of file psaction.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 716 of file psaction.c.
error_t psa_argp_parse_opt | ( | int | key, |
char * | arg, | ||
struct argp_state * | state | ||
) |
Definition at line 674 of file psaction.c.
Definition at line 100 of file psaction.c.
Definition at line 532 of file psaction.c.
Definition at line 79 of file psaction.c.
Definition at line 578 of file psaction.c.
Definition at line 275 of file psaction.c.
Definition at line 129 of file psaction.c.
void sigh | ( | int | signo | ) |
Definition at line 71 of file psaction.c.
struct psa_argp_state opts |
Definition at line 668 of file psaction.c.
GHashTable* probes = NULL |
Definition at line 45 of file psaction.c.
struct argp psa_argp |
Definition at line 712 of file psaction.c.
struct argp_option psa_argp_opts[] |
Definition at line 670 of file psaction.c.
struct target* t = NULL |
Definition at line 43 of file psaction.c.