$ addr2line
v0.26.1A cross-platform symbolication library written in Rust, using `gimli`
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);
Links • https://crates.io/crates/addr2line • https://docs.rs/addr2line • https://sourceware.org/binutils/docs/binutils/addr2line.html • https://www.apache.org/licenses/LICENSE-2.0 • https://opensource.org/licenses/MIT
Release info
Release version: N/A
Release description N/A
Code Examples N/A
Patch update: 0.26.0 → 0.26.1
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add addr2lineOr add to Cargo.toml: addr2line = "0.26.1"