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

SSACFGBuilder: Descent into constant condition for loops' conditions #15541

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

clonker
Copy link
Member

@clonker clonker commented Oct 23, 2024

Things like this will not validate otherwise as true has then no literal value id associated to it:

object "object" {
    code {
        {
            for { } true { }
            {
                if iszero(addmod(keccak256(0x0, create(0x0, 0x0, 0x0)), 0x0, 0x0)) { break }
            }
        }
    }
}

@clonker clonker requested a review from r0qs October 23, 2024 09:03
@clonker clonker merged commit 66a1edb into develop Oct 23, 2024
74 checks passed
@clonker clonker deleted the ssa_cfg_builder_constant_condition_for_loop branch October 23, 2024 11:02
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