mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-25 21:54:51 +03:00
caef1d30c1
Several Macaw-based projects use a similar stack setup:
* `pate`: c43542818b/src/Pate/Verification/InlineCallee.hs (L135-L143)
* `ambient-verifier`: https://github.com/GaloisInc/ambient-verifier/blob/open-source/src/Ambient/Verifier/SymbolicExecution.hs#L1272-L1280
We can share code by factoring it into its own module.
65 lines
1.4 KiB
Plaintext
65 lines
1.4 KiB
Plaintext
name: macaw-symbolic
|
|
version: 0.0.1
|
|
author: Galois, Inc.
|
|
maintainer: jhendrix@galois.com
|
|
build-type: Simple
|
|
cabal-version: >= 1.10
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
|
|
library
|
|
build-depends:
|
|
base >= 4.13,
|
|
bv-sized >= 1.0.0,
|
|
containers,
|
|
elf-edit,
|
|
filepath,
|
|
IntervalMap >= 0.6 && < 0.7,
|
|
crucible >= 0.4,
|
|
crucible-llvm,
|
|
indexed-traversable,
|
|
lens,
|
|
macaw-base,
|
|
mtl,
|
|
panic,
|
|
parameterized-utils,
|
|
prettyprinter >= 1.7.0,
|
|
split,
|
|
text,
|
|
vector,
|
|
bytestring,
|
|
what4 >= 1.1 && < 1.7
|
|
|
|
hs-source-dirs: src
|
|
|
|
exposed-modules:
|
|
Data.Macaw.Symbolic
|
|
Data.Macaw.Symbolic.Backend
|
|
Data.Macaw.Symbolic.Concretize
|
|
Data.Macaw.Symbolic.Memory
|
|
Data.Macaw.Symbolic.Memory.Lazy
|
|
Data.Macaw.Symbolic.MemOps
|
|
Data.Macaw.Symbolic.Stack
|
|
Data.Macaw.Symbolic.Testing
|
|
other-modules:
|
|
Data.Macaw.Symbolic.Bitcast
|
|
Data.Macaw.Symbolic.CrucGen
|
|
Data.Macaw.Symbolic.Memory.Common
|
|
Data.Macaw.Symbolic.Panic
|
|
Data.Macaw.Symbolic.PersistentState
|
|
|
|
ghc-options: -Wall -Wcompat
|
|
ghc-prof-options: -O2 -fprof-auto-top
|
|
default-language: Haskell2010
|
|
default-extensions: NoStarIsType
|
|
|
|
test-suite doctests
|
|
type: exitcode-stdio-1.0
|
|
default-language: Haskell2010
|
|
hs-source-dirs: test
|
|
main-is: doctest.hs
|
|
ghc-options: -Wall -Wcompat -threaded
|
|
build-depends: base, macaw-base, macaw-symbolic, doctest >= 0.10 && < 0.23
|
|
|
|
|