24 if (
h->name && !strcmp(
str,
h->name)) {
33 if (new_plugin ==
dbg->
cur) {
69 eprintf(
"rz_debug_plugin_set_reg_profile: Cannot find '%s'\n", profile);
#define RZ_DEBUG_STATIC_PLUGINS
RZ_API bool rz_debug_reg_profile_sync(RzDebug *dbg)
RZ_API void Ht_() free(HtName_(Ht) *ht)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
RZ_API bool rz_debug_set_arch(RzDebug *dbg, const char *arch, int bits)
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 bool rz_debug_use(RzDebug *dbg, const char *str)
static RzDebugPlugin * debug_static_plugins[]
RZ_API void rz_debug_plugin_init(RzDebug *dbg)
RZ_API bool rz_debug_plugin_add(RzDebug *dbg, RzDebugPlugin *foo)
RZ_API bool rz_debug_plugin_set_reg_profile(RzDebug *dbg, const char *profile)
#define rz_return_val_if_fail(expr, val)
RZ_API RZ_OWN char * rz_file_slurp(const char *str, RZ_NULLABLE size_t *usz)
struct rz_analysis_plugin_t * cur
RzBreakpointCallback breakpoint
void(* fini)(RzDebug *debug, void *user)
RzBreakpointCallback breakpoint
int(* set_reg_profile)(RzDebug *dbg, const char *str)
bool(* init)(RzDebug *dbg, void **user)
struct rz_debug_plugin_t * cur