Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot reproduce doorspoelen.py results #3

Open
Ooqu4 opened this issue Jan 23, 2019 · 0 comments
Open

Cannot reproduce doorspoelen.py results #3

Ooqu4 opened this issue Jan 23, 2019 · 0 comments

Comments

@Ooqu4
Copy link

Ooqu4 commented Jan 23, 2019

Description

When trying to reproduce the result of the doorspoelen.py script (as it is
printed in the paper), I do not get any violations.

How to Reproduce

The UitwerpselenToken contract (from this repository) comes with a pragma solidity ^0.4.13.
Therefore, I downloaded the required version of solc with py-solc:

$ python3 -m solc.install v0.4.13

Then I modified the doorspoelen.py script to use this version of solc.
The adapted script can be found here.

When executing this script, no violations are found:

$ python3 doorspoelen.py
Analysis completed.

Expected behavior

Output with several sections stating with VIOLATION FOUND. Like this:

VIOLATION FOUND:
In line 45:
balanceOf[msg.sender] -= value
(...)
keccac_1461501637330902918203684832716283019655932542975_&
1461501637330902918203684832716283019655932542975_&
caller = 0x0
VIOLATION FOUND:
...

Environment

  • Mythril version: v0.19.11
  • Solidity compiler and version: 0.4.13+commit.0fb4cb1a.Linux.g++
  • Python version: 3.6.7
  • OS and Version: Ubuntu 18.04.1 LTS (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant