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 Structures | Functions | Variables
target_gdb_helper_builtin.c File Reference
#include "config.h"
#include <errno.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "common.h"
#include "target_api.h"
#include "target.h"
#include "target_gdb.h"
#include "target_gdb_rsp.h"
Include dependency graph for target_gdb_helper_builtin.c:

Go to the source code of this file.

Data Structures

struct  gdb_helper_builtin_state
 

Functions

unsigned char * gdb_helper_builtin_read_tid (struct target *target, tid_t tid, ADDR pgd, ADDR addr, unsigned long length, unsigned char *buf)
 
int gdb_helper_builtin_init (struct target *target)
 
int gdb_helper_builtin_attach (struct target *target)
 
int gdb_helper_builtin_handle_exception_any (struct target *target)
 
int gdb_helper_builtin_handle_exception_ours (struct target *target)
 
int gdb_helper_builtin_handle_pause (struct target *target)
 
unsigned char * gdb_helper_builtin_read_v_str (struct target *target, tid_t tid, ADDR pgd, ADDR addr)
 
unsigned long gdb_helper_builtin_write_tid (struct target *target, tid_t tid, ADDR pgd, ADDR addr, unsigned long length, unsigned char *buf)
 
int gdb_helper_builtin_fini (struct target *target)
 

Variables

struct gdb_helper_ops gdb_helper_ops_builtin
 

Function Documentation

int gdb_helper_builtin_attach ( struct target target)

Definition at line 67 of file target_gdb_helper_builtin.c.

int gdb_helper_builtin_fini ( struct target target)

Definition at line 229 of file target_gdb_helper_builtin.c.

int gdb_helper_builtin_handle_exception_any ( struct target target)

Definition at line 71 of file target_gdb_helper_builtin.c.

int gdb_helper_builtin_handle_exception_ours ( struct target target)

Definition at line 75 of file target_gdb_helper_builtin.c.

int gdb_helper_builtin_handle_pause ( struct target target)

Definition at line 79 of file target_gdb_helper_builtin.c.

int gdb_helper_builtin_init ( struct target target)

Definition at line 63 of file target_gdb_helper_builtin.c.

unsigned char * gdb_helper_builtin_read_tid ( struct target target,
tid_t  tid,
ADDR  pgd,
ADDR  addr,
unsigned long  length,
unsigned char *  buf 
)

Definition at line 139 of file target_gdb_helper_builtin.c.

unsigned char* gdb_helper_builtin_read_v_str ( struct target target,
tid_t  tid,
ADDR  pgd,
ADDR  addr 
)

Definition at line 83 of file target_gdb_helper_builtin.c.

unsigned long gdb_helper_builtin_write_tid ( struct target target,
tid_t  tid,
ADDR  pgd,
ADDR  addr,
unsigned long  length,
unsigned char *  buf 
)

Definition at line 187 of file target_gdb_helper_builtin.c.

Variable Documentation

struct gdb_helper_ops gdb_helper_ops_builtin
Initial value:
= {
.handle_exception_any = gdb_helper_builtin_handle_exception_any,
.handle_exception_ours = gdb_helper_builtin_handle_exception_ours,
.addr_v2p = NULL,
.read_phys = NULL,
.write_phys = NULL,
}
int gdb_helper_builtin_init(struct target *target)
int gdb_helper_builtin_handle_exception_ours(struct target *target)
int gdb_helper_builtin_handle_exception_any(struct target *target)
int gdb_helper_builtin_attach(struct target *target)
int gdb_helper_builtin_handle_pause(struct target *target)
unsigned long gdb_helper_builtin_write_tid(struct target *target, tid_t tid, ADDR pgd, ADDR addr, unsigned long length, unsigned char *buf)
unsigned char * gdb_helper_builtin_read_tid(struct target *target, tid_t tid, ADDR pgd, ADDR addr, unsigned long length, unsigned char *buf)
int gdb_helper_builtin_fini(struct target *target)

Definition at line 233 of file target_gdb_helper_builtin.c.