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

Support unary operation, MINUS_PRE, on constants #1094

Merged
merged 2 commits into from
Mar 15, 2022
Merged

Conversation

0xalpharush
Copy link
Member

Closes #1080
I added support for in our constant folding for when a negative constant, int a = -7 is negated x[-a].

@0xalpharush 0xalpharush force-pushed the constant_folding_unary branch 2 times, most recently from 5d46817 to cb99caf Compare March 9, 2022 15:16
Copy link
Member

@montyly montyly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add a call to pytest in https://github.com/crytic/slither/blob/master/.github/workflows/

Maybe we can just update https://github.com/crytic/slither/blob/master/.github/workflows/features.yml for now?

@0xalpharush
Copy link
Member Author

We need to add a call to pytest in https://github.com/crytic/slither/blob/master/.github/workflows/

Maybe we can just update https://github.com/crytic/slither/blob/master/.github/workflows/features.yml for now?

Added

@montyly montyly merged commit dd91f77 into dev Mar 15, 2022
@montyly montyly deleted the constant_folding_unary branch March 15, 2022 08:40
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

Successfully merging this pull request may close these issues.

None yet

2 participants