forked from Drifter321/DHooks2
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using the glibc heap for the trampoline
Use the known-rwx code allocator of SourcePawn like we do for the other code parts of the detour hooking logic. There seem to be problems with trying to make the C++ heap executable on CentOS 7+, so avoid using executable heap memory in the first place. Fixes #11 Fixes #22
- Loading branch information
1 parent
fb3cc73
commit 83c6ad5
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters