We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a3691 commit 838732eCopy full SHA for 838732e
src/anal_ghidra.cpp
@@ -1,4 +1,4 @@
1
-/* r2ghidra - LGPL - Copyright 2020-2023 - pancake, FXTi */
+/* r2ghidra - LGPL - Copyright 2020-2024 - pancake, FXTi */
2
3
#include <r_lib.h>
4
#include <r_anal.h>
@@ -2211,7 +2211,7 @@ extern "C" RList *r2ghidra_preludes(RArchSession *as) {
2211
}
2212
r_list_foreach (as->arch->plugins, iter, _plugin) {
2213
RArchPlugin *plugin = (RArchPlugin*)_plugin;
2214
- if (plugin->meta.name && !strcmp (plugin->meta.name, cpu)) {
+ if (plugin->preludes && plugin->meta.name && !strcmp (plugin->meta.name, cpu)) {
2215
return plugin->preludes (as);
2216
2217
0 commit comments