linkmap

Crates.iolinkmap
lib.rslinkmap
version0.1.1
sourcesrc
created_at2022-02-17 01:33:10.281276
updated_at2022-02-17 01:35:07.513327
description🦀️Linkmap file parse library
homepage
repositoryhttps://github.com/everettjf/linkmap-rs
max_upload_size
id533716
size18,241
everettjf (everettjf)

documentation

README

linkmap-rs

Linkmap file parse library for rust.

Usage :

ref examples/main.rs

  let linkmap = linkmap::parse_linkmap(&path, true)?;

  println!("path : {}", linkmap.path);
  println!("arch : {}", linkmap.arch);
  println!("object files:");
  for file in &linkmap.object_files {
      println!("{:?}", file);
  }
  println!("sections:");
  for section in &linkmap.sections {
      println!("{:?}", section);
  }
  println!("symbols:");
  for symbol in &linkmap.symbols {
      println!("{:?}", symbol);
  }
  println!("dead_stripped_symbols:");
  for symbol in &linkmap.dead_stripped_symbols {
      println!("{:?}", symbol);
  }
Commit count: 3

cargo fmt