Skip to content

Commit

Permalink
source/tools/runOyente: Ignore AssertionFailure and MoneyConcurrency.
Browse files Browse the repository at this point in the history
Return real Oyente exit code.

Refs: AugurProject#689
  • Loading branch information
cryptomental committed Jul 9, 2018
1 parent 5e678bb commit e5877c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/tools/runOyente.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ def main():
root.addHandler(ch)

global_params.CHECK_ASSERTIONS = 1
global_params.IGNORE_VULNERABILITIES = ["AssertionFailure", "MoneyConcurrency"]
global_params.DEBUG_MODE = 1

results, exit_code = run_solidity_analysis(inputs)

if input_args.analyze:
analyze_results(results)

# We have a bunch of stuff that is erroneous at the moment
exit(0)
exit(exit_code)

def generate_inputs():
inputs = []
Expand Down

0 comments on commit e5877c3

Please sign in to comment.