$ addr2line

v0.26.1

A cross-platform symbolication library written in Rust, using `gimli`

Downloads: 362.5M
Recent: 63.0M
Versions: 36
Updated: March 29, 2026

Latest Update Summary

Crate

Name: addr2line New version: 0.26.0 Release date: 2026-01-24T06:05:08.811292Z

Crate readme

Short description addr2line provides a cross-platform library for retrieving per-address debug information from files with DWARF debug information.

Long description The crate can return the file name, line number, and function name associated with a given address, as well as the inline call stack leading to that address. It includes a CLI wrapper around the library that provides functionality similar to the addr2line command line tool from GNU binutils. The library optimizes for speed by caching parsed information and performs similarly to existing tools. Benchmarks show a performance improvement in all cases.

Features • Cargo feature flags • cross-platform • command line interface • memory management • performance optimization

Code Examples Add to Cargo.toml

 addr2line = "*"

Basic usage

 let mut loader = addr2line::Loader::new("path/to/file");
let location = loader.find_location(address);

Find frames

 let frames = loader.find_frames(address);

Linkshttps://crates.io/crates/addr2linehttps://docs.rs/addr2linehttps://sourceware.org/binutils/docs/binutils/addr2line.htmlhttps://www.apache.org/licenses/LICENSE-2.0https://opensource.org/licenses/MIT

https://docs.rs/addr2line

Release info

Release version: N/A

Release description N/A

Code Examples N/A

Patch update: 0.26.0 → 0.26.1

$ DOWNLOADS TREND

257.1M362.5M

$ VERSION HISTORY

v0.26.1March 29, 2026
v0.26.0January 24, 2026
v0.25.1September 13, 2025

$ LINKS

$ INSTALL

cargo add addr2line

Or add to Cargo.toml: addr2line = "0.26.1"