summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-03-08 06:32:39 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-03-08 06:32:39 (GMT)
commit404c117efa179e61bdae6679b12c1cef1c9c2489 (patch)
tree107970eb6e96e90e78db1dad92d62653c06b68e5
parentc0b4029475158f16f683e4c46a86b28f7a146a1c (diff)
Removed the instruction link type meaning there is no link.
-rw-r--r--ChangeLog8
-rw-r--r--src/analysis/disass/links.c1
-rw-r--r--src/arch/instruction.h1
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6fcb38a..835f35a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 */