Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps #1489

Merged
merged 9 commits into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/cryptol
Submodule cryptol updated 89 files
+3 −3 cryptol.cabal
+0 −0 docs/.nojekyll
+0 −0 docs/RefMan/.gitignore
+117 −6 docs/RefMan/RefMan.rst
+ docs/RefMan/_build/doctrees/RefMan.doctree
+ docs/RefMan/_build/doctrees/environment.pickle
+4 −0 docs/RefMan/_build/html/.buildinfo
+0 −0 docs/RefMan/_build/html/.nojekyll
+1,411 −0 docs/RefMan/_build/html/RefMan.html
+1,248 −0 docs/RefMan/_build/html/_sources/RefMan.rst.txt
+676 −0 docs/RefMan/_build/html/_static/basic.css
+261 −0 docs/RefMan/_build/html/_static/classic.css
+1 −0 docs/RefMan/_build/html/_static/css/badge_only.css
+ docs/RefMan/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff
+ docs/RefMan/_build/html/_static/css/fonts/Roboto-Slab-Bold.woff2
+ docs/RefMan/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff
+ docs/RefMan/_build/html/_static/css/fonts/Roboto-Slab-Regular.woff2
+ docs/RefMan/_build/html/_static/css/fonts/fontawesome-webfont.eot
+2,671 −0 docs/RefMan/_build/html/_static/css/fonts/fontawesome-webfont.svg
+ docs/RefMan/_build/html/_static/css/fonts/fontawesome-webfont.ttf
+ docs/RefMan/_build/html/_static/css/fonts/fontawesome-webfont.woff
+ docs/RefMan/_build/html/_static/css/fonts/fontawesome-webfont.woff2
+ docs/RefMan/_build/html/_static/css/fonts/lato-bold-italic.woff
+ docs/RefMan/_build/html/_static/css/fonts/lato-bold-italic.woff2
+ docs/RefMan/_build/html/_static/css/fonts/lato-bold.woff
+ docs/RefMan/_build/html/_static/css/fonts/lato-bold.woff2
+ docs/RefMan/_build/html/_static/css/fonts/lato-normal-italic.woff
+ docs/RefMan/_build/html/_static/css/fonts/lato-normal-italic.woff2
+ docs/RefMan/_build/html/_static/css/fonts/lato-normal.woff
+ docs/RefMan/_build/html/_static/css/fonts/lato-normal.woff2
+4 −0 docs/RefMan/_build/html/_static/css/theme.css
+315 −0 docs/RefMan/_build/html/_static/doctools.js
+10 −0 docs/RefMan/_build/html/_static/documentation_options.js
+ docs/RefMan/_build/html/_static/file.png
+ docs/RefMan/_build/html/_static/fonts/Inconsolata-Bold.ttf
+ docs/RefMan/_build/html/_static/fonts/Inconsolata-Regular.ttf
+ docs/RefMan/_build/html/_static/fonts/Inconsolata.ttf
+ docs/RefMan/_build/html/_static/fonts/Lato-Bold.ttf
+ docs/RefMan/_build/html/_static/fonts/Lato-Regular.ttf
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bold.eot
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bold.ttf
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bold.woff
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bold.woff2
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bolditalic.eot
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bolditalic.ttf
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bolditalic.woff
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-bolditalic.woff2
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-italic.eot
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-italic.ttf
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-italic.woff
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-italic.woff2
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-regular.eot
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-regular.ttf
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-regular.woff
+ docs/RefMan/_build/html/_static/fonts/Lato/lato-regular.woff2
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab-Bold.ttf
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab-Regular.ttf
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
+ docs/RefMan/_build/html/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
+ docs/RefMan/_build/html/_static/fonts/fontawesome-webfont.eot
+2,671 −0 docs/RefMan/_build/html/_static/fonts/fontawesome-webfont.svg
+ docs/RefMan/_build/html/_static/fonts/fontawesome-webfont.ttf
+ docs/RefMan/_build/html/_static/fonts/fontawesome-webfont.woff
+ docs/RefMan/_build/html/_static/fonts/fontawesome-webfont.woff2
+10,365 −0 docs/RefMan/_build/html/_static/jquery.js
+1 −0 docs/RefMan/_build/html/_static/js/badge_only.js
+4 −0 docs/RefMan/_build/html/_static/js/html5shiv-printshiv.min.js
+4 −0 docs/RefMan/_build/html/_static/js/html5shiv.min.js
+4 −0 docs/RefMan/_build/html/_static/js/modernizr.min.js
+1 −0 docs/RefMan/_build/html/_static/js/theme.js
+297 −0 docs/RefMan/_build/html/_static/language_data.js
+ docs/RefMan/_build/html/_static/minus.png
+ docs/RefMan/_build/html/_static/plus.png
+69 −0 docs/RefMan/_build/html/_static/pygments.css
+481 −0 docs/RefMan/_build/html/_static/searchtools.js
+159 −0 docs/RefMan/_build/html/_static/sidebar.js
+1,707 −0 docs/RefMan/_build/html/_static/underscore.js
+203 −0 docs/RefMan/_build/html/genindex.html
+7 −0 docs/RefMan/_build/html/objects.inv
+215 −0 docs/RefMan/_build/html/search.html
+1 −0 docs/RefMan/_build/html/searchindex.js
+4 −2 docs/RefMan/conf.py
+10 −0 docs/index.html
2 changes: 1 addition & 1 deletion deps/flexdis86
2 changes: 1 addition & 1 deletion deps/llvm-pretty
8 changes: 6 additions & 2 deletions src/SAWScript/Crucible/LLVM/X86.hs
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,15 @@ llvm_verify_x86 (Some (llvmModule :: LLVMModule x)) path nm globsyms checkSat se
[ "Unable to find CFG for function at address "
, show $ W4.ppExpr off
]
archEvalFns = Macaw.x86_64MacawEvalFn sfs Macaw.defaultMacawArchStmtExtensionOverride
lookupSyscall = Macaw.unsupportedSyscalls "saw-script"
noExtraValidityPred _ _ _ _ = return Nothing
defaultMacawExtensions_x86_64 = Macaw.macawExtensions
(Macaw.x86_64MacawEvalFn sfs) mvar
defaultMacawExtensions_x86_64 =
Macaw.macawExtensions
archEvalFns mvar
(mkGlobalMap . Map.singleton 0 $ preState ^. x86GlobalBase)
funcLookup
lookupSyscall
noExtraValidityPred
sawMacawExtensions = defaultMacawExtensions_x86_64
{ C.extensionExec = \s0 st -> case s0 of
Expand Down
6 changes: 5 additions & 1 deletion src/SAWScript/X86.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ import Data.Macaw.Symbolic( ArchRegStruct
, GlobalMap
, MacawSimulatorState(..)
, macawExtensions
, unsupportedSyscalls
, defaultMacawArchStmtExtensionOverride
)
import qualified Data.Macaw.Symbolic as Macaw ( LookupFunctionHandle(..) )
import Data.Macaw.Symbolic( MacawExt
Expand Down Expand Up @@ -473,13 +475,15 @@ doSim opts elf sfs name (globs,overs) st checkPost =
-- The memory setup for this verifier does not have that problem, and
-- thus does not need any additional validity predicates.
let noExtraValidityPred _ _ _ _ = return Nothing
let archEvalFns = x86_64MacawEvalFn sfs defaultMacawArchStmtExtensionOverride
let lookupSyscall = unsupportedSyscalls "saw-script"
let ctx :: SimContext (MacawSimulatorState Sym) Sym (MacawExt X86_64)
ctx = SimContext { _ctxSymInterface = sym
, ctxSolverProof = \a -> a
, ctxIntrinsicTypes = llvmIntrinsicTypes
, simHandleAllocator = allocator opts
, printHandle = stdout
, extensionImpl = macawExtensions (x86_64MacawEvalFn sfs) mvar globs (callHandler overs sym) noExtraValidityPred
, extensionImpl = macawExtensions archEvalFns mvar globs (callHandler overs sym) lookupSyscall noExtraValidityPred
, _functionBindings = FnBindings $
insertHandleMap (cfgHandle cfg) (UseCFG cfg (postdomInfo cfg)) emptyHandleMap
, _cruciblePersonality = MacawSimulatorState
Expand Down