REBIND(1)
π rebind β the girlies' guide to rebind(1)
okay so bestie, welcome to the General Commands Manual page for rebind, and no cap this is one of those tiny tools that does one thing and does it iconically. π
β¨ NAME β¨
rebind β modify the binding of global variables in an ELF object file π¦
πΈ SYNOPSIS πΈ
rebind [OPTIONS] FILE [SYMBOL ...]
π DESCRIPTION π
okay so here's the tea: rebind edits an ELF object file by changing the binding and/or visibility settings of one or more global symbols. that's it, that's the whole job, and it ate. π
β οΈ lowkey important bestie: rebind modifies the object file directly. like, in place. no take-backs, no undo button, no "wait actually let me think about it". π₯
so the way it works: after the name of the object file, the remaining arguments list the symbols to modify. fr fr, just name them.
and if you don't specify any symbols on the command-line? then symbol names are read from standard input. so you can pipe them in like the main character you are. π
β¨ OPTIONS β¨
-b,--binding=BINDβ change the binding of the chosen symbols to BIND. and BIND has to be eitherglobalorweak. those are the only two options bestie, don't try to be creative. π-v,--visibility=VISβ change the visibility of the chosen symbols to VIS. VIS must be one ofdefault,hidden,internal, orprotected. four choices, all valid, pick your fighter. π-w,--weakenβ shorthand for--binding=weak. because typing is hard and we're all about convenience here. π-h,--hideβ shorthand for--visibility=hidden. same energy, different flag. π-i,--verboseβ display on standard output what symbols are changed. so you can watch yourself be productive. iconic behaviour tbh. β¨--helpβ display help and exit. the "help me bestie" button. π«Ά--versionβ display version information and exit. the "who even are you" button. π
π COPYRIGHT π
Copyright Β© 2001, 2011 Brian Raiter <breadbox@muppetlabs.com>. π§
License GPLv2+: GNU GPL version 2 or later. this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. (so like, if it breaks, that's on you bestie, but it also means you can remix it however you want. slay.) π
and that's the whole page!! this was ELF kickers 3.0, dropped way back in May 2011 β old but literally still serving. go forth and rebind your symbols, you've got this. βππ
π¦ where this page comes from
- arch rolling: elfkickers 3.2-6 Β· GPL-2.0-or-later
- debian trixie: elfkickers 0+git20240221+ds-5
- nixos 26.05: elfkickers 3.2
- nixpkgs unstable: elfkickers 3.2
- ubuntu resolute: elfkickers 3.2+ds-1
- ubuntu stonking: elfkickers 3.2+ds-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms