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

Medusa fails to extract values from type max #504

Open
ggrieco-tob opened this issue Nov 4, 2024 · 0 comments
Open

Medusa fails to extract values from type max #504

ggrieco-tob opened this issue Nov 4, 2024 · 0 comments

Comments

@ggrieco-tob
Copy link
Member

This example was extracted from uniswap-v4:

contract C { 
    uint256 c = type(uint160).max;
    function f(uint256 x) public returns(uint){
    	if (x == c)
		assert(false);
    }
}

To reproduce (It was run for a couple of minutes):

medusa fuzz --compilation-target constant.sol --target-contracts C
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

No branches or pull requests

1 participant