From 3cb60d60d2b1527f1f670890252751f07952d518 Mon Sep 17 00:00:00 2001 From: Tim Blazytko Date: Thu, 30 Apr 2015 23:53:10 +0200 Subject: fixed typo --- miasm2/analysis/depgraph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'miasm2/analysis/depgraph.py') diff --git a/miasm2/analysis/depgraph.py b/miasm2/analysis/depgraph.py index 19f8e6e8..71dc9315 100644 --- a/miasm2/analysis/depgraph.py +++ b/miasm2/analysis/depgraph.py @@ -495,8 +495,8 @@ class DependencyGraph(object): Following arguments define filters used to generate dependencies @apply_simp: (optional) Apply expr_simp - @follow_mem: (optional) Track memory syntaxically - @follow_call: (optional) Track throught "call" + @follow_mem: (optional) Track memory syntactically + @follow_call: (optional) Track through "call" """ # Init self._ira = ira -- cgit 1.4.1 From ff89418743484934163f530997fda467fc9b4193 Mon Sep 17 00:00:00 2001 From: Tim Blazytko Date: Thu, 30 Apr 2015 23:56:51 +0200 Subject: replaced redundant code --- miasm2/analysis/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miasm2/analysis/depgraph.py') diff --git a/miasm2/analysis/depgraph.py b/miasm2/analysis/depgraph.py index 71dc9315..1b1d7ed4 100644 --- a/miasm2/analysis/depgraph.py +++ b/miasm2/analysis/depgraph.py @@ -562,7 +562,7 @@ class DependencyGraph(object): follow = set() nofollow = set() for expr in exprs: - if isinstance(expr, m2_expr.ExprOp) and expr.op.startswith('call'): + if expr.is_function_call(): nofollow.add(expr) else: follow.add(expr) -- cgit 1.4.1