Skip to content

Echidna fails to get certain constants #636

@gustavo-grieco

Description

@gustavo-grieco

Echidna fails to find the input to break this property:

contract C {
    uint x;

    function f(uint i) public {
       x = i;
    }

    function echidna_test() public view returns (bool) {
        return x != uint(-2);
    }
}

This is an slither issue, originally found by @hacker-DOM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions