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

Release v0.0.7 #154

Merged
merged 21 commits into from
Jun 17, 2024
Merged

Release v0.0.7 #154

merged 21 commits into from
Jun 17, 2024

Conversation

hariharan-devarajan
Copy link
Member

No description provided.

hariharan-devarajan and others added 21 commits April 18, 2024 23:45
In cases, like in OpenCL, the main library (OpenCL) acts as a wrapper for other implementations (libamdocl64.so). In this case both have same function names implemented. If we wrap OpenCL functions with gotcha which dynamically loads libamdocl64.so with same function name, we should not return a wrapper meant to intercept OpenCL.
So we should check if the wrapper given to the caller of dlsym is for the same wrappee as requested by the caller.
This is required to ensure we only wrap functions that are available at the time of wrapping.
Added a null check as we should not find null entries.
Fix for not wrapping a function for a different Wrappee.
Added code for version macro for code to check.
@hariharan-devarajan hariharan-devarajan merged commit 9cc0088 into master Jun 17, 2024
4 checks passed
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