Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#include <assert.h>
#include <glib.h>
#include "object.h"
#include "glib_wrapper.h"
#include "target.h"
#include "probe_api.h"
#include "probe.h"
#include "target_os.h"
#include "target_event.h"
#include "arch.h"
#include "arch_x86.h"
#include "arch_x86_64.h"
Go to the source code of this file.
Macros | |
#define | TARGET_OS_SYSCALL_GKV_KEY "target_os_syscall_state" |
Variables | |
struct probe_ops | target_os_syscall_ret_probe_ops |
#define TARGET_OS_SYSCALL_GKV_KEY "target_os_syscall_state" |
Definition at line 489 of file target_os.c.
result_t target_os_emulate_bp_handler | ( | struct target * | target, |
tid_t | tid, | ||
thread_ctxt_t | tidctxt, | ||
struct target_memmod * | mmod | ||
) |
Definition at line 85 of file target_os.c.
result_t target_os_emulate_ss_handler | ( | struct target * | target, |
tid_t | tid, | ||
thread_ctxt_t | tidctxt, | ||
struct target_memmod * | mmod | ||
) |
Definition at line 163 of file target_os.c.
struct target_process* target_os_process_get | ( | struct target * | target, |
tid_t | tid | ||
) |
Definition at line 392 of file target_os.c.
GHashTable* target_os_process_table_get | ( | struct target * | target | ) |
Definition at line 388 of file target_os.c.
Definition at line 399 of file target_os.c.
int target_os_signal_from_name | ( | struct target * | target, |
const char * | name | ||
) |
Definition at line 411 of file target_os.c.
const char* target_os_signal_to_name | ( | struct target * | target, |
int | signo | ||
) |
Definition at line 407 of file target_os.c.
struct target_os_syscall* target_os_syscall_lookup_addr | ( | struct target * | target, |
ADDR | addr | ||
) |
Definition at line 449 of file target_os.c.
struct target_os_syscall* target_os_syscall_lookup_name | ( | struct target * | target, |
char * | name | ||
) |
Definition at line 437 of file target_os.c.
struct target_os_syscall* target_os_syscall_lookup_num | ( | struct target * | target, |
int | num | ||
) |
Definition at line 443 of file target_os.c.
struct probe* target_os_syscall_probe | ( | struct target * | target, |
tid_t | tid, | ||
struct target_os_syscall * | syscall, | ||
probe_handler_t | pre_handler, | ||
probe_handler_t | post_handler, | ||
void * | handler_data | ||
) |
Definition at line 465 of file target_os.c.
struct probe* target_os_syscall_probe_all | ( | struct target * | target, |
tid_t | tid, | ||
probe_handler_t | pre_handler, | ||
probe_handler_t | post_handler, | ||
void * | handler_data | ||
) |
Definition at line 474 of file target_os.c.
struct target_os_syscall_state* target_os_syscall_probe_last | ( | struct target * | target, |
tid_t | tid | ||
) |
Definition at line 531 of file target_os.c.
void* target_os_syscall_probe_summarize | ( | struct probe * | probe | ) |
Definition at line 491 of file target_os.c.
Definition at line 495 of file target_os.c.
int target_os_syscall_record_argv | ( | struct target * | target, |
tid_t | tid, | ||
struct array_list * | regvals, | ||
struct array_list * | argvals | ||
) |
Definition at line 562 of file target_os.c.
Definition at line 537 of file target_os.c.
struct target_os_syscall_state* target_os_syscall_record_entry | ( | struct target * | target, |
tid_t | tid, | ||
struct target_os_syscall * | syscall | ||
) |
Definition at line 543 of file target_os.c.
Definition at line 580 of file target_os.c.
GHashTable* target_os_syscall_table_get | ( | struct target * | target | ) |
Definition at line 425 of file target_os.c.
int target_os_syscall_table_get_max_num | ( | struct target * | target | ) |
Definition at line 430 of file target_os.c.
int target_os_syscall_table_load | ( | struct target * | target | ) |
Definition at line 415 of file target_os.c.
int target_os_syscall_table_reload | ( | struct target * | target, |
int | force | ||
) |
Definition at line 455 of file target_os.c.
int target_os_syscall_table_store | ( | struct target * | target | ) |
Definition at line 460 of file target_os.c.
int target_os_syscall_table_unload | ( | struct target * | target | ) |
Definition at line 420 of file target_os.c.
Definition at line 62 of file target_os.c.
Definition at line 48 of file target_os.c.
Definition at line 55 of file target_os.c.
int target_os_thread_singlestep | ( | struct target * | target, |
tid_t | tid, | ||
int | isbp, | ||
struct target * | overlay, | ||
int | force_emulate | ||
) |
Definition at line 73 of file target_os.c.
int target_os_thread_singlestep_end | ( | struct target * | target, |
tid_t | tid, | ||
struct target * | overlay, | ||
int | force_emulate | ||
) |
Definition at line 79 of file target_os.c.
target_os_type_t target_os_type | ( | struct target * | target | ) |
Definition at line 33 of file target_os.c.
int target_os_update_process_threads_generic | ( | struct target_process * | process, |
int | no_event_send | ||
) |
Definition at line 211 of file target_os.c.
uint64_t target_os_version | ( | struct target * | target | ) |
Definition at line 38 of file target_os.c.
int target_os_version_cmp | ( | struct target * | target, |
uint64_t | vers | ||
) |
Definition at line 43 of file target_os.c.
struct probe_ops target_os_syscall_ret_probe_ops |
Definition at line 499 of file target_os.c.