EmeraldShift / owee

OCaml library to work with DWARF format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

OCaml library to work with DWARF format

License:MIT License


Languages

Language:OCaml 98.6%Language:C 1.4%