summaryrefslogtreecommitdiff
path: root/plugins/lnxsyscalls
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lnxsyscalls')
-rw-r--r--plugins/lnxsyscalls/hops_armv7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/lnxsyscalls/hops_armv7.c b/plugins/lnxsyscalls/hops_armv7.c
index ebd4b2c..d706a10 100644
--- a/plugins/lnxsyscalls/hops_armv7.c
+++ b/plugins/lnxsyscalls/hops_armv7.c
@@ -93,7 +93,7 @@ static bool is_armv7_linux_syscall(GArchInstruction *instr)
bool result; /* Conclusion à diffuser */
const char *kwd; /* Désignation d'instruction */
- kwd = g_arch_instruction_get_keyword(instr, ASX_INTEL);
+ kwd = g_arch_instruction_get_keyword(instr);
result = (strcmp(kwd, "svc") == 0);
@@ -139,7 +139,7 @@ static bool resolve_armv7_linux_syscall_number(tracked_path *exec, GArchProcesso
if (got_nr)
{
instr = get_register_write_location(exec, 0, reg);
- kwd = g_arch_instruction_get_keyword(instr, ASX_INTEL);
+ kwd = g_arch_instruction_get_keyword(instr);
/* ... et uniquement les instructions 'mov r7, <imm>' */
if (strncmp(kwd, "mov", 3) != 0)