REBIND(1) General Commands Manual REBIND(1)

rebind - modify the binding of global variables in an ELF object file

rebind [OPTIONS] FILE [SYMBOL ...]

rebind edits an ELF object file by changing the binding and/or visibility settings of one or more global symbols. Note that rebind modifies the object file directly.

After the name of the object file, the remaining arguments list the symbols to modify. If no symbols are specified on the command-line, symbol names are read from standard input.

-b, --binding=BIND
Change the binding of the chosen symbols to BIND. BIND must be either global or weak.
-v, --visibility=VIS
Change the visibility of the chosen symbols to VIS. VIS must be one of default, hidden, internal, or protected.
-w, --weaken
Shorthand for --binding=weak.
-h, --hide
Shorthand for --visibility=hidden.
-i, --verbose
Display on standard output what symbols are changed.
Display help and exit.
Display version information and exit.

Copyright © 2001, 2011 Brian Raiter <>.

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.

May 2011 ELF kickers 3.0