melf-1.2.0: melf.cabal
cabal-version: 1.18
-- This file has been generated from package.yaml by hpack version 0.35.1.
--
-- see: https://github.com/sol/hpack
name: melf
version: 1.2.0
synopsis: An Elf parser
description: Parser for ELF object format
category: Data
homepage: https://github.com/aleksey-makarov/melf
bug-reports: https://github.com/aleksey-makarov/melf/issues
author: Aleksey Makarov
maintainer: aleksey.makarov@gmail.com
copyright: Aleksey Makarov
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.4, GHC == 9.2.5, GHC == 9.4.4
extra-doc-files:
ChangeLog.md
README.md
examples/README_ru.md
data-files:
tests/testdata/orig/bloated.elf.golden
tests/testdata/orig/bloated.elf_header.golden
tests/testdata/orig/bloated.header.golden
tests/testdata/orig/bloated.layout.golden
tests/testdata/orig/bloated.strtable.golden
tests/testdata/orig/tiny.elf.golden
tests/testdata/orig/tiny.elf_header.golden
tests/testdata/orig/tiny.header.golden
tests/testdata/orig/tiny.layout.golden
tests/testdata/orig/tiny.strtable.golden
tests/testdata/orig/vdso.elf.golden
tests/testdata/orig/vdso.elf_header.golden
tests/testdata/orig/vdso.header.golden
tests/testdata/orig/vdso.layout.golden
tests/testdata/orig/vdso.strtable.golden
examples/forwardLabelExe.dump.golden
examples/forwardLabelExe.layout.golden
examples/helloWorldExe.dump.golden
examples/helloWorldExe.layout.golden
examples/helloWorldObj.o.dump.golden
examples/helloWorldObj.o.layout.golden
testdata/orig/bloated
testdata/orig/tiny
testdata/orig/vdso
source-repository head
type: git
location: https://github.com/aleksey-makarov/melf
library
exposed-modules:
Data.Endian
Data.Elf
Data.Elf.Constants
Data.Elf.Headers
Data.Elf.PrettyPrint
Control.Exception.ChainedException
other-modules:
Data.Elf.Constants.TH
Data.Elf.Constants.Data
Data.Internal.Elf
Data.Interval
Data.BList
hs-source-dirs:
src
ghc-options: -Wall -Wcompat
build-depends:
base >=4.13 && <5.0
, binary >=0.8.7 && <0.9
, bytestring >=0.10.10 && <0.12
, exceptions >=0.10.4 && <0.11
, lens >=5.0.1 && <5.3
, mtl >=2.2.2 && <2.3
, prettyprinter >=1.7.0 && <1.8
, template-haskell >=2.15 && <2.20
default-language: Haskell2010
if impl(ghc >= 9.0)
build-depends:
singletons ==3.0.*
, singletons-base >=3.0 && <3.2
, singletons-th >=3.0 && <3.2
else
build-depends:
singletons >=2.6 && <2.8
executable hobjdump
main-is: hObjDump.hs
other-modules:
Paths_melf
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.13 && <5.0
, binary
, bytestring
, melf
, optparse-applicative >=0.16.1 && <0.18
, prettyprinter
default-language: Haskell2010
executable hobjlayout
main-is: hObjLayout.hs
other-modules:
Paths_melf
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.13 && <5.0
, binary
, bytestring
, exceptions
, melf
, prettyprinter
default-language: Haskell2010
test-suite examples
type: exitcode-stdio-1.0
main-is: Examples.hs
other-modules:
AsmAArch64
DummyLd
ForwardLabel
HelloWorld
Paths_melf
hs-source-dirs:
examples
ghc-options: -Wall -Wcompat
build-depends:
base >=4.13 && <5.0
, bytestring
, exceptions
, filepath
, melf
, mtl
, tasty
, tasty-golden
, tasty-hunit
, unix >=2.7.2.2 && <2.8
default-language: Haskell2010
if impl(ghc >= 9.0)
build-depends:
singletons
, singletons-th
else
build-depends:
singletons
test-suite exceptions
type: exitcode-stdio-1.0
main-is: Exceptions.hs
other-modules:
Paths_melf
hs-source-dirs:
tests/exceptions
ghc-options: -Wall -Wcompat
build-depends:
base >=4.13 && <5.0
, exceptions
, melf
, tasty
, tasty-hunit
default-language: Haskell2010
test-suite golden
type: exitcode-stdio-1.0
main-is: Golden.hs
other-modules:
Paths_melf
hs-source-dirs:
tests
ghc-options: -Wall -Wcompat
build-depends:
base >=4.13 && <5.0
, binary
, bytestring
, directory >=1.3.6 && <1.4
, exceptions
, filepath >=1.4.2.1 && <1.5
, melf
, prettyprinter
, singletons
, tasty >=1.4.1 && <1.5
, tasty-golden >=2.3.4 && <2.4
, tasty-hunit >=0.10.0.3 && <0.11
default-language: Haskell2010