summaryrefslogtreecommitdiff
path: root/plugins/stackvars
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/stackvars')
-rw-r--r--plugins/stackvars/stackvars.c6
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");