Skip to content

Commit

Permalink
added non reachable fathers to be analyzed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiko7454 committed Jun 22, 2023
1 parent 9c2837d commit ab43894
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions slither/core/dominators/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ def compute_dominance_frontier(nodes: List["Node"]) -> None:
for node in nodes:
if len(node.fathers) >= 2:
for father in node.fathers:
if not father.is_reachable:
continue
runner = father
# Corner case: if there is a if without else
# we need to add update the conditional node
Expand Down

0 comments on commit ab43894

Please sign in to comment.