File: rebind.1

package info (click to toggle)
elfkickers 3.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 752 kB
  • sloc: ansic: 8,648; makefile: 125
file content (62 lines) | stat: -rw-r--r-- 1,448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.TH REBIND 1 "May 2011" "ELF kickers 3.0"
.LO 1
.SH NAME
rebind \- modify the binding of global variables in an ELF object file
.SH SYNOPSIS
.B rebind
[OPTIONS] FILE [SYMBOL ...]
.SH DESCRIPTION
.B rebind
edits an ELF object file by changing the binding and/or visibility
settings of one or more global symbols. Note that
.B rebind
modifies the object file directly.
.P
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.
.SH OPTIONS
.TP
\fB\-b\fR, \fB\--binding=\fR\fIBIND\fR
Change the binding of the chosen symbols to
.IR BIND .
.I BIND
must be either
.B global
or
.BR weak .
.TP
\fB\-v\fR, \fB\--visibility=\fR\fIVIS\fR
Change the visibility of the chosen symbols to
.IR VIS .
.I VIS
must be one of
.BR default ,
.BR hidden ,
.BR internal ,
or
.BR protected .
.TP
.BR \-w ", " \--weaken
Shorthand for
.BR \--binding=weak .
.TP
.BR \-h ", " \--hide
Shorthand for
.BR \--visibility=hidden .
.TP
.BR \-i ", " \--verbose
Display on standard output what symbols are changed.
.TP
.B \--help
Display help and exit.
.TP
.B \--version
Display version information and exit.
.SH COPYRIGHT
Copyright \(co 2001, 2011 Brian Raiter
.IR <breadbox@muppetlabs.com> .
.P
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.