summaryrefslogtreecommitdiff
path: root/src/analysis/disass
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/disass')
-rw-r--r--src/analysis/disass/limit.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/analysis/disass/limit.c b/src/analysis/disass/limit.c
index 18d089a..d0959b7 100644
--- a/src/analysis/disass/limit.c
+++ b/src/analysis/disass/limit.c
@@ -58,11 +58,14 @@ void compute_routine_limit(GBinRoutine *routine, GBinRoutine *prev, GArchProcess
start = g_arch_processor_find_instr_by_address(proc, &addr);
-
- /* FIXME ? */
+ /**
+ * On considère que les symboles chargés à partir du format peuvent
+ * être corrompus, potentiellement pour faire planter un analyseur.
+ *
+ * Donc on s'autorise à être prudent.
+ */
if (start == NULL) goto crl_skip;
-
g_arch_instruction_set_flag(start, AIF_ROUTINE_START);
g_object_unref(G_OBJECT(start));