melf: An Elf parser

[ bsd3, data, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Parser for ELF object format


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.3.0, 1.3.1
Change log ChangeLog.md
Dependencies base (>=4.6 && <5.0), binary (>=0.8.8 && <0.9), bytestring (>=0.10.12 && <0.11), exceptions (>=0.10.4 && <0.11), melf, mtl (>=2.2.2 && <2.3), optparse-applicative (>=0.16.1 && <0.17), prettyprinter (>=1.7.0 && <1.8), singletons (>=2.7 && <3), template-haskell (>=2.16 && <2.17) [details]
Tested with ghc ==8.10.4
License BSD-3-Clause
Copyright Aleksey Makarov
Author Aleksey Makarov
Maintainer aleksey.makarov@gmail.com
Category Data
Home page https://github.com/aleksey-makarov/melf
Bug tracker https://github.com/aleksey-makarov/melf/issues
Source repo head: git clone https://github.com/aleksey-makarov/melf
Uploaded by amakarov at 2021-11-16T21:07:33Z
Distributions Stackage:1.3.1
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hobjlayout, hobjdump
Downloads 567 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-11-16 [all 1 reports]

Readme for melf-1.0.0

[back to package description]

melf

A Haskell library to parse/serialize Executable and Linkable Format (ELF)

  • elf - does not write ELF, only parses it
  • data-elf - parses just headers/tables; depends on a library that fails to build with modern GHCs

History

For the early history look at the branch "amakarov" of the my copy of the elf repo.

How to build

  • Install Nix
  • nix-shell
  • cabal new-configure; cabal new-build

Tests

Test data is committed with git-lfs. To run tests, issue this command in nix-shell: cabal new-test --test-show-details=direct

License

BSD 3-Clause License (c) Aleksey Makarov