Crates.io | symtool |
lib.rs | symtool |
version | 0.1.4 |
source | src |
created_at | 2019-11-08 03:04:39.333504 |
updated_at | 2021-04-30 01:03:51.602674 |
description | symtool edits static symbol tables of MachO and ELF object files and archives |
homepage | |
repository | https://github.com/calebzulawski/symtool |
max_upload_size | |
id | 179229 |
size | 33,371 |
Static symbol manipulation tool for ELF and Mach-O objects
Download the latest release for your operating system.
brew tap calebzulawski/symtool http://github.com/calebzulawski/symtool.git
brew install symtool
cargo install symtool
Supports ELF and Mach-O objects, and archives of objects.
Hide all symbols starting with foo
and expose all symbols ending in bar
.
symtool --hidden "^foo" --default "bar$" input.o output.o
Rename the symbol foo
to bar
.
symtool --rename foo bar input.o output.o
Note: symbols are renamed in-place so the new name cannot be longer than the original.
symtool is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.