summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-03-25 12:36:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-03-25 12:36:16 (GMT)
commita174ee784f5d9e554ed09181b8e6d8c0205f8ef5 (patch)
treef5ccfb4c41fcb1f237bc285e8e71bc188b7c8b57 /src/arch
parentbbad297e902022ecac9fab21c01dc109560db8eb (diff)
Scrolled to the selected symbol.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@241 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 */