more haddock fixes

This commit is contained in:
Daniel Matichuk 2020-10-06 16:52:21 -07:00
parent aab0010d0a
commit 11ceebb592
2 changed files with 4 additions and 3 deletions

View File

@ -1192,7 +1192,8 @@ runCodeBlock sym archFns archEval halloc (initMem,globs) lookupH toMemPred g reg
-- translate dfi useCFG =
-- case MS.archVals (Proxy @arch) of
-- Nothing -> fail "Architecture does not support symbolic reasoning"
-- Just MS.ArchVals { MS.archFunctions = archFns } -> do
-- Just avals -> do
-- let archFns = MS.archFunctions avals
-- hdlAlloc <- CFH.newHandleAllocator
-- let nameText = TE.decodeUtf8With TEE.lenientDecode (MD.discoveredFunName dfi)
-- let name = WFN.functionNameFromText nameText
@ -1258,7 +1259,7 @@ runCodeBlock sym archFns archEval halloc (initMem,globs) lookupH toMemPred g reg
-- -- ^ The CFG to simulate
-- -> IO ()
-- useCFG hdlAlloc sym avals initialRegs initialMem globalMap lfh cfg =
-- let ?recordLLVMAnnotation = \_ _ -> pure ()
-- let ?recordLLVMAnnotation = \_ _ -> (pure () :: IO ())
-- in MS.withArchEval avals sym $ \archEvalFns -> do
-- let rep = CFH.handleReturnType (CC.cfgHandle cfg)
-- memModelVar <- CLM.mkMemVar hdlAlloc

View File

@ -81,7 +81,7 @@
-- -- ^ The CFG to simulate
-- -> IO ()
-- useCFG hdlAlloc sym avals initialRegs mem lfh cfg =
-- let ?recordLLVMAnnotation = \_ _ -> pure ()
-- let ?recordLLVMAnnotation = \_ _ -> (pure () :: IO ())
-- in MS.withArchEval avals sym $ \archEvalFns -> do
-- let rep = CFH.handleReturnType (CC.cfgHandle cfg)
-- memModelVar <- CLM.mkMemVar hdlAlloc