rebind1
Modify the binding of global variables in an elf object file
Usage
rebind [OPTIONS]
FILE
[SYMBOL ...]
Overview
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.
Options
-
-b, --binding=BIND -
Change the binding of the chosen symbols to BIND. BIND must be either
globalorweak.
-
-v, --visibility=VIS -
Change the visibility of the chosen symbols to VIS. VIS must be one of
default,hidden,internal, orprotected.
-
-w, --weaken -
Shorthand for
--binding=weak.
-
-h, --hide -
Shorthand for
--visibility=hidden.
-
-i, --verbose -
Display on standard output what symbols are changed.
-
--help -
Display help and exit.
-
--version -
Display version information and exit.
Releases
Unchanged in 2 releases since Debian 13 (Trixie).