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

Arithmetic operations are not overflow safe in LLVM #27

Open
egroge opened this issue Sep 9, 2020 · 0 comments
Open

Arithmetic operations are not overflow safe in LLVM #27

egroge opened this issue Sep 9, 2020 · 0 comments
Labels
deferred Not a current priority enhancement New feature or request good first issue This should be a good place to get stuck in for beginners

Comments

@egroge
Copy link
Collaborator

egroge commented Sep 9, 2020

There is currently no implementation to check that arithmetic operations avoid overflows when compiling to LLVM. One implementation of this would be for the contract to revert if an operation would cause an overflow.

@egroge egroge added enhancement New feature or request deferred Not a current priority good first issue This should be a good place to get stuck in for beginners labels Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deferred Not a current priority enhancement New feature or request good first issue This should be a good place to get stuck in for beginners
Projects
None yet
Development

No branches or pull requests

1 participant