Skip to content

Commit

Permalink
Merge pull request #1455 from GaloisInc/update-deps
Browse files Browse the repository at this point in the history
Update submodule versions.
  • Loading branch information
mergify[bot] authored Sep 15, 2021
2 parents 33fdd18 + ee6629f commit 55ca13b
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 7 deletions.
6 changes: 6 additions & 0 deletions cryptol-saw-core/saw/Cryptol.sawcore
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,12 @@ ecSMod n =
(error (Stream Bool -> Stream Bool -> Stream Bool) "ecSMod: expected finite word")
n;

toSignedInteger : (n : Num) -> seq n Bool -> Integer;
toSignedInteger n =
Num#rec (\ (n:Num) -> seq n Bool -> Integer)
sbvToInt
(error (Stream Bool -> Integer) "toSignedInteger: expected finite word")
n;

-- Eq
ecEq : (a : sort 0) -> PEq a -> a -> a -> Bool;
Expand Down
2 changes: 2 additions & 0 deletions cryptol-saw-core/src/Verifier/SAW/Cryptol.hs
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,8 @@ prelPrims =
, ("%$", flip scGlobalDef "Cryptol.ecSMod") -- {n} (fin n, n>=1) => [n] -> [n] -> [n]
, ("lg2", flip scGlobalDef "Cryptol.ecLg2") -- {n} (fin n) => [n] -> [n]
, (">>$", flip scGlobalDef "Cryptol.ecSShiftR") -- {n, ix} (fin n, n >= 1, Integral ix) => [n] -> ix -> [n]
, ("toSignedInteger",
flip scGlobalDef "Cryptol.toSignedInteger") -- {n} (fin n, n >= 1) => [n] -> Integer

-- -- Rational primitives
, ("ratio", flip scGlobalDef "Cryptol.ecRatio") -- Integer -> Integer -> Rational
Expand Down
2 changes: 1 addition & 1 deletion deps/crucible
Submodule crucible updated 58 files
+7 −0 crucible-llvm/src/Lang/Crucible/LLVM/Intrinsics.hs
+31 −4 crucible-llvm/src/Lang/Crucible/LLVM/Intrinsics/LLVM.hs
+58 −0 crucible-llvm/src/Lang/Crucible/LLVM/Intrinsics/Libc.hs
+22 −8 crucible-llvm/src/Lang/Crucible/LLVM/MemModel.hs
+3 −3 crucible-llvm/src/Lang/Crucible/LLVM/MemModel/Common.hs
+3 −3 crucible-llvm/src/Lang/Crucible/LLVM/QQ.hs
+10 −0 crux-llvm/README.md
+41 −2 crux-llvm/src/Crux/LLVM/Config.hs
+1 −0 crux-llvm/src/Crux/LLVM/Overrides.hs
+92 −16 crux-llvm/src/Crux/LLVM/Simulate.hs
+5 −3 crux-llvm/svcomp/Main.hs
+4 −4 crux-llvm/svcomp/README.md
+3 −0 crux-llvm/svcomp/config-files/README.md
+26 −0 crux-llvm/svcomp/config-files/no-overflow.config
+1 −0 crux-llvm/svcomp/config-files/unreach-call.config
+22 −0 crux-llvm/svcomp/def-files/README.md
+86 −0 crux-llvm/svcomp/def-files/crux.py
+171 −0 crux-llvm/svcomp/def-files/crux.xml
+1 −1 crux-llvm/svcomp/mk-svcomp-bindist.sh
+7 −0 crux-llvm/test-data/golden/T812.c
+1 −0 crux-llvm/test-data/golden/T812.config
+1 −0 crux-llvm/test-data/golden/T812.good
+16 −0 crux-llvm/test-data/golden/T816.c
+2 −0 crux-llvm/test-data/golden/T816.good
+10 −0 crux-llvm/test-data/golden/T828.c
+1 −0 crux-llvm/test-data/golden/T828.config
+1 −0 crux-llvm/test-data/golden/T828.good
+5 −0 crux-llvm/test-data/golden/T838.c
+1 −0 crux-llvm/test-data/golden/T838.good
+17 −0 crux-llvm/test-data/golden/golden/T840.c.orig
+1 −0 crux-llvm/test-data/golden/golden/T840.good
+134 −0 crux-llvm/test-data/golden/golden/T840.ll
+1 −1 dependencies/llvm-pretty
+14 −15 uc-crux-llvm/README.md
+3 −3 uc-crux-llvm/src/UCCrux/LLVM/Classify.hs
+10 −9 uc-crux-llvm/src/UCCrux/LLVM/Constraints.hs
+7 −10 uc-crux-llvm/src/UCCrux/LLVM/Context/Function.hs
+69 −63 uc-crux-llvm/src/UCCrux/LLVM/Context/Module.hs
+4 −4 uc-crux-llvm/src/UCCrux/LLVM/Cursor.hs
+28 −9 uc-crux-llvm/src/UCCrux/LLVM/Equivalence.hs
+34 −0 uc-crux-llvm/src/UCCrux/LLVM/Equivalence/Config.hs
+37 −225 uc-crux-llvm/src/UCCrux/LLVM/FullType/Translation.hs
+20 −4 uc-crux-llvm/src/UCCrux/LLVM/FullType/Type.hs
+94 −56 uc-crux-llvm/src/UCCrux/LLVM/Main.hs
+119 −30 uc-crux-llvm/src/UCCrux/LLVM/Main/Config/FromEnv.hs
+39 −0 uc-crux-llvm/src/UCCrux/LLVM/Main/Config/Type.hs
+420 −0 uc-crux-llvm/src/UCCrux/LLVM/Module.hs
+22 −0 uc-crux-llvm/src/UCCrux/LLVM/Newtypes/FunctionName.hs
+28 −0 uc-crux-llvm/src/UCCrux/LLVM/Newtypes/Seconds.hs
+14 −13 uc-crux-llvm/src/UCCrux/LLVM/Overrides/Skip.hs
+65 −0 uc-crux-llvm/src/UCCrux/LLVM/Run/EntryPoints.hs
+45 −20 uc-crux-llvm/src/UCCrux/LLVM/Run/Explore.hs
+27 −0 uc-crux-llvm/src/UCCrux/LLVM/Run/Explore/Config.hs
+45 −36 uc-crux-llvm/src/UCCrux/LLVM/Run/Loop.hs
+4 −3 uc-crux-llvm/src/UCCrux/LLVM/Run/Simulate.hs
+4 −4 uc-crux-llvm/src/UCCrux/LLVM/Setup.hs
+44 −23 uc-crux-llvm/test/Test.hs
+9 −1 uc-crux-llvm/uc-crux-llvm.cabal
2 changes: 1 addition & 1 deletion deps/llvm-pretty
2 changes: 1 addition & 1 deletion deps/what4

0 comments on commit 55ca13b

Please sign in to comment.