Rizin
unix-like reverse engineering framework and cli tools
bsd_debug.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2009-2019 pancake <pancake@nopcode.org>
2
// SPDX-License-Identifier: LGPL-3.0-only
3
4
#ifndef _BSD_DEBUG_H
5
#define _BSD_DEBUG_H
6
#include <
rz_debug.h
>
7
#include <sys/ptrace.h>
8
#define RZ_DEBUG_REG_T struct reg
9
10
int
bsd_handle_signals
(
RzDebug
*
dbg
);
11
int
bsd_reg_write
(
RzDebug
*
dbg
,
int
type
,
const
ut8
*
buf
,
int
size
);
12
RzDebugInfo
*
bsd_info
(
RzDebug
*
dbg
,
const
char
*
arg
);
13
bool
bsd_generate_corefile
(
RzDebug
*
dbg
,
char
*
path
,
RzBuffer
*
dest
);
14
RzList
*
bsd_pid_list
(
RzDebug
*
dbg
,
int
pid
,
RzList
*
list
);
15
RzList
*
bsd_native_sysctl_map
(
RzDebug
*
dbg
);
16
RzList
*
bsd_desc_list
(
int
pid
);
17
RzList
*
bsd_thread_list
(
RzDebug
*
dbg
,
int
pid
,
RzList
*
list
);
18
#endif
bsd_desc_list
RzList * bsd_desc_list(int pid)
Definition:
bsd_debug.c:444
bsd_handle_signals
int bsd_handle_signals(RzDebug *dbg)
Definition:
bsd_debug.c:65
bsd_pid_list
RzList * bsd_pid_list(RzDebug *dbg, int pid, RzList *list)
Definition:
bsd_debug.c:281
bsd_native_sysctl_map
RzList * bsd_native_sysctl_map(RzDebug *dbg)
Definition:
bsd_debug.c:353
bsd_reg_write
int bsd_reg_write(RzDebug *dbg, int type, const ut8 *buf, int size)
Definition:
bsd_debug.c:119
bsd_thread_list
RzList * bsd_thread_list(RzDebug *dbg, int pid, RzList *list)
Definition:
bsd_debug.c:637
bsd_generate_corefile
bool bsd_generate_corefile(RzDebug *dbg, char *path, RzBuffer *dest)
Definition:
bsd_debug.c:139
bsd_info
RzDebugInfo * bsd_info(RzDebug *dbg, const char *arg)
Definition:
bsd_debug.c:149
path
static static fork const void static count static fd const char const char static newpath const char static path const char path
Definition:
sflib.h:35
dbg
RzDebug * dbg
Definition:
desil.c:30
size
voidpf void uLong size
Definition:
ioapi.h:138
buf
voidpf void * buf
Definition:
ioapi.h:138
ut8
uint8_t ut8
Definition:
lh5801.h:11
list
static void list(RzEgg *egg)
Definition:
rz-gg.c:52
pid
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc pid
Definition:
sflib.h:64
dest
char * dest
Definition:
lz4.h:697
type
int type
Definition:
mipsasm.c:17
rz_debug.h
arg
Definition:
sparc-opc.c:1836
rz_buf_t
Definition:
rz_buf.h:43
rz_debug_info_t
Definition:
rz_debug.h:336
rz_debug_t
Definition:
rz_debug.h:241
rz_list_t
Definition:
rz_list.h:18
librz
debug
p
native
bsd
bsd_debug.h
Generated by
1.9.1