Prevanders
prevanders.net › libdwarfdoc
libdwarf: A Consumer Library Interface to DWARF
Project page is at https://github.com/davea42/libdwarf-code · There is a Releases area on the project page, click Latest and you will be presented with options to download the source in three different forms. For details on licensing, see COPYING in the files list. README.md may be of interest (automatically shown on the project page on github). Examples of using libdwarf are in doc/checkexamples.c and src/bin/dwarfexamples.
Dwarfstd
wiki.dwarfstd.org › Libdwarf_And_Dwarfdump.md
Libdwarf And Dwarfdump - Wiki - DWARF Debugging Standard
Dwarfdump is an application using libdwarf to print dwarf information in a human readable format. It is also open sourced and is copyrighted GPL. It provides an example of using libdwarf to read DWARF2/¾/5 information as well as providing readable text output.
GitHub
github.com › davea42 › libdwarf-code
GitHub - davea42/libdwarf-code: Contains source for libdwarf, a library for reading DWARF2 and later DWARF. Contains source to create dwarfdump, a program which prints DWARF2 and later DWARF in readable format. Has a very limited DWARF writer set of functions in libdwarfp (producer library). Builds using GNU configure, meson, or cmake. · GitHub
These examples show doing a build in a directory different than the source as that is generally recommended practice. Note: if you get a build failure that mentions something about test/ and missing .Po object files add --disable-dependency-tracking to the configure command. rm -rf /tmp/build mkdir /tmp/build cd /tmp tar xf <path to>/libdwarf-0.4.2.tar.xz cd /tmp/build /tmp/libdwarf-0.4.2/configure make make check
Starred by 256 users
Forked by 87 users
Languages C 86.3% | HTML 6.7% | C++ 3.7% | Shell 0.8% | Python 0.7% | CMake 0.6%
Dwarfstd
wiki.dwarfstd.org › index.php
Libdwarf And Dwarfdump - wiki.dwarfstd.org
Dwarfdump is an application using libdwarf to print dwarf information in a human readable format. It is also open sourced and is copyrighted GPL. It provides an example of using libdwarf to read DWARF2/3/4/5 information as well as providing readable text output.
Prevanders
prevanders.net › dwarf.html
DWARF Page
BIG-ENDIAN system support has been provided by the IBM linuxone project starting in 2019. We now can test on a big-endian s390 system in a Linux VM. Thank you IBM. As of 06 October 2019 libdwarf dwarfdump and readelfobj/readobjpe/readobjmacho pass -all- tests on an IBM big endian machine, one is happy to report.
Kamalmarhubi
kamalmarhubi.com › blog › 2016 › 07 › 25 › some-things-i-learned-about-libdwarf
Some things I learned about libdwarf
July 25, 2016 - Most libdwarf functions take a Dwarf_Error* as their last argument. If you pass a non-null pointer, then error data will stored there. If a null pointer is passed, then the library calls abort() on your behalf instead. Except if you passed an error handler callback when creating the Dwarf_Debug instance: errors will get passed to your callback.
GitHub
github.com › WolfgangSt › libdwarf › blob › master › dwarfexample › simplereader.c
libdwarf/dwarfexample/simplereader.c at master · WolfgangSt/libdwarf
modified libdwarf that compiles with VC. Contribute to WolfgangSt/libdwarf development by creating an account on GitHub.
Author WolfgangSt
Indiana University
legacy.cs.indiana.edu › scheme-repository › libscheme-vhll › node7.html
An Example
DWARF is a full-featured and complex debugging information format [7]. Our example program, dwarfscheme, is an interface that allows the user to browse DWARF information in an object file by providing stubs to the libdwarf [8] library.
Debian
sources.debian.org › src › dwarfutils › 20210528-1 › libdwarf › libdwarf2.1.pdf pdf
A Consumer Library Interface to DWARF David Anderson 1. INTRODUCTION
Figure 7. Example1 dwarf_attrlist() ... Dwarf_Debug type. In particular, it will deallocate all dynamically allocated space · associated with the Dwarf_Debug descriptor, and finally make the descriptor invalid. ... September 2020 and later libdwarf.
Prevanders
prevanders.net › libdwarfreadme.html
This is libdwarf README.md
January 28, 2026 - These examples show doing a build in a directory different than the source as that is generally recommended practice. Note: if you get a build failure that mentions something about test/ and missing .Po object files add --disable-dependency-tracking to the configure command. rm -rf /tmp/build mkdir /tmp/build cd /tmp tar xf <path to>/libdwarf-0.4.2.tar.xz cd /tmp/build /tmp/libdwarf-0.4.2/configure make make check
GitHub
github.com › davea42 › libdwarf-code › blob › main › README.md
libdwarf-code/README.md at main · davea42/libdwarf-code
These examples show doing a build in a directory different than the source as that is generally recommended practice. Note: if you get a build failure that mentions something about test/ and missing .Po object files add --disable-dependency-tracking to the configure command. rm -rf /tmp/build mkdir /tmp/build cd /tmp tar xf <path to>/libdwarf-0.4.2.tar.xz cd /tmp/build /tmp/libdwarf-0.4.2/configure make make check
Author davea42
GitHub
github.com › avast › libdwarf › blob › master › libdwarf › dwarfexample › simplereader.c
libdwarf/libdwarf/dwarfexample/simplereader.c at master · avast/libdwarf
January 27, 2020 - specials used by the libdwarf regresson test suite). Examples given assuming dwp object fissionb-ld-new.dwp · from the regressiontests · --tuhash=hashvalue · example: --tuhash=b0dd19898e8aa823 · It prints a DIE. · --cuhash=hashvalue ·
Author avast
IBM
ibm.com › docs › en › zos › 2.4.0
Reading DWARF data from an ELF object file with libelf ...
Get assistance for the IBM products, services and software you own · Provides fixes and updates for your system's software, hardware, and operating system
Prevanders
prevanders.net › libdwarfdoc › group__jitreader.html
libdwarf: Demonstrating reading DWARF without a file.
Used to access DWARF information in memory or in an object format unknown to libdwarf.
GitHub
github.com › alexanderkyte › libdwarf
GitHub - alexanderkyte/libdwarf
./configure make all To also build ... to create a new distro, do ./CPTOPUBLIC ./BLDLIBDWARF yyyymmdd where that could be ./BLDLIBDWARF 20140131 as an example....
Forked by 22 users
Languages C 78.8% | Objective-C++ 13.5% | C++ 6.0% | Roff 0.7% | Shell 0.6% | Python 0.2% | C 78.8% | Objective-C++ 13.5% | C++ 6.0% | Roff 0.7% | Shell 0.6% | Python 0.2%
GitHub
github.com › stephenrkell › libdwarfpp
GitHub - stephenrkell/libdwarfpp: A high-level API for accessing DWARF debugging information, in C++ · GitHub
(You don't need to worry about that if you're using the libdwarf submodule.) There's not much documentation for the library. The easiest way to get started is probably to look at the (smaller) examples in examples/. What's included: - an iterator-based DIE tree abstraction (root_die) - friendly abstraction of DIE attributes, location lists etc.
Starred by 29 users
Forked by 14 users
Languages C++ 92.3% | Python 4.5% | Makefile 2.0%
OpenSUSE Manpages
manpages.opensuse.org › tumbleweed › libdwarf-tools › dwarfdump(1)
dwarfdump(1) — libdwarf-tools
March 30, 2025 - For example, "DW_AT_const_value 176(as signed = -80)". For normal DWARF consumers that correctly and fully evaluate all attributes there is no ambiguity of signedness: the ambiguity for dwarfdump is due to dwarfdump evaluating DIEs in a simple order and not keeping track of much context.
Arch Linux
archlinux.org › packages › extra › x86_64 › libdwarf
Arch Linux - libdwarf 1:2.3.1-1 (x86_64)
View the file list for libdwarf · View the soname list for libdwarf · Copyright © 2002-2026 Judd Vinet, Aaron Griffin and Levente Polyák. The Arch Linux name and logo are recognized trademarks. Some rights reserved.