How Our Engineers Hot-Patched a Third Party Binary Library
Dec 7, 2023ndepalo

Summary
This post details the challenges encountered when attempting to hot-patch a third-party binary library. It covers the intricacies of shared library versioning (soname), the limitations of manual binary editing due to ELF's offset-based referencing and symbol versioning, and the subsequent use and modification of the `patchelf` tool to address ELF segment alignment issues introduced by the tool.