diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-03-05 00:17:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-03-05 00:17:30 (GMT) |
commit | 13bd8d546b2de76b1f5a1d758c9e476f7d859f39 (patch) | |
tree | 3d1c7dc3343ad4d460a9245bd2bb138fada611b3 /src/arch/processor.c | |
parent | aba1a14ba28f6df51b3be15648b6f55eea4a0e19 (diff) |
Printed the string values of the Dex pool in the operand rendering.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@237 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/processor.c')
-rw-r--r-- | src/arch/processor.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/processor.c b/src/arch/processor.c index 41b9a66..6063f93 100644 --- a/src/arch/processor.c +++ b/src/arch/processor.c @@ -205,7 +205,8 @@ MemoryDataSize g_arch_processor_get_instruction_size(const GArchProcessor *proc) * pos = position courante dans ce flux. [OUT] * * len = taille totale des données à analyser. * * base = position physique du bloc de code courant. * -* offset = adresse virtuelle de l'instruction. * +* addr = adresse virtuelle de l'instruction. * +* format = format du fichier contenant le code. * * * * Description : Décode une instruction dans un flux de données. * * * @@ -215,7 +216,7 @@ MemoryDataSize g_arch_processor_get_instruction_size(const GArchProcessor *proc) * * ******************************************************************************/ -GArchInstruction *g_arch_processor_decode_instruction(const GArchProcessor *proc, GProcContext *ctx, const bin_t *data, off_t *pos, off_t len, off_t base, vmpa_t addr) +GArchInstruction *g_arch_processor_decode_instruction(const GArchProcessor *proc, GProcContext *ctx, const bin_t *data, off_t *pos, off_t len, off_t base, vmpa_t addr, GBinFormat *format) { GArchInstruction *result; /* Instruction à renvoyer */ off_t old_pos; /* Sauvegarde de la position */ @@ -223,7 +224,7 @@ GArchInstruction *g_arch_processor_decode_instruction(const GArchProcessor *proc old_pos = *pos; - result = proc->decode(proc, ctx, data, pos, len, addr); + result = proc->decode(proc, ctx, data, pos, len, addr, format); if (result == NULL || result == SKIPPED_INSTR) { |