package owee

  1. Overview
  2. Docs
OCaml library to work with DWARF format

Install

Dune Dependency

Authors

Maintainers

Sources

owee-0.7.tbz
sha256=f455dc99d7478399a4e545a061de244cf38b398fe9e80fce06ebdf6ace1e9540
sha512=a66281555b4feb75fd340a0424fcb2936f2887b73930c066b67b5829c9b17fb28b5994b27824a371dcae6cc3d340aedb3cdfdf01d173019475e49a63eed48bde

Description

Owee is an experimental library to work with DWARF format. It can parse ELF binaries and interpret DWARF debugline programs.

It can also be used to find locations of functions from the current process.

Published: 19 May 2023

README

README.md

Owee is an experimental library to work with DWARF format.

OCaml users might find the Owee_location module interesting.

Provided an executable:

  • runs on Linux,

  • runs on a 64-bit x86 architecture,

  • contains debug symbols generated with DWARF 2 to DWARF 4,

  • contains native code,

  • is not relocated, and

  • does not use Dynlink.

Then it gives you the location of the definition of an arbitrary functional value. Linking the library is enough, no change to the toolchain is required.

There is partial support for DWARF 5; only symbol names and filenames are fully tested.

These restrictions can be relaxed. Open issues for platform you'd find interesting to support & on which you can test the library.

Dependencies (2)

  1. dune >= "2.0"
  2. ocaml >= "4.06"

Dev Dependencies

None

Conflicts

None