summaryrefslogtreecommitdiff
path: root/src/arch/dalvik/opcodes/throw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/dalvik/opcodes/throw.c')
-rw-r--r--src/arch/dalvik/opcodes/throw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/dalvik/opcodes/throw.c b/src/arch/dalvik/opcodes/throw.c
index 196f986..18602bc 100644
--- a/src/arch/dalvik/opcodes/throw.c
+++ b/src/arch/dalvik/opcodes/throw.c
@@ -33,7 +33,7 @@
* *
* Paramètres : data = flux de données à analyser. *
* pos = position courante dans ce flux. [OUT] *
-* len = taille totale des données à analyser. *
+* end = limite des données à analyser. *
* addr = adresse virtuelle de l'instruction. *
* proc = architecture ciblée par le désassemblage. *
* fmt = format du fichier contenant le code. *
@@ -46,7 +46,7 @@
* *
******************************************************************************/
-GArchInstruction *dalvik_read_instr_throw(const bin_t *data, off_t *pos, off_t len, vmpa_t addr, const GDalvikProcessor *proc, const GDexFormat *fmt)
+GArchInstruction *dalvik_read_instr_throw(const bin_t *data, off_t *pos, off_t end, vmpa_t addr, const GDalvikProcessor *proc, const GDexFormat *fmt)
{
GArchInstruction *result; /* Instruction à retourner */
SourceEndian endian; /* Boutisme lié au binaire */
@@ -55,7 +55,7 @@ GArchInstruction *dalvik_read_instr_throw(const bin_t *data, off_t *pos, off_t l
endian = g_arch_processor_get_endianness(G_ARCH_PROCESSOR(proc));
- if (!dalvik_read_operands(result, fmt, data, pos, len, endian, DALVIK_OPT_11X))
+ if (!dalvik_read_operands(result, fmt, data, pos, end, endian, DALVIK_OPT_11X))
{
g_object_unref(G_OBJECT(result));
return NULL;