Skip to content

Commit

Permalink
add missing wrapping step for SimpCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
danmatichuk committed May 14, 2024
1 parent a8ecc54 commit fa98b01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Pate/Verification/Simplify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ getSimpCheck :: EquivM sym arch (WEH.SimpCheck sym (EquivM_ sym arch))
getSimpCheck = do
shouldCheck <- CMR.asks (PC.cfgCheckSimplifier . envConfig)
case shouldCheck of
True -> return tracedSimpCheck
True -> withSym $ \sym -> do
cache_def_simp <- W4B.newIdxCache
return $ WEH.wrapSimpSolverCheck (WEH.unfoldDefinedFns sym (Just cache_def_simp)) tracedSimpCheck
False -> return WEH.noSimpCheck


Expand Down

0 comments on commit fa98b01

Please sign in to comment.