We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d9e274 + 927c202 commit 5786288Copy full SHA for 5786288
src/EVM/Fetch.hs
@@ -475,7 +475,10 @@ oracle solvers preSess rpcInfo q = do
475
PleaseAskSMT branchcondition pathconditions continue -> do
476
let pathconds = foldl' PAnd (PBool True) pathconditions
477
-- Is is possible to satisfy the condition?
478
- continue <$> checkBranch solvers (branchcondition ./= (Lit 0)) pathconds
+ case branchcondition of
479
+ Lit 0 -> pure $ continue (Case False)
480
+ Lit _ -> pure $ continue (Case True)
481
+ _ -> continue <$> checkBranch solvers (branchcondition ./= (Lit 0)) pathconds
482
483
PleaseGetSols symExpr numBytes pathconditions continue -> do
484
0 commit comments