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 Fields
target_os_ops Struct Reference

#include <target_os.h>

Collaboration diagram for target_os_ops:
Collaboration graph
[legend]

Data Fields

int(* init )(struct target *target)
 
int(* fini )(struct target *target)
 
target_os_type_t(* os_type )(struct target *target)
 
uint64_t(* os_version )(struct target *target)
 
char *(* os_version_string )(struct target *target)
 
int(* os_version_cmp )(struct target *target, uint64_t vers)
 
int(* thread_get_pgd_phys )(struct target *target, struct target_thread *tthread, ADDR *pgdp)
 
int(* thread_is_user )(struct target *target, struct target_thread *tthread)
 
struct target_thread *(* thread_get_leader )(struct target *target, struct target_thread *tthread)
 
int(* thread_singlestep )(struct target *target, tid_t tid, int isbp, struct target *overlay, int force_emulate)
 
int(* thread_singlestep_end )(struct target *target, tid_t tid, struct target *overlay, int force_emulate)
 
GHashTable *(* processes_get )(struct target *target)
 
struct target_process *(* process_get )(struct target *target, struct target_thread *tthread)
 
const char *(* signal_to_name )(struct target *target, int signo)
 
int(* signal_from_name )(struct target *target, const char *name)
 
int(* signal_enqueue )(struct target *target, struct target_thread *tthread, int signo, void *data)
 
int(* signal_dequeue )(struct target *target, struct target_thread *tthread, int signo)
 
int(* signal_get_mask )(struct target *target, struct target_thread *tthread, unsigned char **maskbytes, int *masklen)
 
int(* signal_set_mask )(struct target *target, struct target_thread *tthread, unsigned char *maskbytes, int masklen)
 
int(* syscall_table_load )(struct target *target)
 
int(* syscall_table_unload )(struct target *target)
 
GHashTable *(* syscall_table_get )(struct target *target)
 
struct target_os_syscall *(* syscall_lookup_name )(struct target *target, char *name)
 
struct target_os_syscall *(* syscall_lookup_num )(struct target *target, int num)
 
struct target_os_syscall *(* syscall_lookup_addr )(struct target *target, ADDR addr)
 
int(* syscall_table_reload )(struct target *target, int force)
 
int(* syscall_table_store )(struct target *target)
 
struct probe *(* 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)
 
struct probe *(* syscall_probe_all )(struct target *target, tid_t tid, probe_handler_t pre_handler, probe_handler_t post_handler, void *handler_data)
 

Detailed Description

Definition at line 177 of file target_os.h.

Field Documentation

int(* target_os_ops::fini)(struct target *target)

Definition at line 179 of file target_os.h.

int(* target_os_ops::init)(struct target *target)

Definition at line 178 of file target_os.h.

target_os_type_t(* target_os_ops::os_type)(struct target *target)

Definition at line 184 of file target_os.h.

uint64_t(* target_os_ops::os_version)(struct target *target)

Definition at line 185 of file target_os.h.

int(* target_os_ops::os_version_cmp)(struct target *target, uint64_t vers)

Definition at line 187 of file target_os.h.

char*(* target_os_ops::os_version_string)(struct target *target)

Definition at line 186 of file target_os.h.

struct target_process*(* target_os_ops::process_get)(struct target *target, struct target_thread *tthread)

Definition at line 208 of file target_os.h.

GHashTable*(* target_os_ops::processes_get)(struct target *target)

Definition at line 207 of file target_os.h.

int(* target_os_ops::signal_dequeue)(struct target *target, struct target_thread *tthread, int signo)

Definition at line 218 of file target_os.h.

int(* target_os_ops::signal_enqueue)(struct target *target, struct target_thread *tthread, int signo, void *data)

Definition at line 216 of file target_os.h.

int(* target_os_ops::signal_from_name)(struct target *target, const char *name)

Definition at line 215 of file target_os.h.

int(* target_os_ops::signal_get_mask)(struct target *target, struct target_thread *tthread, unsigned char **maskbytes, int *masklen)

Definition at line 220 of file target_os.h.

int(* target_os_ops::signal_set_mask)(struct target *target, struct target_thread *tthread, unsigned char *maskbytes, int masklen)

Definition at line 222 of file target_os.h.

const char*(* target_os_ops::signal_to_name)(struct target *target, int signo)

Definition at line 214 of file target_os.h.

struct target_os_syscall*(* target_os_ops::syscall_lookup_addr)(struct target *target, ADDR addr)

Definition at line 236 of file target_os.h.

struct target_os_syscall*(* target_os_ops::syscall_lookup_name)(struct target *target, char *name)

Definition at line 232 of file target_os.h.

struct target_os_syscall*(* target_os_ops::syscall_lookup_num)(struct target *target, int num)

Definition at line 234 of file target_os.h.

struct probe*(* target_os_ops::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 275 of file target_os.h.

struct probe*(* target_os_ops::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 280 of file target_os.h.

GHashTable*(* target_os_ops::syscall_table_get)(struct target *target)

Definition at line 231 of file target_os.h.

int(* target_os_ops::syscall_table_load)(struct target *target)

Definition at line 229 of file target_os.h.

int(* target_os_ops::syscall_table_reload)(struct target *target, int force)

Definition at line 239 of file target_os.h.

int(* target_os_ops::syscall_table_store)(struct target *target)

Definition at line 240 of file target_os.h.

int(* target_os_ops::syscall_table_unload)(struct target *target)

Definition at line 230 of file target_os.h.

struct target_thread*(* target_os_ops::thread_get_leader)(struct target *target, struct target_thread *tthread)

Definition at line 195 of file target_os.h.

int(* target_os_ops::thread_get_pgd_phys)(struct target *target, struct target_thread *tthread, ADDR *pgdp)

Definition at line 192 of file target_os.h.

int(* target_os_ops::thread_is_user)(struct target *target, struct target_thread *tthread)

Definition at line 194 of file target_os.h.

int(* target_os_ops::thread_singlestep)(struct target *target, tid_t tid, int isbp, struct target *overlay, int force_emulate)

Definition at line 199 of file target_os.h.

int(* target_os_ops::thread_singlestep_end)(struct target *target, tid_t tid, struct target *overlay, int force_emulate)

Definition at line 201 of file target_os.h.


The documentation for this struct was generated from the following file: