macaw/macaw-ppc/macaw-ppc.cabal
Tristan Ravitch 2092a0fd01 Add a (currently failing) test for indirect call handling
The code pointer discovery in macaw can't handle this case because we never
write the code pointers into memory - we only read them.  We really need a way
to tell macaw about code pointers.

The easy workaround is to pull all of the function entry points out of the TOC
and just seed the macaw search with them, but it would be nice to be able to
identify them from first principles.
2017-11-14 19:00:01 -08:00

89 lines
2.8 KiB
Plaintext

-- Initial macaw-ppc.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: macaw-ppc
version: 0.1.0.0
-- synopsis:
-- description:
license: BSD3
license-file: LICENSE
author: Ben Selfridge
maintainer: benselfridge@galois.com
-- copyright:
category: Semantics
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
library
exposed-modules: Data.Macaw.PPC
Data.Macaw.PPC.Arch
Data.Macaw.PPC.BinaryFormat.ELF
Data.Macaw.PPC.Disassemble
Data.Macaw.PPC.Eval
Data.Macaw.PPC.Generator
Data.Macaw.PPC.Identify
Data.Macaw.PPC.Operand
Data.Macaw.PPC.PPCReg
Data.Macaw.PPC.Semantics
Data.Macaw.PPC.Semantics.Base
Data.Macaw.PPC.Semantics.PPC64
Data.Macaw.PPC.Semantics.PPC32
Data.Macaw.PPC.Semantics.TH
Data.Macaw.PPC.Semantics.TH.Monad
Data.Macaw.PPC.Simplify
build-depends: base >=4.9 && <5,
bytestring,
containers,
constraints,
crucible,
text,
dismantle-tablegen,
dismantle-ppc,
semmc,
semmc-ppc,
lens,
macaw-base,
ansi-wl-pprint,
cereal,
mtl,
parameterized-utils,
elf-edit,
template-haskell,
text
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
test-suite macaw-ppc-tests
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options: -Wall
main-is: Main.hs
other-modules: PPC64Tests
PPC64InstructionCoverage
Shared
hs-source-dirs: tests
build-depends: base >=4.9 && <5,
bytestring,
containers,
constraints,
crucible,
dismantle-tablegen,
dismantle-ppc,
elf-edit,
exceptions,
filemanip,
filepath,
lens,
macaw-base,
macaw-ppc,
parameterized-utils,
semmc,
semmc-ppc,
template-haskell,
temporary,
tasty,
tasty-hunit,
text