diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-08-30 10:55:45 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-08-30 10:55:45 (GMT) |
commit | ac447bc36e65b91f97434cf2613ccb1e768267e0 (patch) | |
tree | 471f3b49629269d7ea44a6ea8b9177fe7e437817 /plugins/stackvars | |
parent | 184249f07fb32fb2449723f5f94ce221015231b7 (diff) |
Rendered using the GTK buffer (crappy version).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@107 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/stackvars')
-rw-r--r-- | plugins/stackvars/stackvars.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/stackvars/stackvars.c b/plugins/stackvars/stackvars.c index 5d0da59..32535e9 100644 --- a/plugins/stackvars/stackvars.c +++ b/plugins/stackvars/stackvars.c @@ -232,8 +232,8 @@ static GArchOperand *replace_stack_vars_in_operand(const GArchOperand *operand) { GArchOperand *result; /* Encapsulation à retourner */ uint8_t scale; /* Puissance de deux */ - x86_register *index; /* Registre servant d'indice */ - x86_register *base; /* Registre de base */ + GX86Register *index; /* Registre servant d'indice */ + GX86Register *base; /* Registre de base */ GImmOperand *displacement; /* Décallage supplémentaire */ result = NULL; @@ -244,7 +244,7 @@ static GArchOperand *replace_stack_vars_in_operand(const GArchOperand *operand) base = g_x86_mod_rm_operand_get_base(G_X86_MOD_RM_OPERAND(operand)); displacement = g_x86_mod_rm_operand_get_displacement(G_X86_MOD_RM_OPERAND(operand)); - if (scale == 0 && is_x86_register_base_pointer(index) && base == NULL) + if (scale == 0 && g_x86_register_is_base_pointer(index) && base == NULL) { printf(" [+] found one ebp !!\n"); |