summaryrefslogtreecommitdiff
path: root/plugins/lnxsyscalls/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lnxsyscalls/core.c')
-rw-r--r--plugins/lnxsyscalls/core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/lnxsyscalls/core.c b/plugins/lnxsyscalls/core.c
index 02e109d..314f89f 100644
--- a/plugins/lnxsyscalls/core.c
+++ b/plugins/lnxsyscalls/core.c
@@ -114,11 +114,12 @@ G_MODULE_EXPORT void chrysalide_plugin_process_binary_disassembly(const GPluginM
format = G_BIN_FORMAT(g_loaded_binary_get_format(binary));
- goto pbd_exit;
+ if (g_binary_format_has_flag(format, FFL_RUN_IN_KERNEL_SPACE))
+ goto pbd_exit;
arch = g_exe_format_get_target_machine(G_EXE_FORMAT(format));
- if (strcmp(arch, "armv7") == 0)
+ if (0 && strcmp(arch, "armv7") == 0)
hops = get_armv7_hunting_ops();
else