Run data dependency in all existing functions (including not reacheable)

pull/417/head
Josselin 5 years ago
parent 9a9b26b4b4
commit 9dc9f4c77f
  1. 2
      slither/analyses/data_dependency/data_dependency.py

@ -238,7 +238,7 @@ def compute_dependency_contract(contract, slither):
contract.context[KEY_SSA] = dict() contract.context[KEY_SSA] = dict()
contract.context[KEY_SSA_UNPROTECTED] = dict() contract.context[KEY_SSA_UNPROTECTED] = dict()
for function in contract.all_functions_called: for function in contract.functions + contract.modifiers:
compute_dependency_function(function) compute_dependency_function(function)
propagate_function(contract, function, KEY_SSA, KEY_NON_SSA) propagate_function(contract, function, KEY_SSA, KEY_NON_SSA)

Loading…
Cancel
Save