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 either global or weak. 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 of default, hidden, internal, or protected. 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 © 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