-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This contains a variety of tweaks needed to make the libraries in the `macaw` repo build with GHC 9.4: * `ST` no longer has a `MonadFail` instance. See [this section](https://gitlab.haskell.org/ghc/ghc/-/wikis/migration/9.4?version_id=b60e52482a666d25638d59cd7e86851ddf971dc1#st-is-no-longer-an-instance-of-monadfail) of the GHC 9.4 Migration Guide. To adapt to this change, I had to change some uses of `fail` to `panic`, and I also had to avoid some partial pattern matches in `do`-notation to avoid incurring `MonadFail (ST s)` constraints. * GHC 9.4 is pickier about undecidable superclass checking. As such, I needed to explicitly enable `UndecidableSuperClasses` in a handful of places. * The following submodule changes were brought in to support building with GHC 9.4: * `asl-translator`: GaloisInc/asl-translator#51 * `bv-sized`: GaloisInc/bv-sized#27 * `bv-sized-float`: GaloisInc/bv-sized-float#4 * `crucible`: GaloisInc/crucible#1073 (This also requires bumping the `llvm-pretty`, `llvm-pretty-bc-parser`, and `what4` submodules as a side effect) * `dismantle`: GaloisInc/dismantle#40 * `grift`: GaloisInc/grift#8 * `macaw-loader`: GaloisInc/macaw-loader#17 * `semmc`: GaloisInc/semmc#79
- Loading branch information
1 parent
02c2bc4
commit e55add0
Showing
15 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule asl-translator
updated
7 files
+15 −7 | .github/workflows/ci-matrix.yml | |
+2 −2 | asl-translator.cabal | |
+1 −0 | lib/Language/ASL/Formulas.hs | |
+1 −0 | lib/Language/ASL/Globals.hs | |
+1 −0 | lib/Language/ASL/Translation/Driver.hs | |
+1 −1 | submodules/crucible | |
+1 −1 | submodules/dismantle |
Submodule bv-sized
updated
4 files
+3 −3 | bv-sized.cabal | |
+6 −0 | changelog.md | |
+10 −1 | src/Data/BitVector/Sized/Signed.hs | |
+9 −1 | src/Data/BitVector/Sized/Unsigned.hs |
Submodule bv-sized-float
updated
2 files
+1 −1 | bv-sized-float.cabal | |
+1 −1 | submodules/parameterized-utils |
Submodule crucible
updated
65 files
Submodule dismantle
updated
from 48433e to 82849d
Submodule grift
updated
6 files
+1 −1 | deps/bv-sized | |
+1 −1 | deps/bv-sized-float | |
+1 −1 | deps/parameterized-utils | |
+1 −1 | grift-doc/grift-doc.cabal | |
+1 −1 | grift-sim/grift-sim.cabal | |
+1 −1 | grift/grift.cabal |
Submodule llvm-pretty
updated
from 64d43d to b13493
Submodule llvm-pretty-bc-parser
updated
24 files
+41 −7 | .github/workflows/build.yml | |
+53 −21 | .github/workflows/llvm-quick-fuzz.yml | |
+2 −0 | .gitignore | |
+49 −31 | README.md | |
+286 −129 | disasm-test/Main.hs | |
+9 −0 | disasm-test/tests/T189.c | |
+29 −0 | disasm-test/tests/T189.ll | |
+43 −0 | disasm-test/tests/di-arg-list.at-least-llvm13.ll | |
+4 −0 | disasm-test/tests/di-arg-list.c | |
+3 −0 | disasm-test/tests/poison.at-least-llvm12.ll | |
+14 −0 | doc/developing.md | |
+1 −1 | llvm-pretty | |
+15 −3 | llvm-pretty-bc-parser.cabal | |
+17 −20 | regression-test/Main.hs | |
+134 −42 | src/Data/LLVM/BitCode/BitString.hs | |
+53 −67 | src/Data/LLVM/BitCode/Bitstream.hs | |
+309 −98 | src/Data/LLVM/BitCode/GetBits.hs | |
+3 −1 | src/Data/LLVM/BitCode/IR.hs | |
+82 −40 | src/Data/LLVM/BitCode/IR/Constants.hs | |
+40 −3 | src/Data/LLVM/BitCode/IR/Function.hs | |
+50 −8 | src/Data/LLVM/BitCode/IR/Metadata.hs | |
+8 −2 | src/Data/LLVM/BitCode/IR/Module.hs | |
+7 −7 | src/Data/LLVM/BitCode/Record.hs | |
+10 −0 | unit-test/Tests/Instances.hs |
Submodule macaw-loader
updated
21 files
+9 −7 | .github/workflows/ci.yaml | |
+2 −1 | .gitignore | |
+6 −3 | .gitmodules | |
+3 −2 | cabal.project.dist | |
+17 −5 | macaw-loader-aarch32/src/Data/Macaw/BinaryLoader/AArch32.hs | |
+23 −8 | macaw-loader-ppc/src/Data/Macaw/BinaryLoader/PPC.hs | |
+17 −5 | macaw-loader-x86/src/Data/Macaw/BinaryLoader/X86.hs | |
+2 −0 | macaw-loader/src/Data/Macaw/BinaryLoader.hs | |
+1 −1 | submodules/asl-translator | |
+1 −1 | submodules/crucible | |
+1 −1 | submodules/dismantle | |
+1 −1 | submodules/dwarf | |
+1 −1 | submodules/elf-edit | |
+1 −1 | submodules/flexdis86 | |
+1 −0 | submodules/llvm-pretty | |
+1 −0 | submodules/llvm-pretty-bc-parser | |
+1 −1 | submodules/macaw | |
+1 −1 | submodules/parameterized-utils | |
+1 −1 | submodules/semmc | |
+1 −1 | submodules/what4 | |
+0 −1 | submodules/what4-serialize |
Submodule semmc
updated
35 files
Submodule what4
updated
6 files
+22 −0 | what4/doc/arithdomain.cry | |
+8 −0 | what4/src/What4/Expr/Builder.hs | |
+6 −0 | what4/src/What4/Utils/BVDomain.hs | |
+55 −0 | what4/src/What4/Utils/BVDomain/Arith.hs | |
+3 −0 | what4/test/BVDomTests.hs | |
+1 −1 | what4/what4.cabal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters