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

fix: jumpi coverage condition matches evm #485

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

plotchy
Copy link
Contributor

@plotchy plotchy commented May 21, 2024

We use is_zero to convert EVM values to a rust bool. We need to reverse it afterwards to match the jumping expectation.

EVM 0 -> no jump -> condition == false
EVM non-zero -> jump -> condition == true

@publicqi publicqi merged commit 2ffa214 into fuzzland:master May 22, 2024
1 check failed
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.

2 participants