-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detours hooking is incompatible with AnsiCon.
Detours effectively gives Clink's hooks the lowest precedence. Clink's hooks need to have high precedence in order to successfully detect when CMD prints the prompt. This reverts Clink to use IAT hooking by default. And it goes further, using IAT hooking even for ReadConsoleW, which had always used address hooking. Originally everything used address hooking, and Martin slowly converted things to use IAT hooks, but never converted ReadConsoleW. Clink can be forced to use Detours hooking via `clink inject --detours`. But don't use `--detours` unless it's the only way to get Clink working.
- Loading branch information
1 parent
a986b25
commit ba71118
Showing
9 changed files
with
279 additions
and
40 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
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
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
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
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
Oops, something went wrong.