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
Functions | Variables
target_os_process.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <glib.h>
#include "common.h"
#include "glib_wrapper.h"
#include "object.h"
#include "binfile.h"
#include "target.h"
#include "target_api.h"
#include "target_event.h"
#include "target_os.h"
#include "target_os_linux_generic.h"
#include "target_os_process.h"
Include dependency graph for target_os_process.c:

Go to the source code of this file.

Functions

struct os_process_specos_process_build_spec (void)
 
void os_process_free_spec (struct os_process_spec *spec)
 
int os_process_disable_hw_breakpoints (struct target *target, tid_t tid)
 
int os_process_enable_hw_breakpoints (struct target *target, tid_t tid)
 
int os_process_disable_hw_breakpoint (struct target *target, tid_t tid, REG dreg)
 
int os_process_enable_hw_breakpoint (struct target *target, tid_t tid, REG dreg)
 
int os_process_notify_sw_breakpoint (struct target *target, ADDR addr, int notification)
 
int os_process_singlestep (struct target *target, tid_t tid, int isbp, struct target *overlay)
 
int os_process_singlestep_end (struct target *target, tid_t tid, struct target *overlay)
 

Variables

struct target_ops os_process_ops
 

Function Documentation

struct os_process_spec* os_process_build_spec ( void  )

Definition at line 36 of file target_os_process.c.

int os_process_disable_hw_breakpoint ( struct target target,
tid_t  tid,
REG  dreg 
)
int os_process_disable_hw_breakpoints ( struct target target,
tid_t  tid 
)
int os_process_enable_hw_breakpoint ( struct target target,
tid_t  tid,
REG  dreg 
)
int os_process_enable_hw_breakpoints ( struct target target,
tid_t  tid 
)
void os_process_free_spec ( struct os_process_spec spec)

Definition at line 40 of file target_os_process.c.

int os_process_notify_sw_breakpoint ( struct target target,
ADDR  addr,
int  notification 
)

Definition at line 1370 of file target_os_process.c.

int os_process_singlestep ( struct target target,
tid_t  tid,
int  isbp,
struct target overlay 
)

Definition at line 1375 of file target_os_process.c.

int os_process_singlestep_end ( struct target target,
tid_t  tid,
struct target overlay 
)

Definition at line 1386 of file target_os_process.c.

Variable Documentation

struct target_ops os_process_ops

Definition at line 139 of file target_os_process.c.