Skip to content

swift-dwarf v0.1.1

Choose a tag to compare

@0xpablo 0xpablo released this 18 Nov 10:44
· 3 commits to main since this release

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.