<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Yesterday I wrote this Bash helper script as a wrapper around "objcopy --add-symbol". [1]<br></div>It reads the symbol information from a file, where they are stored one per line, in a format such as below:<br>    $ cat symbols.txt <br>    0x80480f1 .text write<br>    0x8048081 .text func1<br>    0x80480b9 .text func2<br>    0x8048091 .text func3<br>    0x80480c9 .text start<br>    0x80480fe .text exit<br></div><div>For a complete usage guide, run ./apply-symbols without parameters.<br></div><div>I am distributing this tool hoping that it will be useful. If you discover bugs or make patches to enhance its functionality, please let me know.<br></div><div><br></div>Thanks,<br></div>Vladimir<br><br><div><div>[1]: <a href="https://github.com/vladimiroltean/blog/blob/master/dotfiles/bin/apply-symbols">https://github.com/vladimiroltean/blog/blob/master/dotfiles/bin/apply-symbols</a><br></div></div></div>