diff --git a/librz/core/cbin.c b/librz/core/cbin.c index 0e62d8cbbba..b96e6f8570e 100644 --- a/librz/core/cbin.c +++ b/librz/core/cbin.c @@ -2104,7 +2104,7 @@ RZ_IPI void rz_core_bin_entries_print(RzCore *core, RzCmdStateOutput *state) { } static bool isAnExport(RzBinSymbol *s) { - /* workaround for some bin plugs */ + /* workaround for some RzBinPlugins */ if (s->is_imported) { return false; } @@ -2354,6 +2354,7 @@ RZ_IPI void rz_core_bin_main_print(RzCore *core, RzCmdStateOutput *state) { } RZ_IPI void rz_core_bin_relocs_print(RzCore *core, RzCmdStateOutput *state) { + rz_return_if_fail(core &&b state); RzBinFile *bf = rz_bin_cur(core->bin); RzBinObject *o = bf ? bf->o : NULL; if (!o) {