📄 readme
字号:
rebind is a small utility that allows one to modify the bindingstrength of an exported symbol in an ELF object file.There are two different types of global symbol bindings. The first isSTB_GLOBAL. A global symbol can appear in multiple ELF files, but itmust be an undefined reference in all but one place. The second typeof binding is STB_WEAK. A weak symbol acts identically to a globalsymbol only as long as there exists no global symbol with the samename. If there is, however, then the weak symbol is ignored in favorof the global symbol, and the condition is not treated as a namecollision error.The GNU C compiler permits the user to make a global function orvariable weak via the __attribute__ extension. The GNU assembler usesthe .weak directive to accomplish the same thing. Most other toolsoffer no way to export a weak symbol instead of a global one, so thisprogram can be seen as providing an alternate method for doing this.This program can also be used to directly see how changing a symbol'sbinding can affect the linking stage. And, hopefully, it also providesa template for writing other specialized programs for making minor,in-place modifications to ELF files.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -