8 #include "../core_private.h"
40 if (strstr(
desc->uri,
"://")) {
75 if (core && core->
io && core->
io->
files) {
108 p->cb_printf(
"%d\n",
desc->fd);
115 p->cb_printf(
"%2d %c %s 0x%08" PFMT64x " %s\n",
desc->fd,
194 if (
f->fd == fdnum) {
199 RZ_LOG_ERROR(
"Could not find binfile with fd %d\n", fdnum);
208 RZ_LOG_ERROR(
"Could not find any opened file with fd %d\n", fdnum);
308 RZ_LOG_ERROR(
"Could not find any file descriptor with fd %d\n",
fd);
313 RZ_LOG_ERROR(
"Could not create a IO map for file descriptor %d\n",
fd);
345 RZ_LOG_ERROR(
"Could not find any IO map at current offset\n");
377 RZ_LOG_ERROR(
"Cannot find any map with mapid %d\n",
id);
393 rz_list_foreach (core->
files, it,
file) {
412 RZ_LOG_ERROR(
"Cannot find any map with mapid %d\n",
id);
520 }
else if (
arg[0] ==
'-') {
555 const char *
name = argc > 6 ?
argv[6] :
"";
560 RZ_LOG_ERROR(
"Could not determine any opened file with fd %d\n",
fd);
576 switch (
state->mode) {
613 rz_cmd_state_output_set_columnsf(
state,
"ddxxxxxss",
"id",
"fd",
"pa",
"pa_end",
"size",
"va",
"va_end",
"perm",
"name");
615 state->d.t->showFancy =
true;
623 if (
fd >= 0 &&
map->fd !=
fd) {
645 state->d.t->showFancy =
true;
654 RZ_LOG_ERROR(
"Could not select binary file with id %d\n",
id);
668 eprintf(
"Could not select the binary file for fd %d.\n",
fd);
678 RZ_LOG_ERROR(
"Could not find any binary file with id %d.\n",
id);
682 RZ_LOG_ERROR(
"Could not delete binary file with id %d\n",
id);
717 rz_list_foreach (
bin->binfiles,
iter, bf) {
742 RZ_LOG_ERROR(
"Could not determine any opened file with fd %d\n",
fd);
746 opt.sz = 1024 * 1024 * 1;
770 rz_list_foreach (ofiles,
iter,
desc) {
821 switch (
state->mode) {
854 switch (
state->mode) {
876 if ((fdx == -1) || (
fd == -1) || (fdx ==
fd)) {
877 RZ_LOG_ERROR(
"Could not exchange file descriptor %d and %d.\n",
fd, fdx);
887 RZ_LOG_ERROR(
"This command can only be executed on the main task!\n");
932 RZ_LOG_ERROR(
"Cannot load binary info of '%s'.\n", uri);
947 if (!strcmp(uri,
"=")) {
948 uri =
"malloc://512";
1003 if (!core->
io || !core->
io->
desc) {
1019 if (!core->
io || !core->
io->
desc) {
1033 for (
i = 1;
i < argc;
i++) {
1039 for (
i = 0;
i < argc - 1;
i++) {
1049 const char *uri =
argv[1];
1087 int perms = core->
io->
desc->
perm | add_perms;
RZ_API void rz_analysis_purge(RzAnalysis *analysis)
RZ_API ut64 rz_bin_file_delete_all(RzBin *bin)
RZ_API RzBinFile * rz_bin_file_find_by_id(RzBin *bin, ut32 bf_id)
RZ_API RzBinFile * rz_bin_file_find_by_fd(RzBin *bin, ut32 bin_fd)
RZ_API bool rz_bin_file_set_cur_by_id(RzBin *bin, ut32 bin_id)
RZ_API RzBinFile * rz_bin_file_at(RzBin *bin, ut64 at)
RZ_API RzBinFile * rz_bin_open_io(RzBin *bin, RzBinOptions *opt)
RZ_API RzBinFile * rz_bin_reload(RzBin *bin, RzBinFile *bf, ut64 baseaddr)
RZ_API RzBinFile * rz_bin_cur(RzBin *bin)
static ut64 baddr(RzBinFile *bf)
static RzList * maps(RzBinFile *bf)
RzBinInfo * info(RzBinFile *bf)
int bits(struct state *s, int need)
RZ_API bool rz_core_binfiles_delete(RzCore *core, RzBinFile *bf)
Close an opened binary file.
RZ_API bool rz_core_binfiles_print(RzCore *core, RzCmdStateOutput *state)
Print all the opened binary files according to state.
RZ_API void rz_core_bin_options_init(RzCore *core, RZ_OUT RzBinOptions *opts, int fd, ut64 baseaddr, ut64 loadaddr)
RZ_API bool rz_core_bin_raise(RzCore *core, ut32 bfid)
RZ_API bool rz_core_bin_load_structs(RZ_NONNULL RzCore *core, RZ_NONNULL const char *file)
RZ_API int rz_core_bin_set_arch_bits(RzCore *r, const char *name, const char *arch, ut16 bits)
RZ_API bool rz_core_bin_apply_all_info(RzCore *r, RzBinFile *binfile)
RZ_API RzCoreFile * rz_core_file_cur(RzCore *r)
RZ_API bool rz_core_file_reopen(RzCore *core, const char *args, int perm, int loadbin)
RZ_API void rz_core_file_reopen_debug(RzCore *core, const char *args)
RZ_API void rz_core_io_file_open(RZ_NONNULL RzCore *core, int fd)
Open file use read-only Permission.
RZ_API void rz_core_file_reopen_remote_debug(RzCore *core, const char *uri, ut64 addr)
RZ_API int rz_core_bin_rebase(RzCore *core, ut64 baddr)
RZ_API void rz_core_io_file_reopen(RZ_NONNULL RzCore *core, int fd, int perms)
Reopen file.
RZ_API RZ_BORROW RzCoreFile * rz_core_file_open(RZ_NONNULL RzCore *r, RZ_NONNULL const char *file, int flags, ut64 loadaddr)
Tries to open the file as is, otherwise tries as is a compilation of files.
RZ_API bool rz_core_file_close_fd(RzCore *core, int fd)
RZ_API bool rz_core_file_open_load(RZ_NONNULL RzCore *core, RZ_NONNULL const char *filepath, ut64 addr, int perms, bool write_mode)
Tries to open the file, load binary info and make RzIOMap.
RZ_API bool rz_core_bin_load(RZ_NONNULL RzCore *r, RZ_NULLABLE const char *filenameuri, ut64 baddr)
RZ_API int rz_core_block_read(RzCore *core)
RZ_API void rz_cmd_state_output_set_columnsf(RzCmdStateOutput *state, const char *fmt,...)
Specify the columns of the command output.
RZ_API void rz_cmd_state_output_array_start(RzCmdStateOutput *state)
Mark the start of an array of elements in the output.
RZ_API char * rz_cmd_escape_arg(const char *arg, RzCmdEscape esc)
RZ_API void rz_cmd_state_output_array_end(RzCmdStateOutput *state)
Mark the end of an array of elements in the output.
RZ_IPI RzCmdStatus rz_open_binary_list_handler(RzCore *core, int argc, const char **argv, RzCmdStateOutput *state)
RZ_IPI RzCmdStatus rz_open_maps_prioritize_binid_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_prioritize_prev_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_all_fd_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_map_fd_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_name_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_show_current_handler(RzCore *core, int argc, const char **argv, RzCmdStateOutput *state)
RZ_IPI RzCmdStatus rz_open_maps_name_del_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_debug_rzrun_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_close_all_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_malloc_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_show_handler(RzCore *core, int argc, const char **argv)
RZ_API void rz_core_file_reopen_in_malloc(RzCore *core)
RZ_IPI RzCmdStatus rz_reopen_binary_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_nobin_write_headers_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_core_file_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_exchange_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_prioritize_next_rotate_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_flags_global_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_select_id_handler(RzCore *core, int argc, const char **argv)
static bool desc_list_table_cb(void *user, void *data, ut32 id)
RZ_IPI RzCmdStatus rz_reopen_nobin_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_core_handler(RzCore *core, int argc, const char **argv)
static bool reopen_in_malloc_cb(void *user, void *data, ut32 id)
RZ_IPI RzCmdStatus rz_open_maps_name_id_del_handler(RzCore *core, int argc, const char **argv)
static void open_maps_list(RzCore *core, RzCmdStateOutput *state, int fd)
RZ_IPI RzCmdStatus rz_open_prioritize_next_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_write_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_arch_bits_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_prioritize_handler(RzCore *core, int argc, const char **argv)
static RzCmdStatus open_nobin_file(RzCore *core, const char *uri, ut64 addr, int perms)
RZ_IPI RzCmdStatus rz_open_maps_list_handler(RzCore *core, int argc, const char **argv, RzCmdStateOutput *state)
RZ_IPI RzCmdStatus rz_open_list_handler(RzCore *core, int argc, const char **argv, RzCmdStateOutput *state)
RZ_IPI RzCmdStatus rz_open_nobin_handler(RzCore *core, int argc, const char **argv)
static bool desc_list_visual_cb(void *user, void *data, ut32 id)
static bool desc_list_json_cb(void *user, void *data, ut32 id)
RZ_IPI RzCmdStatus rz_reopen_debug_file_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_list_ascii_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_add_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_flags_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_remove_all_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_close_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_del_all_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_del_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_malloc_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_resize_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_relocate_current_handler(RzCore *core, int argc, const char **argv)
static bool desc_list_quiet_cb(void *user, void *data, ut32 id)
RZ_IPI RzCmdStatus rz_reopen_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_nobin_write_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_nobin_write_handler(RzCore *core, int argc, const char **argv)
static RzCmdStatus open_core_file(RzCore *core, const char *filename)
RZ_IPI RzCmdStatus rz_open_maps_prioritize_handler(RzCore *core, int argc, const char **argv)
static bool init_desc_list_visual_cb(void *user, void *data, ut32 id)
RZ_IPI RzCmdStatus rz_open_maps_deprioritize_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_select_fd_handler(RzCore *core, int argc, const char **argv)
static RzCmdStatus prioritize_file(RzCore *core, int fd)
static bool core_bin_reload(RzCore *r, const char *file, ut64 baseaddr)
RZ_IPI RzCmdStatus rz_open_maps_remove_handler(RzCore *core, int argc, const char **argv)
static bool desc_list_cb(void *user, void *data, ut32 id)
RZ_IPI RzCmdStatus rz_open_write_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_list_ascii_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_map_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_list_cur_handler(RzCore *core, int argc, const char **argv, RzCmdStateOutput *state)
static RzCmdStatus reopen_nobin_headers(RzCore *core, int add_perms)
RZ_IPI RzCmdStatus rz_open_maps_relocate_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_nobin_headers_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_rebase_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_name_id_handler(RzCore *core, int argc, const char **argv)
static void open_maps_show(RzCore *core, RzCmdStateOutput *state, RzIOMap *map, bool seek_inside)
RZ_IPI RzCmdStatus rz_open_maps_list_ascii_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_maps_prioritize_fd_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_reload_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_reopen_debug_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_use_handler(RzCore *core, int argc, const char **argv)
RZ_IPI RzCmdStatus rz_open_binary_file_handler(RzCore *core, int argc, const char **argv)
RZ_API ut64 rz_config_get_i(RzConfig *cfg, RZ_NONNULL const char *name)
RZ_API RzConfigNode * rz_config_set(RzConfig *cfg, RZ_NONNULL const char *name, const char *value)
RZ_API int rz_cons_get_size(int *rows)
RZ_API int rz_cons_printf(const char *format,...)
static RzCmdStatus bool2status(bool val)
size_t map(int syms, int left, int len)
checking print the parsed form of the magic use in n conjunction with m to debug a new magic file n before installing it n output MIME type special files
RZ_API void rz_flag_unset_all(RzFlag *f)
RZ_API void Ht_() free(HtName_(Ht) *ht)
RZ_API RzTable * rz_core_table(RzCore *core)
RZ_API void rz_core_fini(RzCore *c)
RZ_API bool rz_core_init(RzCore *core)
static void list(RzEgg *egg)
RZ_API RZ_OWN RzList * rz_list_newf(RzListFree f)
Returns a new initialized RzList pointer and sets the free method.
RZ_API RZ_BORROW RzListIter * rz_list_append(RZ_NONNULL RzList *list, void *data)
Appends at the end of the list a new element.
RZ_API void rz_list_free(RZ_NONNULL RzList *list)
Empties the list and frees the list pointer.
void * malloc(size_t size)
static static fork const void static count static fd const char const char static newpath char char argv
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")
RZ_API void rz_print_progressbar(RzPrint *p, int pc, int _cols)
#define rz_warn_if_fail(expr)
@ RZ_CMD_ESCAPE_DOUBLE_QUOTED_ARG
The string should be escaped so that it can be wrapped in "....".
enum rz_cmd_status_t RzCmdStatus
@ RZ_CMD_STATUS_OK
command handler exited in the right way
@ RZ_CMD_STATUS_ERROR
command handler had issues while running (e.g. allocation error, etc.)
RZ_API char * rz_file_temp(const char *prefix)
RZ_API bool rz_file_dump(const char *file, const ut8 *buf, int len, bool append)
RZ_API RzList * rz_id_storage_list(RzIDStorage *s)
RZ_API bool rz_id_storage_foreach(RzIDStorage *storage, RzIDStorageForeachCb cb, void *user)
RZ_API RzIODesc * rz_io_open(RzIO *io, const char *uri, int flags, int mode)
RZ_API RzIOMap * rz_io_map_resolve(RzIO *io, ut32 id)
RZ_API ut64 rz_io_fd_size(RzIO *io, int fd)
RZ_API bool rz_io_read_at(RzIO *io, ut64 addr, ut8 *buf, int len)
RZ_API bool rz_io_map_exists_for_id(RzIO *io, ut32 id)
RZ_API bool rz_io_desc_is_blockdevice(RzIODesc *desc)
RZ_API bool rz_io_map_del(RzIO *io, ut32 id)
RZ_API void rz_io_map_del_name(RzIOMap *map)
RZ_API bool rz_io_map_depriorize(RzIO *io, ut32 id)
RZ_API RzIODesc * rz_io_open_at(RzIO *io, const char *uri, int flags, int mode, ut64 at, RZ_NULLABLE RZ_OUT RzIOMap **map)
Open a file and directly map it at the given offset.
RZ_API ut64 rz_io_desc_size(RzIODesc *desc)
RZ_API bool rz_io_desc_exchange(RzIO *io, int fd, int fdx)
RZ_API bool rz_io_map_priorize(RzIO *io, ut32 id)
RZ_API int rz_io_desc_read_at(RzIODesc *desc, ut64 addr, ut8 *buf, int len)
#define rz_io_map_get_from(map)
RZ_API void rz_io_map_reset(RzIO *io)
RZ_API RzIOMap * rz_io_map_get(RzIO *io, ut64 addr)
RZ_API bool rz_io_map_priorize_for_fd(RzIO *io, int fd)
RZ_API bool rz_io_map_remap(RzIO *io, ut32 id, ut64 addr)
RZ_API RzIODesc * rz_io_desc_get(RzIO *io, int fd)
RZ_API int rz_io_desc_write_at(RzIODesc *desc, ut64 addr, const ut8 *buf, int len)
RZ_API bool rz_io_map_resize(RzIO *io, ut32 id, ut64 newsize)
RZ_API int rz_io_close_all(RzIO *io)
RZ_API RZ_BORROW RzPVector * rz_io_maps(RzIO *io)
Returns the pointer to vector containing maps list.
RZ_API int rz_io_fd_get_current(RzIO *io)
RZ_API RzIODesc * rz_io_open_nomap(RzIO *io, const char *uri, int flags, int mode)
RZ_API bool rz_io_use_fd(RzIO *io, int fd)
RZ_API bool rz_io_desc_is_dbg(RzIODesc *desc)
RZ_API void rz_io_map_set_name(RzIOMap *map, const char *name)
#define rz_io_map_get_to(map)
RZ_API int rz_io_fd_get_prev(RzIO *io, int fd)
RZ_API RzIOMap * rz_io_map_add(RzIO *io, int fd, int flags, ut64 delta, ut64 addr, ut64 size)
RZ_API int rz_io_fd_get_lowest(RzIO *io)
RZ_API int rz_io_fd_get_next(RzIO *io, int fd)
RZ_API bool rz_io_desc_close(RzIODesc *desc)
struct rz_interval_t RzInterval
static ut64 rz_itv_end(RzInterval itv)
static ut64 rz_itv_size(RzInterval itv)
void(* RzListFree)(void *ptr)
#define RZ_LOG_INFO(fmtstr,...)
#define RZ_LOG_WARN(fmtstr,...)
#define RZ_LOG_ERROR(fmtstr,...)
RZ_API ut64 rz_num_math(RzNum *num, const char *str)
RZ_API int rz_num_is_valid_input(RzNum *num, const char *input_value)
RZ_API PJ * pj_kb(PJ *j, const char *k, bool v)
RZ_API PJ * pj_ki(PJ *j, const char *k, int d)
RZ_API PJ * pj_end(PJ *j)
RZ_API PJ * pj_ks(PJ *j, const char *k, const char *v)
RZ_API PJ * pj_kn(PJ *j, const char *k, ut64 n)
RZ_API PJ * pj_kN(PJ *j, const char *k, st64 n)
#define RZ_PRINT_FLAGS_HEADER
RZ_API const char * rz_str_rwx_i(int rwx)
static const char * rz_str_get(const char *str)
RZ_API char * rz_str_newf(const char *fmt,...) RZ_PRINTF_CHECK(1
RZ_API int rz_str_rwx(const char *str)
RZ_API char * rz_str_array_join(const char **a, size_t n, const char *sep)
RZ_API int rz_str_replace_char(char *s, int a, int b)
#define rz_strf(buf,...)
Convenience macro for local temporary strings.
RZ_API void rz_table_visual_list(RzTable *table, RzList *list, ut64 seek, ut64 len, int width, bool va)
RZ_API void rz_table_add_rowf(RzTable *t, const char *fmt,...)
RZ_API void rz_table_free(RzTable *t)
RZ_API char * rz_table_tostring(RzTable *t)
@ RZ_OUTPUT_MODE_QUIETEST
@ RZ_OUTPUT_MODE_STANDARD
#define rz_pvector_foreach_prev(vec, it)
#define rz_pvector_foreach(vec, it)
RZ_API char * sdb_itoa(ut64 n, char *s, int base)
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
static struct sockaddr static addrlen static backlog const void static flags void flags
ut64 baseaddr
where the linker maps the binary in memory
XX curplugin == o->plugin.
int fd
when used in combination with RzIO, this refers to the io fd.
RzBinObjectLoadOptions opts
Represent the output state of a command handler.
RzCoreTaskScheduler tasks
struct rz_core_task_t * current_task
struct rz_core_task_t * main_task
struct rz_io_desc_t * desc
RZ_API void rz_core_task_sync_end(RzCoreTaskScheduler *scheduler)
RZ_API void rz_core_task_sync_begin(RzCoreTaskScheduler *scheduler)
RZ_API RzListInfo * rz_listinfo_new(const char *name, RzInterval pitv, RzInterval vitv, int perm, const char *extra)
RZ_API void rz_listinfo_free(RzListInfo *info)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
static const z80_opcode fd[]