summaryrefslogtreecommitdiff
path: root/plugins/lnxsyscalls
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-19 20:00:40 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-19 20:00:40 (GMT)
commit12abead3f60d6f72c0d41672af87215dfc13c8fc (patch)
tree3fda90b6e1b439644a39730ae8935c74da1f2d44 /plugins/lnxsyscalls
parent79ae70be75b534c18fbfce38294f5ba7feef0e11 (diff)
Deleted all references to any asm syntax.
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)