Skip to content

Releases: 0xpablo/swift-dwarf

swift-dwarf v0.1.3

22 Dec 10:47

Choose a tag to compare

What's Changed

  • Update libdwarf submodule (sync upstream fixes)

Full Changelog: v0.1.2...v0.1.3

swift-dwarf v0.1.2

14 Dec 22:41
2706ff0

Choose a tag to compare

What's Changed

  • Fix DW_AT_ranges decoding for DW_FORM_sec_offset by @0xpablo in #1

Full Changelog: v0.1.1...v0.1.2

swift-dwarf v0.1.1

18 Nov 10:44

Choose a tag to compare

Initial Release

This is the first public release of swift-dwarf, a Swift wrapper for libdwarf providing type-safe access to DWARF debugging information.

Features

  • DWARF Parsing: Read and parse DWARF debug information from binaries, dSYM bundles, and object files
  • Symbolication: Convert addresses to source locations with inline frame support
  • Type-Safe APIs: Swift-native wrappers around libdwarf's C interface
  • Symbol Demangling: Built-in support for Swift and C++ symbol demangling
  • UUID Extraction: Extract UUIDs from Mach-O binaries for dSYM matching
  • Universal Binary Support: Handle multi-architecture Mach-O files
  • Cross-Platform: Works on both macOS and Linux

Documentation

Documentation is available on Swift Package Index.

Acknowledgments

This library includes a patched version of libdwarf with some fixes that will be upstreamed.