more haddock fixes

This commit is contained in:
Daniel Matichuk 2020-10-06 14:57:43 -07:00
parent a595bdc6a4
commit aab0010d0a
2 changed files with 5 additions and 7 deletions

View File

@ -1257,11 +1257,9 @@ runCodeBlock sym archFns archEval halloc (initMem,globs) lookupH toMemPred g reg
-- -> CC.CFG (MS.MacawExt arch) blocks (MS.MacawFunctionArgs arch) (MS.MacawFunctionResult arch)
-- -- ^ The CFG to simulate
-- -> IO ()
-- useCFG hdlAlloc sym archVals initialRegs initialMem globalMap lfh cfg = do
-- let
-- ?recordLLVMAnnotation = \_ _ -> pure ()
-- withArchEval = MS.withArchEval archVals
-- withArchEval sym $ \archEvalFns -> do
-- useCFG hdlAlloc sym avals initialRegs initialMem globalMap lfh cfg =
-- let ?recordLLVMAnnotation = \_ _ -> pure ()
-- in MS.withArchEval avals sym $ \archEvalFns -> do
-- let rep = CFH.handleReturnType (CC.cfgHandle cfg)
-- memModelVar <- CLM.mkMemVar hdlAlloc
-- -- For demonstration purposes, do not enforce any pointer validity constraints

View File

@ -80,9 +80,9 @@
-- -> CC.CFG (MS.MacawExt arch) blocks (MS.MacawFunctionArgs arch) (MS.MacawFunctionResult arch)
-- -- ^ The CFG to simulate
-- -> IO ()
-- useCFG hdlAlloc sym MS.ArchVals { MS.withArchEval = withArchEval } initialRegs mem lfh cfg = do
-- useCFG hdlAlloc sym avals initialRegs mem lfh cfg =
-- let ?recordLLVMAnnotation = \_ _ -> pure ()
-- withArchEval sym $ \archEvalFns -> do
-- in MS.withArchEval avals sym $ \archEvalFns -> do
-- let rep = CFH.handleReturnType (CC.cfgHandle cfg)
-- memModelVar <- CLM.mkMemVar hdlAlloc
-- (initialMem, memPtrTbl) <- MSM.newGlobalMemory (Proxy @arch) sym LDL.LittleEndian MSM.SymbolicMutable mem