package owee

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

Install

Dune Dependency

Authors

Maintainers

Sources

owee-0.6.tbz
sha256=1b05d5e6de0661b0e21b0caf4325bc359a18be7e2a5e52e78d7df7d418f5c233
sha512=7ce0d29ef747a7d9c0da66aeccdd18d8e883d78a3c636966e287b2b3f114b300629afceac14b10e35c6edb70fc8d485047c51c08a06a06891bcc28836c947aca

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: 18 Apr 2022

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