summaryrefslogtreecommitdiff
path: root/src/arch/arm/v456
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-07-31 05:53:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-07-31 05:53:06 (GMT)
commita5d8e3fc30cda2e13d30f099e93ab1b182fdc0bd (patch)
treecf183906b2301cd3c726af820292fd0f2458bfa1 /src/arch/arm/v456
parentdc436357ff29158dddd836d368d152d42d5b086b (diff)
Improved the way code is decoded by avoiding to propagate the base address everywhere.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@385 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v456')
-rw-r--r--src/arch/arm/v456/instruction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/v456/instruction.c b/src/arch/arm/v456/instruction.c
index 0ab85c0..3ba3c54 100644
--- a/src/arch/arm/v456/instruction.c
+++ b/src/arch/arm/v456/instruction.c
@@ -509,7 +509,7 @@ static void g_dalvik_instruction_get_rw_registers(const GDalvikInstruction *inst
* *
* Paramètres : data = flux de données à analyser. *
* pos = position courante dans ce flux. *
-* len = taille totale des données à analyser. *
+* end = limite des données à analyser. *
* *
* Description : Recherche l'identifiant de la prochaine instruction. *
* *
@@ -519,7 +519,7 @@ static void g_dalvik_instruction_get_rw_registers(const GDalvikInstruction *inst
* *
******************************************************************************/
-DalvikOpcodes dalvik_guess_next_instruction(const bin_t *data, off_t pos, off_t len)
+DalvikOpcodes dalvik_guess_next_instruction(const bin_t *data, off_t pos, off_t end)
{
DalvikOpcodes result; /* Identifiant à retourner */