Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
LD_PRELOAD 为整个过程挂钩了一些函数,但我只需要通过其名称为一个动态链接库挂钩一个特定的函数。
请参阅共享 ELF 库中的重定向函数一文。附有ELF挂钩的代码。