Merge pull request #650 from ConsenSys/hotfix/variable_name

fix missing call variable
pull/656/head
Nikhil Parasaram 6 years ago committed by GitHub
commit 412e5bb3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      mythril/analysis/modules/dependence_on_predictable_vars.py

@ -66,7 +66,7 @@ def execute(statespace):
function_name=call.node.function_name, function_name=call.node.function_name,
address=address, address=address,
swc_id=swc_type, swc_id=swc_type,
bytecode=state.environment.code.bytecode, bytecode=call.state.environment.code.bytecode,
title="Dependence on predictable environment variable", title="Dependence on predictable environment variable",
_type="Warning", _type="Warning",
description=description, description=description,
@ -144,7 +144,7 @@ def execute(statespace):
contract=call.node.contract_name, contract=call.node.contract_name,
function_name=call.node.function_name, function_name=call.node.function_name,
address=address, address=address,
bytecode=state.environment.code.bytecode, bytecode=call.state.environment.code.bytecode,
title="Dependence on predictable variable", title="Dependence on predictable variable",
_type="Informational", _type="Informational",
description=description, description=description,

Loading…
Cancel
Save