Hotpatch is a library that can be used to dynamically load a shared library (.so file) on Linux from one process into another already running process, without affecting the execution of the target processs. The API is a C API, but also supported in C++. It is limited to the Intel x86 and x86-64 (amd64) architectures.

Hotpatch is BSD licensed and the C API should allow you to write wrappers in other languages such as Python, Perl etc.

The source code can be found on Github and has had interest from about 100 users.

I would love to hear how you choose to use this library, so email me or contact me on Twitter or open an issue on Github.

Donate DOGECOIN to DBevjMg3fd8C5oxZbV8sFpAffo6Tas1s8Q. DBevjMg3fd8C5oxZbV8sFpAffo6Tas1s8Q Donate BITCOIN to 19hrWWw1dPvBE1wVPfCnH8LqnUwsT3NsHW. 19hrWWw1dPvBE1wVPfCnH8LqnUwsT3NsHW
As an Amazon Associate I earn from qualifying purchases.