Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#include <sys/ptrace.h>
#include <sys/user.h>
#include <glib.h>
#include "evloop.h"
#include "target_api.h"
Go to the source code of this file.
Data Structures | |
struct | linux_userproc_spec |
struct | linux_userproc_thread_state |
struct | linux_userproc_state |
struct | linux_userproc_exception_handler_state |
Typedefs | |
typedef int | ptrace_reg_t |
Functions | |
struct target * | linux_userproc_instantiate (struct target_spec *spec, struct evloop *evloop) |
struct linux_userproc_spec * | linux_userproc_build_spec (void) |
void | linux_userproc_free_spec (struct linux_userproc_spec *lspec) |
int | linux_userproc_spec_to_argv (struct target_spec *spec, int *argc, char ***argv) |
int | linux_userproc_attach_thread (struct target *target, tid_t parent, tid_t tid) |
int | linux_userproc_detach_thread (struct target *target, tid_t tid, int detaching_all, int stay_paused) |
int | linux_userproc_last_signo (struct target *target, tid_t tid) |
int | linux_userproc_last_status (struct target *target, tid_t tid) |
int | linux_userproc_at_syscall (struct target *target, tid_t tid) |
int | linux_userproc_at_exec (struct target *target, tid_t tid) |
int | linux_userproc_at_exit (struct target *target, tid_t tid) |
int | linux_userproc_pid (struct target *target) |
Variables | |
struct target_ops | linux_userspace_process_ops |
typedef int ptrace_reg_t |
Definition at line 61 of file target_linux_userproc.h.
Definition at line 551 of file target_linux_userproc.c.
Definition at line 568 of file target_linux_userproc.c.
Definition at line 534 of file target_linux_userproc.c.
Definition at line 1300 of file target_linux_userproc.c.
struct linux_userproc_spec* linux_userproc_build_spec | ( | void | ) |
Definition at line 608 of file target_linux_userproc.c.
int linux_userproc_detach_thread | ( | struct target * | target, |
tid_t | tid, | ||
int | detaching_all, | ||
int | stay_paused | ||
) |
Definition at line 1693 of file target_linux_userproc.c.
void linux_userproc_free_spec | ( | struct linux_userproc_spec * | lspec | ) |
Definition at line 617 of file target_linux_userproc.c.
struct target* linux_userproc_instantiate | ( | struct target_spec * | spec, |
struct evloop * | evloop | ||
) |
Definition at line 595 of file target_linux_userproc.c.
These are the only user-visible functions.
Definition at line 502 of file target_linux_userproc.c.
Definition at line 518 of file target_linux_userproc.c.
int linux_userproc_pid | ( | struct target * | target | ) |
Definition at line 585 of file target_linux_userproc.c.
int linux_userproc_spec_to_argv | ( | struct target_spec * | spec, |
int * | argc, | ||
char *** | argv | ||
) |
Definition at line 245 of file target_linux_userproc.c.
struct target_ops linux_userspace_process_ops |
Definition at line 172 of file target_linux_userproc.c.