An optimizied cache file for fast and memory efficient lookup of symbols and stack frames in debugging information

36 stable releases (4 major)

✓ Uses Rust 2018 edition

5.7.8 Jan 8, 2019
5.7.6 Dec 19, 2018
5.7.1 Nov 28, 2018
5.1.0 Jul 30, 2018
1.1.5 Dec 2, 2017

#21 in Caching

Download history 220/week @ 2018-10-17 71/week @ 2018-10-24 38/week @ 2018-10-31 186/week @ 2018-11-07 57/week @ 2018-11-14 41/week @ 2018-11-21 63/week @ 2018-11-28 202/week @ 2018-12-05 32/week @ 2018-12-12 66/week @ 2018-12-19 346/week @ 2018-12-26 1/week @ 2019-01-02 72/week @ 2019-01-09

465 downloads per month
Used in 1 crate

MIT license

15K SLoC

C++ 10K SLoC // 0.0% comments Rust 4.5K SLoC // 0.2% comments


Symbolic is a library written in Rust which is used at Sentry to implement symbolication of native stack traces, sourcemap handling for minified JavaScript and more. It consists of multiple largely independent crates which are bundled together into a C and Python library so it can be used independently of Rust.

What's in the package

Currently it provides the following functionality:

  • Symbolication based on custom cache files (symcache)
  • Symbol cache file generators from:
    • Mach and ELF symbol tables
    • Mach and ELF embedded DWARF data
    • Breakpad Symbol files
  • Demangling support
    • Swift
    • C++
    • Rust
  • JavaScript sourcemap expansion
    • Basic token mapping
    • Heuristics to find original function names based on minified sources
    • Indexed sourcemap to sourcemap merging
  • Proguard function mappings
  • Minidump / Breakpad processing
    • Generate Breakpad symbol files from Mach and ELF
    • Process Minidumps to resolve process state
  • Convenient C and Python library

Source Crates

A lot of functionality exposed by this library come from independent Rust crates for better use:

Additionally we use the following C++ libraries to fill in gaps:

Building and Development

Symbolic comes as a python library with prebuilt wheels for linux and macOS. On other operating systems or when using as rust library, you need to build symbolic manually. This always requires the latest stable Rust and Cargo, as well as a C++11 compiler.


Symbolic is licensed under the MIT license. It uses some Apache2 licensed code from Apple for the Swift demangling.


~131K SLoC