2017-09-28 01:54:43 +03:00
|
|
|
name: macaw-x86
|
|
|
|
version: 0.0.1
|
|
|
|
author: Galois, Inc.
|
|
|
|
maintainer: jhendrix@galois.com
|
|
|
|
build-type: Simple
|
2018-03-27 20:41:18 +03:00
|
|
|
cabal-version: >= 1.10
|
2017-09-28 01:59:06 +03:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2017-11-08 23:05:28 +03:00
|
|
|
tested-with: GHC == 8.0.2
|
2017-11-23 01:07:55 +03:00
|
|
|
|
2017-09-28 01:54:43 +03:00
|
|
|
library
|
|
|
|
build-depends:
|
|
|
|
base >= 4,
|
|
|
|
ansi-wl-pprint,
|
|
|
|
bytestring,
|
|
|
|
containers,
|
2018-01-17 02:37:30 +03:00
|
|
|
flexdis86 >= 0.1.2,
|
2017-09-28 01:54:43 +03:00
|
|
|
lens >= 4.7,
|
2018-11-12 19:56:44 +03:00
|
|
|
macaw-base >= 0.3.3,
|
2017-09-28 01:54:43 +03:00
|
|
|
mtl,
|
|
|
|
parameterized-utils,
|
|
|
|
text,
|
|
|
|
vector
|
|
|
|
|
|
|
|
hs-source-dirs: src
|
|
|
|
|
|
|
|
exposed-modules:
|
|
|
|
Data.Macaw.X86
|
|
|
|
Data.Macaw.X86.ArchTypes
|
|
|
|
Data.Macaw.X86.Conditions
|
|
|
|
Data.Macaw.X86.Flexdis
|
2017-12-02 00:58:20 +03:00
|
|
|
Data.Macaw.X86.Generator
|
2017-09-28 01:54:43 +03:00
|
|
|
Data.Macaw.X86.Getters
|
|
|
|
Data.Macaw.X86.InstructionDef
|
|
|
|
Data.Macaw.X86.Monad
|
|
|
|
Data.Macaw.X86.Semantics
|
2017-12-19 03:53:27 +03:00
|
|
|
Data.Macaw.X86.Semantics.AVX
|
2017-11-23 01:07:55 +03:00
|
|
|
Data.Macaw.X86.SyscallInfo
|
2017-09-28 01:54:43 +03:00
|
|
|
Data.Macaw.X86.SyscallInfo.FreeBSD
|
|
|
|
Data.Macaw.X86.SyscallInfo.Linux
|
|
|
|
Data.Macaw.X86.X86Flag
|
|
|
|
Data.Macaw.X86.X86Reg
|
|
|
|
Data.Macaw.X86.X87ControlReg
|
|
|
|
|
2018-03-27 20:41:18 +03:00
|
|
|
default-language: Haskell2010
|
2019-01-11 00:43:27 +03:00
|
|
|
ghc-options: -Wall -Wcompat
|
2017-09-28 01:54:43 +03:00
|
|
|
ghc-options: -fno-warn-unticked-promoted-constructors
|
|
|
|
ghc-prof-options: -O2 -fprof-auto-top
|
2018-11-21 03:08:33 +03:00
|
|
|
if impl(ghc >= 8.6)
|
|
|
|
default-extensions: NoStarIsType
|
2017-09-28 01:54:43 +03:00
|
|
|
|
|
|
|
test-suite macaw-x86-tests
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
default-language: Haskell2010
|
2019-01-11 00:43:27 +03:00
|
|
|
ghc-options: -Wall -Wcompat
|
2017-09-28 01:54:43 +03:00
|
|
|
main-is: Main.hs
|
|
|
|
other-modules: ElfX64Linux
|
|
|
|
hs-source-dirs: tests
|
|
|
|
build-depends:
|
|
|
|
base,
|
|
|
|
bytestring,
|
|
|
|
containers,
|
|
|
|
elf-edit,
|
|
|
|
exceptions,
|
|
|
|
filemanip,
|
|
|
|
filepath,
|
|
|
|
lens,
|
2017-11-02 01:56:54 +03:00
|
|
|
macaw-base,
|
2017-09-28 01:54:43 +03:00
|
|
|
parameterized-utils,
|
|
|
|
macaw-x86,
|
|
|
|
temporary,
|
|
|
|
tasty,
|
|
|
|
tasty-hunit
|