summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-01 00:53:14 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-01 00:53:14 (GMT)
commit7162a683b66b02c16b42a177600468a1ff56149d (patch)
tree23d5119850d049f38182ce8b3b956a44233d8906 /src/arch/arm/v7
parent792b330c1bbe573a591687d25e14d4cd1eccd3c6 (diff)
Defined all Dalvik instructions to get generated by d2c.
Diffstat (limited to 'src/arch/arm/v7')
-rw-r--r--src/arch/arm/v7/processor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/arm/v7/processor.c b/src/arch/arm/v7/processor.c
index 195b87c..e9781f3 100644
--- a/src/arch/arm/v7/processor.c
+++ b/src/arch/arm/v7/processor.c
@@ -68,7 +68,7 @@ static void g_armv7_processor_finalize(GArmV7Processor *);
static GArmV7Context *g_armv7_processor_get_context(const GArmV7Processor *);
/* Décode une instruction dans un flux de données. */
-static GArchInstruction *g_armv7_processor_disassemble(const GArmV7Processor *, GArmV7Context *, const GBinContent *, vmpa2t *);
+static GArchInstruction *g_armv7_processor_disassemble(const GArmV7Processor *, GArmV7Context *, const GBinContent *, vmpa2t *, GExeFormat *);
@@ -222,6 +222,7 @@ static GArmV7Context *g_armv7_processor_get_context(const GArmV7Processor *proc)
* ctx = contexte lié à l'exécution du processeur. *
* content = flux de données à analyser. *
* pos = position courante dans ce flux. [OUT] *
+* format = format du fichier contenant le code. *
* *
* Description : Désassemble une instruction dans un flux de données. *
* *
@@ -231,7 +232,7 @@ static GArmV7Context *g_armv7_processor_get_context(const GArmV7Processor *proc)
* *
******************************************************************************/
-static GArchInstruction *g_armv7_processor_disassemble(const GArmV7Processor *proc, GArmV7Context *ctx, const GBinContent *content, vmpa2t *pos)
+static GArchInstruction *g_armv7_processor_disassemble(const GArmV7Processor *proc, GArmV7Context *ctx, const GBinContent *content, vmpa2t *pos, GExeFormat *format)
{
GArchInstruction *result; /* Instruction à renvoyer */
SourceEndian endian; /* Boutisme des données lues */