2017-09-28 01:41:37 +03:00
|
|
|
name: macaw-base
|
2021-05-25 00:03:24 +03:00
|
|
|
version: 0.3.15.6
|
2016-11-29 10:14:04 +03:00
|
|
|
author: Galois, Inc.
|
|
|
|
maintainer: jhendrix@galois.com
|
|
|
|
build-type: Simple
|
2018-11-20 12:43:48 +03:00
|
|
|
cabal-version: >= 1.10
|
2017-09-28 01:59:06 +03:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
2018-01-29 11:20:54 +03:00
|
|
|
description:
|
|
|
|
Macaw is a multi-architecture binary analysis library written in
|
|
|
|
Haskell. @macaw-base@ defines the core algorithms and data types
|
|
|
|
used across architectures. This includes:
|
|
|
|
.
|
|
|
|
* The control-flow graph data structure used to represent control-flow
|
|
|
|
graphs is defined in "Data.Macaw.CFG".
|
|
|
|
.
|
|
|
|
* The datatypes used to add support for new architectures are defined in
|
|
|
|
"Data.Macaw.Architecture".
|
|
|
|
.
|
|
|
|
* The datatypes used to represent memory are defined in "Data.Macaw.Memory".
|
|
|
|
Functions for constructing memory objects from Elf files are in
|
|
|
|
"Data.Macaw.Memory.ElfLoader".
|
|
|
|
.
|
|
|
|
* The main code discovery algorithm for discovering code are in
|
|
|
|
"Data.Macaw.Discovery".
|
|
|
|
.
|
|
|
|
* Declarations for working with Dwarf debug information are in "Data.Macaw.Dwarf".
|
2016-11-29 10:14:04 +03:00
|
|
|
|
|
|
|
library
|
|
|
|
build-depends:
|
|
|
|
base >= 4,
|
|
|
|
binary,
|
2019-06-05 16:02:25 +03:00
|
|
|
binary-symbols >= 0.1.3,
|
2016-11-29 10:14:04 +03:00
|
|
|
bytestring,
|
2016-12-28 00:59:21 +03:00
|
|
|
containers >= 0.5.8.1,
|
2020-11-11 04:15:47 +03:00
|
|
|
elf-edit >= 0.39,
|
2020-07-08 01:10:36 +03:00
|
|
|
galois-dwarf >= 0.2.2,
|
2017-01-07 03:10:23 +03:00
|
|
|
IntervalMap >= 0.5,
|
2016-11-29 10:14:04 +03:00
|
|
|
lens >= 4.7,
|
|
|
|
mtl,
|
2020-06-17 02:49:55 +03:00
|
|
|
parameterized-utils >= 2.1.0 && < 2.2,
|
2020-11-25 04:57:11 +03:00
|
|
|
prettyprinter >= 1.7.0,
|
2018-08-27 21:31:18 +03:00
|
|
|
template-haskell,
|
2016-11-29 10:14:04 +03:00
|
|
|
text,
|
|
|
|
vector,
|
|
|
|
QuickCheck >= 2.7
|
|
|
|
|
|
|
|
hs-source-dirs: src
|
|
|
|
|
|
|
|
exposed-modules:
|
|
|
|
Data.Macaw.AbsDomain.AbsState
|
2019-08-22 09:29:16 +03:00
|
|
|
Data.Macaw.AbsDomain.CallParams
|
2017-02-16 10:53:19 +03:00
|
|
|
Data.Macaw.AbsDomain.JumpBounds
|
2016-11-29 10:14:04 +03:00
|
|
|
Data.Macaw.AbsDomain.Refine
|
|
|
|
Data.Macaw.AbsDomain.StridedInterval
|
2017-11-23 01:07:55 +03:00
|
|
|
Data.Macaw.Analysis.FunctionArgs
|
2019-12-05 02:08:02 +03:00
|
|
|
Data.Macaw.Analysis.RegisterUse
|
2016-11-29 10:14:04 +03:00
|
|
|
Data.Macaw.Architecture.Info
|
|
|
|
Data.Macaw.CFG
|
2017-06-02 21:10:58 +03:00
|
|
|
Data.Macaw.CFG.App
|
2018-06-06 21:28:26 +03:00
|
|
|
Data.Macaw.CFG.AssignRhs
|
2017-07-05 23:31:21 +03:00
|
|
|
Data.Macaw.CFG.Block
|
|
|
|
Data.Macaw.CFG.Core
|
2017-06-30 20:56:46 +03:00
|
|
|
Data.Macaw.CFG.DemandSet
|
|
|
|
Data.Macaw.CFG.Rewriter
|
2016-11-29 10:14:04 +03:00
|
|
|
Data.Macaw.DebugLogging
|
|
|
|
Data.Macaw.Discovery
|
2017-06-04 21:09:07 +03:00
|
|
|
Data.Macaw.Discovery.AbsEval
|
|
|
|
Data.Macaw.Discovery.State
|
2016-11-29 10:14:04 +03:00
|
|
|
Data.Macaw.Dwarf
|
2017-05-30 09:25:51 +03:00
|
|
|
Data.Macaw.Fold
|
2016-11-29 10:14:04 +03:00
|
|
|
Data.Macaw.Memory
|
|
|
|
Data.Macaw.Memory.ElfLoader
|
2018-01-29 12:06:59 +03:00
|
|
|
Data.Macaw.Memory.LoadCommon
|
2016-11-29 10:14:04 +03:00
|
|
|
Data.Macaw.Memory.Permissions
|
2018-10-18 20:07:20 +03:00
|
|
|
Data.Macaw.Memory.Symbols
|
2016-11-29 10:14:04 +03:00
|
|
|
Data.Macaw.Types
|
2019-12-16 20:39:48 +03:00
|
|
|
Data.Macaw.Utils.Changed
|
2021-04-08 20:42:58 +03:00
|
|
|
Data.Macaw.Utils.IncComp
|
2018-01-29 11:20:54 +03:00
|
|
|
Data.Macaw.Utils.Pretty
|
2016-11-29 10:14:04 +03:00
|
|
|
|
2021-06-11 00:09:04 +03:00
|
|
|
other-modules:
|
|
|
|
Data.Macaw.AbsDomain.StackAnalysis
|
|
|
|
|
2019-01-11 00:43:27 +03:00
|
|
|
ghc-options: -Wall -Wcompat
|
2016-11-29 10:14:04 +03:00
|
|
|
ghc-options: -fno-warn-unticked-promoted-constructors
|
2018-01-29 11:20:54 +03:00
|
|
|
ghc-prof-options: -O2 -fprof-auto-top
|
2018-11-20 12:43:48 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
2019-05-15 07:03:08 +03:00
|
|
|
default-extensions:
|
|
|
|
GADTs
|
|
|
|
ScopedTypeVariables
|
|
|
|
TypeOperators
|
|
|
|
|
2018-11-20 12:43:48 +03:00
|
|
|
if impl(ghc >= 8.6)
|
2021-04-08 20:42:58 +03:00
|
|
|
default-extensions: NoStarIsType
|