From 4b518508d57d7ede676991b0cb5e94559ac1cae5 Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Tue, 22 Oct 2019 16:26:50 +0100 Subject: [PATCH] called_routines are not stored in context at all. --- src/sixtypical/context.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sixtypical/context.py b/src/sixtypical/context.py index cba38f8..a92c513 100644 --- a/src/sixtypical/context.py +++ b/src/sixtypical/context.py @@ -35,7 +35,6 @@ class AnalysisContext(object): self._terminated = False self._gotos_encountered = set() self._pointer_assoc = dict() - self.called_routines = set() for ref in inputs: if self.is_constant(ref): @@ -80,7 +79,6 @@ class AnalysisContext(object): c._writeable = set(self._writeable) c._pointer_assoc = dict(self._pointer_assoc) c._gotos_encountered = set(self._gotos_encountered) - c.called_routines = set(self.called_routines) return c def update_from(self, other): @@ -96,7 +94,6 @@ class AnalysisContext(object): self._writeable = set(other._writeable) self._terminated = other._terminated self._pointer_assoc = dict(other._pointer_assoc) - self.called_routines = set(other.called_routines) def each_meaningful(self): for ref in self._range.keys():