diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2008-09-11 22:25:26 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2008-09-11 22:25:26 (GMT) |
commit | ab1489b6a6ef1f09957f6f805f143fceb42f6a08 (patch) | |
tree | fd751d69dfde0539e9beb79cf33377572a3c36a2 /src/arch/processor.c | |
parent | 15387adcbd3e27fe581754c0ee56edc64272d58e (diff) |
Provided capabilities to resolve symbols for given addresses.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@29 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/processor.c')
-rw-r--r-- | src/arch/processor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/processor.c b/src/arch/processor.c index 31cfb3e..0afca2c 100644 --- a/src/arch/processor.c +++ b/src/arch/processor.c @@ -74,6 +74,7 @@ asm_instr *decode_instruction(const asm_processor *proc, const uint8_t *data, of /****************************************************************************** * * * Paramètres : proc = architecture visée par la procédure. * +* format = format du binaire manipulé. * * instr = instruction à traiter. * * buffer = tampon de sortie mis à disposition. [OUT] * * len = taille de ce tampon. * @@ -87,9 +88,9 @@ asm_instr *decode_instruction(const asm_processor *proc, const uint8_t *data, of * * ******************************************************************************/ -void print_hinstruction(const asm_processor *proc, const asm_instr *instr, char *buffer, size_t len, AsmSyntax syntax) +void print_hinstruction(const asm_processor *proc, const exe_format *format, const asm_instr *instr, char *buffer, size_t len, AsmSyntax syntax) { - proc->print_instr(proc, instr, buffer, len, syntax); + proc->print_instr(proc, format, instr, buffer, len, syntax); } |