diff options
Diffstat (limited to 'plugins/arm/v7/operands')
-rw-r--r-- | plugins/arm/v7/operands/estate.c | 5 | ||||
-rw-r--r-- | plugins/arm/v7/operands/iflags.c | 5 | ||||
-rw-r--r-- | plugins/arm/v7/operands/it.c | 5 | ||||
-rw-r--r-- | plugins/arm/v7/operands/limitation.c | 5 | ||||
-rw-r--r-- | plugins/arm/v7/operands/maccess.c | 11 | ||||
-rw-r--r-- | plugins/arm/v7/operands/offset.c | 7 | ||||
-rw-r--r-- | plugins/arm/v7/operands/register.c | 7 | ||||
-rw-r--r-- | plugins/arm/v7/operands/reglist.c | 7 | ||||
-rw-r--r-- | plugins/arm/v7/operands/rotation.c | 7 | ||||
-rw-r--r-- | plugins/arm/v7/operands/shift.c | 7 |
10 files changed, 28 insertions, 38 deletions
diff --git a/plugins/arm/v7/operands/estate.c b/plugins/arm/v7/operands/estate.c index 8460375..281f02b 100644 --- a/plugins/arm/v7/operands/estate.c +++ b/plugins/arm/v7/operands/estate.c @@ -63,7 +63,7 @@ static void g_armv7_endian_operand_finalize(GArmV7EndianOperand *); static int g_armv7_endian_operand_compare(const GArmV7EndianOperand *, const GArmV7EndianOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_endian_operand_print(const GArmV7EndianOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_endian_operand_print(const GArmV7EndianOperand *, GBufferLine *); @@ -198,7 +198,6 @@ static int g_armv7_endian_operand_compare(const GArmV7EndianOperand *a, const GA * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -208,7 +207,7 @@ static int g_armv7_endian_operand_compare(const GArmV7EndianOperand *a, const GA * * ******************************************************************************/ -static void g_armv7_endian_operand_print(const GArmV7EndianOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_endian_operand_print(const GArmV7EndianOperand *operand, GBufferLine *line) { if (operand->big) g_buffer_line_append_text(line, BLC_ASSEMBLY, "BE", 2, RTT_KEY_WORD, NULL); diff --git a/plugins/arm/v7/operands/iflags.c b/plugins/arm/v7/operands/iflags.c index e7b1b41..5c3e9ca 100644 --- a/plugins/arm/v7/operands/iflags.c +++ b/plugins/arm/v7/operands/iflags.c @@ -61,7 +61,7 @@ static void g_armv7_iflags_operand_dispose(GArmV7IFlagsOperand *); static void g_armv7_iflags_operand_finalize(GArmV7IFlagsOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_iflags_operand_print(const GArmV7IFlagsOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_iflags_operand_print(const GArmV7IFlagsOperand *, GBufferLine *); @@ -175,7 +175,6 @@ static void g_armv7_iflags_operand_finalize(GArmV7IFlagsOperand *operand) * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -185,7 +184,7 @@ static void g_armv7_iflags_operand_finalize(GArmV7IFlagsOperand *operand) * * ******************************************************************************/ -static void g_armv7_iflags_operand_print(const GArmV7IFlagsOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_iflags_operand_print(const GArmV7IFlagsOperand *operand, GBufferLine *line) { if (operand->abort_bit) g_buffer_line_append_text(line, BLC_ASSEMBLY, "A", 1, RTT_REGISTER, NULL); diff --git a/plugins/arm/v7/operands/it.c b/plugins/arm/v7/operands/it.c index f8232d1..52ae3c9 100644 --- a/plugins/arm/v7/operands/it.c +++ b/plugins/arm/v7/operands/it.c @@ -67,7 +67,7 @@ static void g_armv7_itcond_operand_finalize(GArmV7ITCondOperand *); static int g_armv7_itcond_operand_compare(const GArmV7ITCondOperand *, const GArmV7ITCondOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_itcond_operand_print(const GArmV7ITCondOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_itcond_operand_print(const GArmV7ITCondOperand *, GBufferLine *); @@ -205,7 +205,6 @@ static int g_armv7_itcond_operand_compare(const GArmV7ITCondOperand *a, const GA * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -215,7 +214,7 @@ static int g_armv7_itcond_operand_compare(const GArmV7ITCondOperand *a, const GA * * ******************************************************************************/ -static void g_armv7_itcond_operand_print(const GArmV7ITCondOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_itcond_operand_print(const GArmV7ITCondOperand *operand, GBufferLine *line) { const char *kw; /* Mot clef à imprimer */ diff --git a/plugins/arm/v7/operands/limitation.c b/plugins/arm/v7/operands/limitation.c index 6ed32fb..a89cbff 100644 --- a/plugins/arm/v7/operands/limitation.c +++ b/plugins/arm/v7/operands/limitation.c @@ -63,7 +63,7 @@ static void g_armv7_limitation_operand_finalize(GArmV7LimitationOperand *); static int g_armv7_limitation_operand_compare(const GArmV7LimitationOperand *, const GArmV7LimitationOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_limitation_operand_print(const GArmV7LimitationOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_limitation_operand_print(const GArmV7LimitationOperand *, GBufferLine *); @@ -198,7 +198,6 @@ static int g_armv7_limitation_operand_compare(const GArmV7LimitationOperand *a, * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -208,7 +207,7 @@ static int g_armv7_limitation_operand_compare(const GArmV7LimitationOperand *a, * * ******************************************************************************/ -static void g_armv7_limitation_operand_print(const GArmV7LimitationOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_limitation_operand_print(const GArmV7LimitationOperand *operand, GBufferLine *line) { switch (operand->type) { diff --git a/plugins/arm/v7/operands/maccess.c b/plugins/arm/v7/operands/maccess.c index f5307f7..392bae0 100644 --- a/plugins/arm/v7/operands/maccess.c +++ b/plugins/arm/v7/operands/maccess.c @@ -67,7 +67,7 @@ static void g_armv7_maccess_operand_finalize(GArmV7MAccessOperand *); static int g_armv7_maccess_operand_compare(const GArmV7MAccessOperand *, const GArmV7MAccessOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *, GBufferLine *); @@ -228,7 +228,6 @@ static int g_armv7_maccess_operand_compare(const GArmV7MAccessOperand *a, const * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -238,11 +237,11 @@ static int g_armv7_maccess_operand_compare(const GArmV7MAccessOperand *a, const * * ******************************************************************************/ -static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, GBufferLine *line) { g_buffer_line_append_text(line, BLC_ASSEMBLY, "[", 1, RTT_HOOK, NULL); - g_arch_operand_print(operand->base, line, syntax); + g_arch_operand_print(operand->base, line); if (operand->post_indexed) g_buffer_line_append_text(line, BLC_ASSEMBLY, "]", 1, RTT_HOOK, NULL); @@ -252,7 +251,7 @@ static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, G g_buffer_line_append_text(line, BLC_ASSEMBLY, ",", 1, RTT_PUNCT, NULL); g_buffer_line_append_text(line, BLC_ASSEMBLY, " ", 1, RTT_RAW, NULL); - g_arch_operand_print(operand->offset, line, syntax); + g_arch_operand_print(operand->offset, line); } @@ -261,7 +260,7 @@ static void g_armv7_maccess_operand_print(const GArmV7MAccessOperand *operand, G g_buffer_line_append_text(line, BLC_ASSEMBLY, ",", 1, RTT_PUNCT, NULL); g_buffer_line_append_text(line, BLC_ASSEMBLY, " ", 1, RTT_RAW, NULL); - g_arch_operand_print(operand->shift, line, syntax); + g_arch_operand_print(operand->shift, line); } diff --git a/plugins/arm/v7/operands/offset.c b/plugins/arm/v7/operands/offset.c index ffa3fac..c78b3f1 100644 --- a/plugins/arm/v7/operands/offset.c +++ b/plugins/arm/v7/operands/offset.c @@ -64,7 +64,7 @@ static void g_armv7_offset_operand_finalize(GArmV7OffsetOperand *); static int g_armv7_offset_operand_compare(const GArmV7OffsetOperand *, const GArmV7OffsetOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_offset_operand_print(const GArmV7OffsetOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_offset_operand_print(const GArmV7OffsetOperand *, GBufferLine *); @@ -208,7 +208,6 @@ static int g_armv7_offset_operand_compare(const GArmV7OffsetOperand *a, const GA * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -218,12 +217,12 @@ static int g_armv7_offset_operand_compare(const GArmV7OffsetOperand *a, const GA * * ******************************************************************************/ -static void g_armv7_offset_operand_print(const GArmV7OffsetOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_offset_operand_print(const GArmV7OffsetOperand *operand, GBufferLine *line) { if (!operand->positive) g_buffer_line_append_text(line, BLC_ASSEMBLY, "-", 1, RTT_KEY_WORD, NULL); - g_arch_operand_print(operand->value, line, syntax); + g_arch_operand_print(operand->value, line); } diff --git a/plugins/arm/v7/operands/register.c b/plugins/arm/v7/operands/register.c index 80a3769..3699197 100644 --- a/plugins/arm/v7/operands/register.c +++ b/plugins/arm/v7/operands/register.c @@ -62,7 +62,7 @@ static void g_armv7_register_operand_dispose(GArmV7RegisterOperand *); static void g_armv7_register_operand_finalize(GArmV7RegisterOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_register_operand_print(const GArmV7RegisterOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_register_operand_print(const GArmV7RegisterOperand *, GBufferLine *); @@ -174,7 +174,6 @@ static void g_armv7_register_operand_finalize(GArmV7RegisterOperand *operand) * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -184,13 +183,13 @@ static void g_armv7_register_operand_finalize(GArmV7RegisterOperand *operand) * * ******************************************************************************/ -static void g_armv7_register_operand_print(const GArmV7RegisterOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_register_operand_print(const GArmV7RegisterOperand *operand, GBufferLine *line) { GArchOperandClass *parent; /* Classe parente */ parent = G_ARCH_OPERAND_CLASS(g_armv7_register_operand_parent_class); - parent->print(G_ARCH_OPERAND(operand), line, syntax); + parent->print(G_ARCH_OPERAND(operand), line); if (operand->write_back) g_buffer_line_append_text(line, BLC_ASSEMBLY, "!", 1, RTT_PUNCT, NULL); diff --git a/plugins/arm/v7/operands/reglist.c b/plugins/arm/v7/operands/reglist.c index 53b24a4..9b6aaa7 100644 --- a/plugins/arm/v7/operands/reglist.c +++ b/plugins/arm/v7/operands/reglist.c @@ -73,7 +73,7 @@ static void g_armv7_reglist_operand_finalize(GArmV7RegListOperand *); static int g_armv7_reglist_operand_compare(const GArmV7RegListOperand *, const GArmV7RegListOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_reglist_operand_print(const GArmV7RegListOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_reglist_operand_print(const GArmV7RegListOperand *, GBufferLine *); @@ -240,7 +240,6 @@ static int g_armv7_reglist_operand_compare(const GArmV7RegListOperand *a, const * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -250,7 +249,7 @@ static int g_armv7_reglist_operand_compare(const GArmV7RegListOperand *a, const * * ******************************************************************************/ -static void g_armv7_reglist_operand_print(const GArmV7RegListOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_reglist_operand_print(const GArmV7RegListOperand *operand, GBufferLine *line) { size_t i; /* Boucle de parcours */ @@ -264,7 +263,7 @@ static void g_armv7_reglist_operand_print(const GArmV7RegListOperand *operand, G g_buffer_line_append_text(line, BLC_ASSEMBLY, " ", 1, RTT_RAW, NULL); } - g_arch_register_print(G_ARCH_REGISTER(operand->registers[i]), line, syntax); + g_arch_register_print(G_ARCH_REGISTER(operand->registers[i]), line); } diff --git a/plugins/arm/v7/operands/rotation.c b/plugins/arm/v7/operands/rotation.c index c091044..fcde0d9 100644 --- a/plugins/arm/v7/operands/rotation.c +++ b/plugins/arm/v7/operands/rotation.c @@ -62,7 +62,7 @@ static void g_armv7_rotation_operand_finalize(GArmV7RotationOperand *); static int g_armv7_rotation_operand_compare(const GArmV7RotationOperand *, const GArmV7RotationOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_rotation_operand_print(const GArmV7RotationOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_rotation_operand_print(const GArmV7RotationOperand *, GBufferLine *); @@ -201,7 +201,6 @@ static int g_armv7_rotation_operand_compare(const GArmV7RotationOperand *a, cons * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -211,13 +210,13 @@ static int g_armv7_rotation_operand_compare(const GArmV7RotationOperand *a, cons * * ******************************************************************************/ -static void g_armv7_rotation_operand_print(const GArmV7RotationOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_rotation_operand_print(const GArmV7RotationOperand *operand, GBufferLine *line) { g_buffer_line_append_text(line, BLC_ASSEMBLY, "ror", 3, RTT_KEY_WORD, NULL); g_buffer_line_append_text(line, BLC_ASSEMBLY, " ", 1, RTT_RAW, NULL); - g_arch_operand_print(operand->value, line, syntax); + g_arch_operand_print(operand->value, line); } diff --git a/plugins/arm/v7/operands/shift.c b/plugins/arm/v7/operands/shift.c index e0637ee..b13b361 100644 --- a/plugins/arm/v7/operands/shift.c +++ b/plugins/arm/v7/operands/shift.c @@ -64,7 +64,7 @@ static void g_armv7_shift_operand_finalize(GArmV7ShiftOperand *); static int g_armv7_shift_operand_compare(const GArmV7ShiftOperand *, const GArmV7ShiftOperand *); /* Traduit un opérande en version humainement lisible. */ -static void g_armv7_shift_operand_print(const GArmV7ShiftOperand *, GBufferLine *, AsmSyntax); +static void g_armv7_shift_operand_print(const GArmV7ShiftOperand *, GBufferLine *); @@ -208,7 +208,6 @@ static int g_armv7_shift_operand_compare(const GArmV7ShiftOperand *a, const GArm * * * Paramètres : operand = opérande à traiter. * * line = ligne tampon où imprimer l'opérande donné. * -* syntax = type de représentation demandée. * * * * Description : Traduit un opérande en version humainement lisible. * * * @@ -218,7 +217,7 @@ static int g_armv7_shift_operand_compare(const GArmV7ShiftOperand *a, const GArm * * ******************************************************************************/ -static void g_armv7_shift_operand_print(const GArmV7ShiftOperand *operand, GBufferLine *line, AsmSyntax syntax) +static void g_armv7_shift_operand_print(const GArmV7ShiftOperand *operand, GBufferLine *line) { switch (operand->shift_type) { @@ -241,7 +240,7 @@ static void g_armv7_shift_operand_print(const GArmV7ShiftOperand *operand, GBuff g_buffer_line_append_text(line, BLC_ASSEMBLY, " ", 1, RTT_RAW, NULL); - g_arch_operand_print(operand->shift_value, line, syntax); + g_arch_operand_print(operand->shift_value, line); } |