diff options
| author | Tim Blazytko <tim.blazytko@rub.de> | 2015-04-30 23:56:51 +0200 |
|---|---|---|
| committer | Tim Blazytko <tim.blazytko@rub.de> | 2015-04-30 23:56:51 +0200 |
| commit | ff89418743484934163f530997fda467fc9b4193 (patch) | |
| tree | fbc2a1a116aecee59863dc97693f0f41e027654d /miasm2/analysis/depgraph.py | |
| parent | 3cb60d60d2b1527f1f670890252751f07952d518 (diff) | |
| download | miasm-ff89418743484934163f530997fda467fc9b4193.tar.gz miasm-ff89418743484934163f530997fda467fc9b4193.zip | |
replaced redundant code
Diffstat (limited to '')
| -rw-r--r-- | miasm2/analysis/depgraph.py | 2 |
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) |