summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/dalvik/pseudo/fill.c4
-rw-r--r--src/arch/dalvik/pseudo/switch.c4
-rw-r--r--src/arch/instruction.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/dalvik/pseudo/fill.c b/src/arch/dalvik/pseudo/fill.c
index 9573000..4582f6c 100644
--- a/src/arch/dalvik/pseudo/fill.c
+++ b/src/arch/dalvik/pseudo/fill.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* fill.c - prise en charge de l'instruction spéciale fill-array-data
*
- * Copyright (C) 2011 Cyrille Bagard
+ * Copyright (C) 2011-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -179,7 +179,7 @@ static void g_dalvik_fill_instr_print(const GDalvikFillInstr *instr, GCodeBuffer
base = G_ARCH_INSTRUCTION(instr);
- line = g_code_buffer_append_new_line(buffer);
+ line = g_code_buffer_append_new_line(buffer, base->address);
/* Adresse virtuelle ou physique */
diff --git a/src/arch/dalvik/pseudo/switch.c b/src/arch/dalvik/pseudo/switch.c
index 30511ac..0a84e9a 100644
--- a/src/arch/dalvik/pseudo/switch.c
+++ b/src/arch/dalvik/pseudo/switch.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* switch.c - prise en charge des instructions spéciales (packed|sparse)switch
*
- * Copyright (C) 2011 Cyrille Bagard
+ * Copyright (C) 2011-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -182,7 +182,7 @@ static void g_dalvik_switch_instr_print(const GDalvikSwitchInstr *instr, GCodeBu
base = G_ARCH_INSTRUCTION(instr);
- line = g_code_buffer_append_new_line(buffer);
+ line = g_code_buffer_append_new_line(buffer, base->address);
/* Adresse virtuelle ou physique */
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index cfc6e20..6bb10e8 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* instruction.c - gestion générique des instructions
*
- * Copyright (C) 2008-2011 Cyrille Bagard
+ * Copyright (C) 2008-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -609,7 +609,7 @@ static void _g_arch_instruction_print(const GArchInstruction *instr, GCodeBuffer
size_t klen; /* Taille de ce mot clef */
size_t j; /* Boucle de parcours #2 */
- line = g_code_buffer_append_new_line(buffer);
+ line = g_code_buffer_append_new_line(buffer, instr->address);
/* Adresse virtuelle ou physique */