patchelf

Crates.iopatchelf
lib.rspatchelf
version0.2.1
sourcesrc
created_at2023-11-13 11:52:55.503339
updated_at2023-11-14 08:46:04.275937
descriptionpatchelf rust bindings
homepage
repositoryhttps://github.com/spinpx/patchelf-rs
max_upload_size
id1033574
size1,868,182
sp1npx (spinpx)

documentation

README

patchelf-rs

Crates.io docs.rs

Rust FFI for patchelf that we can call patchelf directly in a dirty way.

[dependencies]
patchelf = "0.2.1"

Usage

  • set soname
PatchElf::config()
   .input("libpng.so")
   .output("libpng2.so")
   .set_soname("libpng2.so")
   .patch();
  • print soname
PatchElf::config()
   .input("libz.so")
   .print_soname()
   .patch();

Seed doc for more usages.

Commit count: 11

cargo fmt