diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2016-01-12 22:10:09 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2016-01-12 22:10:09 (GMT) | 
| commit | 2ddb5c26af896b10517a89abf0c9498c598b7697 (patch) | |
| tree | ecc094327051f2b7ec5846879e31c5c13d7a9d97 /src/arch/processor.c | |
| parent | 9dad150aedfae6423f1166665d47674df51014d2 (diff) | |
Disabled the old way to disassemble instructions.
Diffstat (limited to 'src/arch/processor.c')
| -rw-r--r-- | src/arch/processor.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/arch/processor.c b/src/arch/processor.c index cb00a2d..91f9821 100644 --- a/src/arch/processor.c +++ b/src/arch/processor.c @@ -45,7 +45,6 @@ -#include "artificial.h" @@ -250,6 +249,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 end, vmpa_t addr, GBinFormat *format)  { +#if 0      GArchInstruction *result;               /* Instruction à renvoyer      */      off_t old_pos;                          /* Sauvegarde de la position   */      bool skipped;                           /* Données prise en compte ?   */ @@ -276,6 +276,9 @@ GArchInstruction *g_arch_processor_decode_instruction(const GArchProcessor *proc      //g_arch_instruction_set_location(result, old_pos, *pos - old_pos, addr);      return result; +#endif + +    return NULL;  } | 
