Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | CB(x, y) |
#define | rz_io_add rz_io_plugin_add |
#define | rz_debug_add rz_debug_plugin_add |
#define | rz_bp_add rz_bp_plugin_add |
#define | rz_bin_add rz_bin_plugin_add |
#define | rz_hash_add rz_hash_plugin_add |
#define | DF(x, y, z) rz_lib_add_handler(core->lib, RZ_LIB_TYPE_##x, y, &__lib_##z##_cb, &__lib_##z##_dt, core); |
Functions | |
static int | __lib_demangler_cb (RzLibPlugin *pl, void *user, void *data) |
static int | __lib_demangler_dt (RzLibPlugin *pl, void *p, void *u) |
static int | __lib_core_cb (RzLibPlugin *pl, void *user, void *data) |
static int | __lib_core_dt (RzLibPlugin *pl, void *p, void *u) |
static void | loadSystemPlugins (RzCore *core, int where) |
RZ_API void | rz_core_loadlibs_init (RzCore *core) |
static bool | __isScriptFilename (const char *name) |
RZ_API int | rz_core_loadlibs (RzCore *core, int where) |
#define CB | ( | x, | |
y | |||
) |
#define DF | ( | x, | |
y, | |||
z | |||
) | rz_lib_add_handler(core->lib, RZ_LIB_TYPE_##x, y, &__lib_##z##_cb, &__lib_##z##_dt, core); |
#define rz_bin_add rz_bin_plugin_add |
#define rz_bp_add rz_bp_plugin_add |
#define rz_debug_add rz_debug_plugin_add |
#define rz_hash_add rz_hash_plugin_add |
#define rz_io_add rz_io_plugin_add |
Definition at line 108 of file libs.c.
References ext, and rz_str_lchr().
Referenced by rz_core_loadlibs().
|
static |
Definition at line 30 of file libs.c.
References NULL, pl, and rz_core_plugin_add().
|
static |
|
static |
Definition at line 20 of file libs.c.
References rz_core_t::bin, rz_bin_t::demangler, and rz_demangler_plugin_add().
|
static |
Definition at line 58 of file libs.c.
References free(), p, rz_config_get(), RZ_HOME_OLD_PLUGINS, RZ_LIB_ENV, rz_lib_opendir(), rz_path_home_prefix(), rz_path_system(), RZ_PLUGINS, and rz_sys_getenv().
Referenced by rz_core_loadlibs().
Definition at line 119 of file libs.c.
References __isScriptFilename(), rz_core_t::config, eprintf, file, files, free(), rz_core_times_t::loadlibs_time, loadSystemPlugins(), rz_config_get_i(), rz_core_run_script(), rz_list_free(), rz_path_home_prefix(), RZ_PLUGINS, rz_str_newf(), rz_sys_dir(), rz_time_now_mono(), rz_core_t::times, and ut64().
Referenced by rz_diff_load_file_with_core(), rz_main_rizin(), and rz_main_rz_sign().
Definition at line 89 of file libs.c.
References CORE, debug, DF, rz_core_t::lib, rz_core_times_t::loadlibs_init_time, NULL, rz_lib_new(), rz_time_now_mono(), rz_core_t::times, and ut64().
Referenced by rz_core_init().