diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/analysis/disass/links.c | 1 | ||||
-rw-r--r-- | src/arch/instruction.h | 1 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,11 @@ +17-03-08 Cyrille Bagard <nocbos@gmail.com> + + * src/analysis/disass/links.c: + Update code. + + * src/arch/instruction.h: + Remove the instruction link type meaning there is no link. + 17-03-07 Cyrille Bagard <nocbos@gmail.com> * plugins/pychrysa/arch/instruction.c: diff --git a/src/analysis/disass/links.c b/src/analysis/disass/links.c index abe26d6..295b4b6 100644 --- a/src/analysis/disass/links.c +++ b/src/analysis/disass/links.c @@ -132,7 +132,6 @@ void establish_natural_link(GArchInstruction *instr, GArchInstruction *prev) for (i = 0; i < count; i++) switch (others[i].type) { - case ILT_NONE: case ILT_EXEC_FLOW: assert(false); break; diff --git a/src/arch/instruction.h b/src/arch/instruction.h index 9299f8c..4f5a042 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -193,7 +193,6 @@ void _g_arch_instruction_detach_operand(GArchInstruction *, GArchOperand *); /* Typage des instructions rencontrées */ typedef enum _InstructionLinkType { - ILT_NONE, /* Aucune instruction visée */ ILT_EXEC_FLOW, /* Raccord attendu entre blocs */ ILT_JUMP, /* Saut inconditionnel */ ILT_CASE_JUMP, /* Saut suite à aiguillage */ |