#include <rz_lib.h>
#include <rz_core.h>
#include <rz_lang.h>
Go to the source code of this file.
◆ lang_lib_file_run()
Definition at line 12 of file lib.c.
38 eprintf(
"Cannot find 'entry' symbol in library\n");
RZ_API void Ht_() free(HtName_(Ht) *ht)
RZ_API void * rz_lib_dl_sym(void *handler, const char *name)
RZ_API void * rz_lib_dl_open(const char *libname)
RZ_API int rz_lib_dl_close(void *handler)
RZ_API bool rz_file_exists(const char *str)
RZ_API char * rz_str_appendf(char *ptr, const char *fmt,...) RZ_PRINTF_CHECK(2
RZ_API char * rz_str_new(const char *str)
RZ_API char * rz_str_prepend(char *ptr, const char *string)
RZ_API bool rz_str_startswith(RZ_NONNULL const char *str, RZ_NONNULL const char *needle)
Checks if a string starts with a specifc sequence of characters (case sensitive)
RZ_API bool rz_str_endswith(RZ_NONNULL const char *str, RZ_NONNULL const char *needle)
Checks if a string ends with a specifc sequence of characters (case sensitive)
References eprintf, free(), rz_file_exists(), rz_lib_dl_close(), rz_lib_dl_open(), rz_lib_dl_sym(), RZ_LIB_EXT, rz_str_appendf(), rz_str_endswith(), rz_str_new(), rz_str_prepend(), rz_str_startswith(), and rz_lang_t::user.
◆ lang_lib_init()
Definition at line 8 of file lib.c.
◆ rizin_plugin
Initial value:= {
}
RzLangPlugin rz_lang_plugin_lib
Definition at line 56 of file lib.c.
◆ rz_lang_plugin_lib
Initial value:= {
.name = "lib",
.desc = "Load libs directly into rizin",
.license = "LGPL",
}
static int lang_lib_file_run(RzLang *user, const char *file)
static int lang_lib_init(RzLang *user)
Definition at line 46 of file lib.c.