SSA: dont propage read_write info for nodes on PhiCallback instruction

pull/146/head
Josselin 6 years ago
parent fc4ac0c988
commit ff280c2b6f
  1. 2
      slither/core/cfg/node.py

@ -580,6 +580,8 @@ class Node(SourceMapping, ChildFunction):
if not self.expression: if not self.expression:
return return
for ir in self.irs_ssa: for ir in self.irs_ssa:
if isinstance(ir, (PhiCallback)):
continue
self._ssa_vars_read += [v for v in ir.read if isinstance(v, self._ssa_vars_read += [v for v in ir.read if isinstance(v,
(StateIRVariable, (StateIRVariable,
LocalIRVariable))] LocalIRVariable))]

Loading…
Cancel
Save