| Crates.io | staticlib-fucker |
| lib.rs | staticlib-fucker |
| version | 0.1.0 |
| created_at | 2025-07-31 18:13:53.611575+00 |
| updated_at | 2025-07-31 18:13:53.611575+00 |
| description | A utility for mangling names in static object files. Mainly useful for leakage of non-exported symbols in Rust static libraries. |
| homepage | https://github.com/zeozeozeo/staticlib-fucker |
| repository | https://github.com/zeozeozeo/staticlib-fucker |
| max_upload_size | |
| id | 1775435 |
| size | 33,298 |
A utility for mangling names in static object files. Mainly useful for leakage of non-exported symbols in Rust static libraries. (see https://github.com/rust-lang/rust/issues/104707)
staticlib-fucker --input mylib.lib --output mylib_mangled.lib
This will mangle rust_eh_personality and __rust_no_alloc_shim_is_unstable by default.
If you want to provide a specific list of symbols to mangle:
staticlib-fucker --input mylib.lib --output mylib_mangled.lib --symbols mysym_1,mysym_2,mysym_3
use --help or -h for help:
A utility for mangling names in static object files. Mainly useful for leakage of non-exported symbols in Rust static libraries. (see https://github.com/rust-lang/rust/issues/104707)
Usage: staticlib-fucker.exe [OPTIONS] --input <INPUT> --output <OUTPUT>
Options:
-i, --input <INPUT>
-o, --output <OUTPUT>
--symbols <SYMBOLS> [default: __rust_no_alloc_shim_is_unstable,rust_eh_personality]
-h, --help Print help
-V, --version Print version