This patch proposes to use function addresses rather than name internally.
This enables users to hook functions by name (like before) or address.
If multiple functions match one name, then all the functions are hooked. This helps when loading multiple files at different addresses having some common symbols.
This patch also adds a test to make sure hooking by address works.
This patch proposes to use function addresses rather than name internally.
This enables users to hook functions by name (like before) or address. If multiple functions match one name, then all the functions are hooked. This helps when loading multiple files at different addresses having some common symbols.
This patch also adds a test to make sure hooking by address works.
🎧