Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook functions by address #44

Closed
wants to merge 1 commit into from
Closed

Conversation

erdnaxe
Copy link
Contributor

@erdnaxe erdnaxe commented Nov 30, 2022

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.

🎧

@erdnaxe
Copy link
Contributor Author

erdnaxe commented Sep 27, 2023

Closing in favor of #51

@erdnaxe erdnaxe closed this Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant