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

Codesize only modelled as instruction length and missing constants #41

Open
konradweiss opened this issue Jun 29, 2018 · 1 comment
Open

Comments

@konradweiss
Copy link

https://github.com/b-mueller/laser-ethereum/blob/d1231fe94589357642404f8432c1e185888c4d87/laser/ethereum/svm.py#L637

The value loaded from codesize in the svm only counts instructions which is to short considering that the argument for PUSHX are not counted but should. Codesize is used when initializing memory in the constructor for example, depending on the provided (bytecode + encoded_constructor_params)

@JoranHonig
Copy link
Collaborator

Hi LoCorVin, thanks for the report! This project has been moved to the mythril repository, However, since your report is still a valid problem there, I'll move this over: Consensys/mythril#302

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

2 participants