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

Handle .cold functions on linux #4

Open
notnotmelon opened this issue Aug 12, 2024 · 0 comments
Open

Handle .cold functions on linux #4

notnotmelon opened this issue Aug 12, 2024 · 0 comments

Comments

@notnotmelon
Copy link
Member

The clang compiler seems to create duplicate functions in some cases. These are labeled .cold

We must require that cold functions are never directly detourable. Instead, whenever any function is detoured it must check if there exists a cold duplicate and detour both.

Also it is important to ensure that msvc does not have a similar concept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant