* Move binrz meson directives to binrz/ dir * Move rizin-shell-parser to a subproject * Move bochs to a meson subproject * Move rzqnx to meson subproject * Move winkd to a meson subproject * Move rzar to a meson subproject * Move rzw32dbg_wrap to a meson subproject * Move ptrace-wrap to a meson subproject * Move rzgdb to a meson subproject * Rename w32dbg_wrap to rzw32dbg_wrap * Update CODEOWNERS * Remove old references to shlr * Move shlr/heap stuff in core and remove shlr/arm * Move spp to a meson subproject * Remove last references to shlr * Remove use_webui option * Move include files directives to librz/include/meson.build * Move librz meson directives into librz/meson.build * Handle d/ directories inside the specific module meson.build * Move plugins listing to specific module meson.build * Move rzheap to its own subproject * Fix js linter and licenses * Use meson.override_dependency for all rz_ modules
40 lines
777 B
C
40 lines
777 B
C
// SPDX-FileCopyrightText: 2016 madprogrammer
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
/*! \file */
|
|
#ifndef QNX_CORE_H
|
|
#define QNX_CORE_H
|
|
|
|
#include "rz_types.h"
|
|
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#if __UNIX__
|
|
#include <unistd.h>
|
|
#endif
|
|
#include <stdio.h>
|
|
|
|
#include "libqnxr.h"
|
|
#include "utils.h"
|
|
#include "arch.h"
|
|
|
|
#ifndef offsetof
|
|
#define offsetof(TYPE, MEMBER) ((size_t) & ((TYPE *)0)->MEMBER)
|
|
#endif
|
|
|
|
enum Breakpoint {
|
|
BREAKPOINT,
|
|
HARDWARE_BREAKPOINT,
|
|
WRITE_WATCHPOINT,
|
|
READ_WATCHPOINT,
|
|
ACCESS_WATCHPOINT
|
|
};
|
|
|
|
int qnxr_send_vcont(libqnxr_t *g, int step, int thread_id);
|
|
|
|
int _qnxr_set_bp(libqnxr_t *g, ut64 address, const char *conditions, enum Breakpoint type);
|
|
|
|
int _qnxr_remove_bp(libqnxr_t *g, ut64 address, enum Breakpoint type);
|
|
|
|
#endif
|