Crates.io | linkmap |
lib.rs | linkmap |
version | 0.1.1 |
source | src |
created_at | 2022-02-17 01:33:10.281276 |
updated_at | 2022-02-17 01:35:07.513327 |
description | 🦀️Linkmap file parse library |
homepage | |
repository | https://github.com/everettjf/linkmap-rs |
max_upload_size | |
id | 533716 |
size | 18,241 |
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);
}