diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2015-01-24 11:19:32 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2015-01-24 11:19:32 (GMT) | 
| commit | 141d2f0fbb2ce3b4ddf85383c55b891fd59dc598 (patch) | |
| tree | 085fa1a20d77f86825e1a6f4215b1ffd8fd961e8 /src/arch/arm/v7/processor.c | |
| parent | 3df9f6dc8548b0562312036abfbfcf9850a81041 (diff) | |
Introduced conditional calls in instruction definition rules.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@459 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/processor.c')
| -rw-r--r-- | src/arch/arm/v7/processor.c | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/src/arch/arm/v7/processor.c b/src/arch/arm/v7/processor.c index d83c36d..3464214 100644 --- a/src/arch/arm/v7/processor.c +++ b/src/arch/arm/v7/processor.c @@ -231,8 +231,7 @@ static GArmV7Context *g_armv7_processor_get_context(const GArmV7Processor *proc)  *  Remarques   : -                                                            *  *                                                                             *  ******************************************************************************/ -#include "link.h" -#include "post.h" +  static GArchInstruction *g_armv7_processor_disassemble(const GArmV7Processor *proc, GArmV7Context *ctx, const bin_t *data, vmpa2t *pos, phys_t end)  {      GArchInstruction *result;               /* Instruction à renvoyer      */ @@ -297,11 +296,11 @@ static GArchInstruction *g_armv7_processor_disassemble(const GArmV7Processor *pr      if (result != NULL)          advance_vmpa(pos, diff); - +    /*      else          result = g_raw_instruction_new_array(data, MDS_32_BITS, 1, pos, end,                                               G_ARCH_PROCESSOR(proc)->endianness); - +    */      return result;  } | 
