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

Functions which is weak symbol will be hooked, is it nessasary? #51

Open
demon90s opened this issue Sep 28, 2023 · 1 comment
Open

Functions which is weak symbol will be hooked, is it nessasary? #51

demon90s opened this issue Sep 28, 2023 · 1 comment

Comments

@demon90s
Copy link

Some functions, like template member functions, or normal member functions defined in a header file, would be as weak symbol.

When we write something like std::vector<std::string> , it will generate some code from compiler. If we hook these functions, is there any thread safe issue?

@ddovod
Copy link
Owner

ddovod commented Jul 10, 2024

As I mentioned in the readme, this library is not thread safe. I'm not completely understanding your specific case, but I'm sure it won't be thread safe as well because in this kind of applications thread safety is very complicated and not easily achievable, at least I didn't find the way to do this.

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

No branches or pull requests

2 participants