You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey so I as testing out Pyrometer and used it against the backdoor example that the foundry fuzzer can't find in the hopes that it would pick up the constraints required to reach the execution path and show me the relevant bounds. Here is the contract code:
contractSymbolicTest {
// https://github.com/foundry-rs/foundry/issues/2851function backdoor(uint256x) externalpure {
uint256 number =99;
unchecked {
uint256 z = x -1;
if (z ==6912213124124531) {
number =0;
} else {
number =1;
}
}
assert(number !=0);
}
}
Hey so I as testing out Pyrometer and used it against the backdoor example that the foundry fuzzer can't find in the hopes that it would pick up the constraints required to reach the execution path and show me the relevant bounds. Here is the contract code:
My terminal output
I would have expected a second trace where the constraint
(z != 6912213124124531) == true
isn't applied.Note I did take the assert statement out and tried as well with the same result.
Is this just a limitation of the current implementation? Just trying to understand, I know halmos picks up the counter example value.
The text was updated successfully, but these errors were encountered: