diff options
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/instruction.c | 5 | ||||
| -rw-r--r-- | src/arch/processor.c | 3 | ||||
| -rw-r--r-- | src/arch/vmpa.c | 2 | ||||
| -rw-r--r-- | src/arch/vmpa.h | 2 | 
4 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c index b895af0..d6bf183 100644 --- a/src/arch/instruction.c +++ b/src/arch/instruction.c @@ -250,9 +250,6 @@ void g_arch_instruction_set_hook(GArchInstruction *instr, InstrProcessHook type,  void g_arch_instruction_call_hook(GArchInstruction *instr, InstrProcessHook type, GArchProcessor *proc, GProcContext *context, GBinFormat *format)  { -    if (instr->range.addr.virtual == 0x83c2) -        printf(" [%u] HAS BRANCH ? %p\n", (unsigned int)type, instr->hooks[type]); -      assert(type < IPH_COUNT);      if (instr->hooks[type] != NULL) @@ -671,7 +668,7 @@ bool g_arch_instruction_has_sources(const GArchInstruction *instr)  *                                                                             *  *  Description : Fournit les origines d'une instruction donnée.               *  *                                                                             * -*  Retour      : Nombre de ces destinations.                                  * +*  Retour      : Nombre de ces origines.                                      *  *                                                                             *  *  Remarques   : -                                                            *  *                                                                             * diff --git a/src/arch/processor.c b/src/arch/processor.c index 86e7845..95176e9 100644 --- a/src/arch/processor.c +++ b/src/arch/processor.c @@ -327,6 +327,9 @@ void g_arch_processor_set_disassembled_instructions(GArchProcessor *proc, GArchI  {      GArchInstruction *iter;                 /* Boucle de parcours          */ +    /* TODO : vider une éventuelle liste existante */ +    /* TODO : incrémenter les références (cf. code Python) */ +      ainstr_list_for_each(iter, list)      {          /* Mise à disposition de d'avantage d'espace */ diff --git a/src/arch/vmpa.c b/src/arch/vmpa.c index b10b007..d966341 100644 --- a/src/arch/vmpa.c +++ b/src/arch/vmpa.c @@ -913,7 +913,7 @@ bool mrange_contains_addr_inclusive(const mrange_t *range, const vmpa2t *addr)  *  Paramètres  : range = zone mémoire à consulter.                            *  *                addr  = localisation mémoire à déterminer.                   *  *                                                                             * -*  Description : Calcule la position extérieure final d'une couverture.       * +*  Description : Calcule la position extérieure finale d'une couverture.      *  *                                                                             *  *  Retour      : -                                                            *  *                                                                             * diff --git a/src/arch/vmpa.h b/src/arch/vmpa.h index 4611ebf..368b765 100644 --- a/src/arch/vmpa.h +++ b/src/arch/vmpa.h @@ -193,7 +193,7 @@ bool mrange_contains_addr(const mrange_t *, const vmpa2t *);  /* Indique si une localisation est incluse dans une zone ou non. */  bool mrange_contains_addr_inclusive(const mrange_t *, const vmpa2t *); -/* Calcule la position extérieure final d'une couverture. */ +/* Calcule la position extérieure finale d'une couverture. */  void compute_mrange_end_addr(const mrange_t *, vmpa2t *);  /* Transforme un emplacement physique en chaîne de caractères. */  | 
