47 eprintf(
"%s: TODO: Threads\n", __func__);
81 eprintf(
"rz_debug_qnx_reg_read: small buffer %d vs %d\n",
186 if (
d &&
d->plugin &&
d->plugin->name &&
d->data) {
187 if (!strcmp(
"qnx",
d->plugin->name)) {
191 if ((
desc = &
g->desc)) {
215 eprintf(
"%s: error: underlying IO descriptor isn't a QNX one\n", __func__);
252 "gpr eflags .32 36 0\n"
290 "gpr cpsr .96 64 0\n"
301 "mmx d10 .64 148 0\n"
302 "mmx d11 .64 156 0\n"
303 "mmx d12 .64 164 0\n"
304 "mmx d13 .64 172 0\n"
305 "mmx d14 .64 180 0\n"
306 "mmx d15 .64 188 0\n"
307 "mmx d16 .64 196 0\n"
308 "mmx d17 .64 204 0\n"
309 "mmx d18 .64 212 0\n"
310 "mmx d19 .64 220 0\n"
311 "mmx d20 .64 228 0\n"
312 "mmx d21 .64 236 0\n"
313 "mmx d22 .64 244 0\n"
314 "mmx d23 .64 252 0\n"
315 "mmx d24 .64 260 0\n"
316 "mmx d25 .64 268 0\n"
317 "mmx d26 .64 276 0\n"
318 "mmx d27 .64 284 0\n"
319 "mmx d28 .64 292 0\n"
320 "mmx d29 .64 300 0\n"
321 "mmx d30 .64 308 0\n"
322 "mmx d31 .64 316 0\n"
323 "mmx fpscr .32 324 0\n"
366 #ifndef RZ_PLUGIN_INCORE
RZ_API ut8 * rz_reg_get_bytes(RzReg *reg, int type, int *size)
int bits(struct state *s, int need)
static static fork const void static count static fd const char const char static newpath const char static path const char path
static int rz_debug_qnx_attach(RzDebug *dbg, int pid)
static int rz_debug_qnx_detach(RzDebug *dbg, int pid)
RZ_API void * __r_debug_pid_free(RzDebugPid *pid)
static int rz_debug_qnx_continue(RzDebug *dbg, int pid, int tid, int sig)
static RzList * rz_debug_qnx_pids(RzDebug *dbg, int pid)
static RzList * rz_debug_qnx_tids(RzDebug *dbg, int pid)
static int rz_debug_qnx_step(RzDebug *dbg)
static RzDebugReasonType rz_debug_qnx_wait(RzDebug *dbg, int pid)
static const char * rz_debug_qnx_reg_profile(RzDebug *dbg)
RzDebugPlugin rz_debug_plugin_qnx
static int rz_debug_qnx_reg_read(RzDebug *dbg, int type, ut8 *buf, int size)
RZ_API RzLibStruct rizin_plugin
RZ_API RzDebugPid * __r_debug_pid_new(const char *path, int pid, char status, ut64 pc)
static int rz_debug_qnx_select(RzDebug *dbg, int pid, int tid)
static int rz_debug_qnx_stop(RzDebug *dbg)
static RzList * rz_debug_qnx_map_get(RzDebug *dbg)
static int rz_debug_qnx_reg_write(RzDebug *dbg, int type, const ut8 *buf, int size)
static void pidlist_cb(void *ctx, pid_t pid, char *name)
static int rz_debug_qnx_breakpoint(RzBreakpoint *bp, RzBreakpointItem *b, bool set)
RZ_API void Ht_() free(HtName_(Ht) *ht)
return memset(p, 0, total)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
int qnxr_remove_hwbp(libqnxr_t *g, ut64 address)
int qnxr_set_bp(libqnxr_t *g, ut64 address, const char *conditions)
int ptid_equal(ptid_t ptid1, ptid_t ptid2)
int qnxr_read_registers(libqnxr_t *g)
int qnxr_select(libqnxr_t *g, pid_t pid, int tid)
int qnxr_remove_bp(libqnxr_t *g, ut64 address)
int qnxr_set_hwbp(libqnxr_t *g, ut64 address, const char *conditions)
int qnxr_continue(libqnxr_t *g, int thread_id)
int qnxr_disconnect(libqnxr_t *g)
ptid_t qnxr_attach(libqnxr_t *g, pid_t pid)
void qnxr_pidlist(libqnxr_t *g, void *ctx, pidlist_cb_t *cb)
ptid_t qnxr_wait(libqnxr_t *g, pid_t pid)
int qnxr_set_architecture(libqnxr_t *g, ut8 architecture)
int qnxr_stop(libqnxr_t *g)
int qnxr_write_reg(libqnxr_t *g, const char *name, char *value, int len)
int qnxr_step(libqnxr_t *g, int thread_id)
static void list(RzEgg *egg)
RZ_API RZ_OWN RzList * rz_list_new(void)
Returns a new initialized RzList pointer (free method is not initialized)
RZ_API RZ_BORROW RzListIter * rz_list_append(RZ_NONNULL RzList *list, void *data)
Appends at the end of the list a new element.
void * realloc(void *ptr, size_t size)
void * calloc(size_t number, size_t size)
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
return strdup("=SP r13\n" "=LR r14\n" "=PC r15\n" "=A0 r0\n" "=A1 r1\n" "=A2 r2\n" "=A3 r3\n" "=ZF zf\n" "=SF nf\n" "=OF vf\n" "=CF cf\n" "=SN or0\n" "gpr lr .32 56 0\n" "gpr pc .32 60 0\n" "gpr cpsr .32 64 0 ____tfiae_________________qvczn\n" "gpr or0 .32 68 0\n" "gpr tf .1 64.5 0 thumb\n" "gpr ef .1 64.9 0 endian\n" "gpr jf .1 64.24 0 java\n" "gpr qf .1 64.27 0 sticky_overflow\n" "gpr vf .1 64.28 0 overflow\n" "gpr cf .1 64.29 0 carry\n" "gpr zf .1 64.30 0 zero\n" "gpr nf .1 64.31 0 negative\n" "gpr itc .4 64.10 0 if_then_count\n" "gpr gef .4 64.16 0 great_or_equal\n" "gpr r0 .32 0 0\n" "gpr r1 .32 4 0\n" "gpr r2 .32 8 0\n" "gpr r3 .32 12 0\n" "gpr r4 .32 16 0\n" "gpr r5 .32 20 0\n" "gpr r6 .32 24 0\n" "gpr r7 .32 28 0\n" "gpr r8 .32 32 0\n" "gpr r9 .32 36 0\n" "gpr r10 .32 40 0\n" "gpr r11 .32 44 0\n" "gpr r12 .32 48 0\n" "gpr r13 .32 52 0\n" "gpr r14 .32 56 0\n" "gpr r15 .32 60 0\n" "gpr r16 .32 64 0\n" "gpr r17 .32 68 0\n")
static const char struct stat static buf struct stat static buf static vhangup int status
RZ_API RzRegItem * rz_reg_get(RzReg *reg, const char *name, int type)
RZ_API const char * rz_reg_get_name(RzReg *reg, int role)
RZ_API RzRegItem * rz_reg_next_diff(RzReg *reg, int type, const ut8 *buf, int buflen, RzRegItem *prev_ri, int regsize)
RZ_API ut64 rz_reg_get_value(RzReg *reg, RzRegItem *item)
void(* RzListFree)(void *ptr)
RZ_API int rz_sys_arch_id(const char *arch)
ut8 data[DS_DATA_MAX_SIZE]
union libqnxr_t::@603 recv
struct rz_io_desc_t * desc
ut64(WINAPI *w32_GetEnabledXStateFeatures)()