package owee

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

Install

Dune Dependency

Authors

Maintainers

Sources

owee-0.5.tbz
sha256=13bebc6ac380786b580632a258a0a93641b7a2d94c426bff43c2faacbe1badbe
sha512=bb410cf6d8b3a171712142ff99dc97d4aab46d5a5fe348d652db3131ce0d0786cebd945b9fcb587315d4451464c1f4d63025434b73c4d608bbaabec59d11a733

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: 03 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

OCaml

Innovation. Community. Security.