Update to fix build process.

This commit is contained in:
Joe Hendrix 2019-02-15 00:28:35 -08:00
parent d3947f32b4
commit 3b7e12de16
No known key found for this signature in database
GPG Key ID: 8DFA5FF784098C4F
6 changed files with 10 additions and 6 deletions

View File

@ -221,6 +221,8 @@ instance Show (TypeRepr tp) where
"(" ++ show h ++ foldrFC (\tp r -> "," ++ show tp ++ r) ")" z
show (VectorTypeRepr c tp) = "(vec " ++ show c ++ " " ++ show tp ++ ")"
instance ShowF TypeRepr
instance KnownRepr TypeRepr BoolType where
knownRepr = BoolTypeRepr

2
deps/crucible vendored

@ -1 +1 @@
Subproject commit 84d301121af7e7204c2c49e19c00358683f75731
Subproject commit 13c16081d02bbc4e62eecbe686fdb5d806c41d60

2
deps/flexdis86 vendored

@ -1 +1 @@
Subproject commit 2ac3d616996885f93b66c870520381cb09e783ca
Subproject commit 64a3b8154a654e7079a6a5253a00d4fe8dac9934

View File

@ -20,4 +20,5 @@ extra-deps:
- monadLib-3.7.3
- panic-0.4.0.1
- IntervalMap-0.6.1.0
- itanium-abi-0.1.1.0
resolver: lts-11.22

View File

@ -105,7 +105,7 @@ withConcreteCountAndDir
-> (AtomWrapper (RegEntry sym) M.BoolType)
-> (S sym rtp bs r ctx -> (SymBV sym 64) -> IO (S sym rtp bs r ctx))
-> IO (RegValue sym UnitType, S sym rtp bs r ctx)
withConcreteCountAndDir state val_size wrapped_count wrapped_dir func = do
withConcreteCountAndDir state val_size wrapped_count _wrapped_dir func = do
let sym = state^.stateSymInterface
let val_byte_size = M.repValSizeByteCount val_size
bv_count <- toValBV sym wrapped_count

View File

@ -87,7 +87,7 @@ type instance ArchRegContext M.X86_64
<+> (EmptyCtx ::> M.BVType 3) -- X87 top of the stack (x87 status word)
<+> CtxRepeat 8 (M.BVType 2) -- X87 tags
<+> CtxRepeat 8 (M.BVType 80) -- FP regs
<+> CtxRepeat 16 (M.BVType 256) -- YMM regs
<+> CtxRepeat 16 (M.BVType 512) -- ZMM regs
type RegAssign f = Assignment f (ArchRegContext M.X86_64)
@ -112,7 +112,7 @@ x86RegName' (M.X87_StatusReg r) = show r
x86RegName' M.X87_TopReg = "x87Top"
x86RegName' (M.X87_TagReg r) = "x87Tag" ++ show r
x86RegName' (M.X87_FPUReg r) = show r
x86RegName' (M.X86_YMMReg r) = show r
x86RegName' (M.X86_ZMMReg r) = "zmm" ++ show r
x86RegName :: M.X86Reg tp -> C.SolverSymbol
x86RegName r = C.systemSymbol $ "r!" ++ x86RegName' r
@ -142,7 +142,8 @@ x86RegAssignment =
<++> (Empty :> M.X87_TopReg)
<++> (repeatAssign (M.X87_TagReg . fromIntegral) :: Assignment M.X86Reg (CtxRepeat 8 (M.BVType 2)))
<++> (repeatAssign (M.X87_FPUReg . F.mmxReg . fromIntegral) :: Assignment M.X86Reg (CtxRepeat 8 (M.BVType 80)))
<++> (repeatAssign (M.X86_YMMReg . F.ymmReg . fromIntegral) :: Assignment M.X86Reg (CtxRepeat 16 (M.BVType 256)))
<++> (repeatAssign (M.X86_ZMMReg . fromIntegral)
:: Assignment M.X86Reg (CtxRepeat 16 (M.BVType 512)))
x86RegStructType :: C.TypeRepr (ArchRegStruct M.X86_64)