about summary refs log tree commit diff stats
path: root/miasm2/analysis/depgraph.py
diff options
context:
space:
mode:
authorTim Blazytko <tim.blazytko@rub.de>2015-04-30 23:56:51 +0200
committerTim Blazytko <tim.blazytko@rub.de>2015-04-30 23:56:51 +0200
commitff89418743484934163f530997fda467fc9b4193 (patch)
treefbc2a1a116aecee59863dc97693f0f41e027654d /miasm2/analysis/depgraph.py
parent3cb60d60d2b1527f1f670890252751f07952d518 (diff)
downloadmiasm-ff89418743484934163f530997fda467fc9b4193.tar.gz
miasm-ff89418743484934163f530997fda467fc9b4193.zip
replaced redundant code
Diffstat (limited to '')
-rw-r--r--miasm2/analysis/depgraph.py2
1 files changed, 1 insertions, 1 deletions
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)