Rizin
unix-like reverse engineering framework and cli tools
rz_debug_plugin_t Struct Reference

#include <rz_debug.h>

Public Attributes

const char * name
 
const char * license
 
const char * author
 
const char * version
 
ut32 bits
 
const char * arch
 
int canstep
 
int keepio
 
bool(* init )(RzDebug *dbg, void **user)
 
void(* fini )(RzDebug *debug, void *user)
 
RzDebugInfo *(* info )(RzDebug *dbg, const char *arg)
 
int(* startv )(int argc, char **argv)
 
int(* attach )(RzDebug *dbg, int pid)
 
int(* detach )(RzDebug *dbg, int pid)
 
int(* select )(RzDebug *dbg, int pid, int tid)
 
RzList *(* threads )(RzDebug *dbg, int pid)
 
RzList *(* pids )(RzDebug *dbg, int pid)
 
RzList *(* tids )(RzDebug *dbg, int pid)
 
RzList(* backtrace )(RzDebug *dbg, int count)
 
int(* stop )(RzDebug *dbg)
 
int(* step )(RzDebug *dbg)
 
int(* step_over )(RzDebug *dbg)
 
int(* cont )(RzDebug *dbg, int pid, int tid, int sig)
 
RzDebugReasonType(* wait )(RzDebug *dbg, int pid)
 
bool(* gcore )(RzDebug *dbg, char *path, RzBuffer *dest)
 
bool(* kill )(RzDebug *dbg, int pid, int tid, int sig)
 
RzList *(* kill_list )(RzDebug *dbg)
 
int(* contsc )(RzDebug *dbg, int pid, int sc)
 
RzList *(* frames )(RzDebug *dbg, ut64 at)
 
RzBreakpointCallback breakpoint
 
int(* reg_read )(RzDebug *dbg, int type, ut8 *buf, int size)
 Callback to be used for RzBreakpoint. When called, RzBreakpoint.user points to the RzDebug. More...
 
int(* reg_write )(RzDebug *dbg, int type, const ut8 *buf, int size)
 
char *(* reg_profile )(RzDebug *dbg)
 
int(* set_reg_profile )(RzDebug *dbg, const char *str)
 
RzList *(* map_get )(RzDebug *dbg)
 
RzList *(* modules_get )(RzDebug *dbg)
 
RzDebugMap *(* map_alloc )(RzDebug *dbg, ut64 addr, int size, bool thp)
 
int(* map_dealloc )(RzDebug *dbg, ut64 addr, int size)
 
int(* map_protect )(RzDebug *dbg, ut64 addr, int size, int perms)
 
int(* drx )(RzDebug *dbg, int n, ut64 addr, int size, int rwx, int g, int api_type)
 
RzDebugDescPlugin desc
 

Detailed Description

Definition at line 358 of file rz_debug.h.

Member Data Documentation

◆ arch

const char* rz_debug_plugin_t::arch

Definition at line 364 of file rz_debug.h.

Referenced by test_group_name.GroupTest::run(), and rz_core_debug_plugin_print().

◆ attach

int(* rz_debug_plugin_t::attach) (RzDebug *dbg, int pid)

Definition at line 372 of file rz_debug.h.

Referenced by rz_debug_attach().

◆ author

const char* rz_debug_plugin_t::author

Definition at line 361 of file rz_debug.h.

◆ backtrace

RzList(* rz_debug_plugin_t::backtrace) (RzDebug *dbg, int count)

Definition at line 378 of file rz_debug.h.

◆ bits

ut32 rz_debug_plugin_t::bits

Definition at line 363 of file rz_debug.h.

Referenced by rz_debug_set_arch().

◆ breakpoint

RzBreakpointCallback rz_debug_plugin_t::breakpoint

Definition at line 390 of file rz_debug.h.

Referenced by rz_debug_use().

◆ canstep

int rz_debug_plugin_t::canstep

Definition at line 365 of file rz_debug.h.

Referenced by rz_core_debug_attach().

◆ cont

int(* rz_debug_plugin_t::cont) (RzDebug *dbg, int pid, int tid, int sig)

Definition at line 383 of file rz_debug.h.

Referenced by rz_debug_continue_kill().

◆ contsc

int(* rz_debug_plugin_t::contsc) (RzDebug *dbg, int pid, int sc)

Definition at line 388 of file rz_debug.h.

Referenced by rz_debug_continue_syscalls(), and rz_debug_syscall().

◆ desc

◆ detach

int(* rz_debug_plugin_t::detach) (RzDebug *dbg, int pid)

Definition at line 373 of file rz_debug.h.

Referenced by rz_debug_detach().

◆ drx

int(* rz_debug_plugin_t::drx) (RzDebug *dbg, int n, ut64 addr, int size, int rwx, int g, int api_type)

◆ fini

void(* rz_debug_plugin_t::fini) (RzDebug *debug, void *user)

Definition at line 368 of file rz_debug.h.

Referenced by rz_debug_use().

◆ frames

RzList*(* rz_debug_plugin_t::frames) (RzDebug *dbg, ut64 at)

Definition at line 389 of file rz_debug.h.

Referenced by rz_debug_frames().

◆ gcore

bool(* rz_debug_plugin_t::gcore) (RzDebug *dbg, char *path, RzBuffer *dest)

Definition at line 385 of file rz_debug.h.

Referenced by rz_cmd_debug().

◆ info

RzDebugInfo*(* rz_debug_plugin_t::info) (RzDebug *dbg, const char *arg)

Definition at line 370 of file rz_debug.h.

Referenced by rz_debug_info().

◆ init

bool(* rz_debug_plugin_t::init) (RzDebug *dbg, void **user)

Definition at line 367 of file rz_debug.h.

Referenced by rz_debug_use().

◆ keepio

int rz_debug_plugin_t::keepio

Definition at line 366 of file rz_debug.h.

◆ kill

bool(* rz_debug_plugin_t::kill) (RzDebug *dbg, int pid, int tid, int sig)

Definition at line 386 of file rz_debug.h.

Referenced by rz_debug_can_kill(), rz_debug_is_dead(), and rz_debug_kill().

◆ kill_list

RzList*(* rz_debug_plugin_t::kill_list) (RzDebug *dbg)

Definition at line 387 of file rz_debug.h.

Referenced by rz_debug_kill_list().

◆ license

const char* rz_debug_plugin_t::license

Definition at line 360 of file rz_debug.h.

Referenced by rz_core_debug_plugin_print().

◆ map_alloc

RzDebugMap*(* rz_debug_plugin_t::map_alloc) (RzDebug *dbg, ut64 addr, int size, bool thp)

Definition at line 399 of file rz_debug.h.

Referenced by rz_debug_map_alloc().

◆ map_dealloc

int(* rz_debug_plugin_t::map_dealloc) (RzDebug *dbg, ut64 addr, int size)

Definition at line 400 of file rz_debug.h.

Referenced by rz_debug_map_dealloc().

◆ map_get

RzList*(* rz_debug_plugin_t::map_get) (RzDebug *dbg)

Definition at line 397 of file rz_debug.h.

Referenced by rz_debug_map_sync().

◆ map_protect

int(* rz_debug_plugin_t::map_protect) (RzDebug *dbg, ut64 addr, int size, int perms)

Definition at line 401 of file rz_debug.h.

Referenced by rz_debug_map_protect().

◆ modules_get

RzList*(* rz_debug_plugin_t::modules_get) (RzDebug *dbg)

Definition at line 398 of file rz_debug.h.

Referenced by rz_debug_modules_list().

◆ name

◆ pids

RzList*(* rz_debug_plugin_t::pids) (RzDebug *dbg, int pid)

◆ reg_profile

char*(* rz_debug_plugin_t::reg_profile) (RzDebug *dbg)

Definition at line 394 of file rz_debug.h.

Referenced by rz_debug_reg_profile_sync().

◆ reg_read

int(* rz_debug_plugin_t::reg_read) (RzDebug *dbg, int type, ut8 *buf, int size)

Callback to be used for RzBreakpoint. When called, RzBreakpoint.user points to the RzDebug.

Definition at line 392 of file rz_debug.h.

Referenced by rz_debug_reg_sync().

◆ reg_write

int(* rz_debug_plugin_t::reg_write) (RzDebug *dbg, int type, const ut8 *buf, int size)

Definition at line 393 of file rz_debug.h.

Referenced by rz_debug_reg_sync().

◆ select

int(* rz_debug_plugin_t::select) (RzDebug *dbg, int pid, int tid)

Definition at line 374 of file rz_debug.h.

Referenced by rz_debug_select().

◆ set_reg_profile

int(* rz_debug_plugin_t::set_reg_profile) (RzDebug *dbg, const char *str)

Definition at line 395 of file rz_debug.h.

Referenced by rz_debug_plugin_set_reg_profile().

◆ startv

int(* rz_debug_plugin_t::startv) (int argc, char **argv)

Definition at line 371 of file rz_debug.h.

◆ step

int(* rz_debug_plugin_t::step) (RzDebug *dbg)

Definition at line 381 of file rz_debug.h.

Referenced by rz_debug_step_hard().

◆ step_over

int(* rz_debug_plugin_t::step_over) (RzDebug *dbg)

Definition at line 382 of file rz_debug.h.

Referenced by rz_debug_step_over().

◆ stop

int(* rz_debug_plugin_t::stop) (RzDebug *dbg)

Definition at line 380 of file rz_debug.h.

Referenced by rz_debug_stop().

◆ threads

RzList*(* rz_debug_plugin_t::threads) (RzDebug *dbg, int pid)

◆ tids

RzList*(* rz_debug_plugin_t::tids) (RzDebug *dbg, int pid)

Definition at line 377 of file rz_debug.h.

◆ version

const char* rz_debug_plugin_t::version

Definition at line 362 of file rz_debug.h.

◆ wait

RzDebugReasonType(* rz_debug_plugin_t::wait) (RzDebug *dbg, int pid)

Definition at line 384 of file rz_debug.h.

Referenced by rz_debug_wait(), and w32_attach().


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