Skip to content

Commit f895c9a

Browse files
fix a minor bug.
1 parent 5cd4c94 commit f895c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WinArk/ProcessInlineHookTable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ void CProcessInlineHookTable::CheckInlineHook(uint8_t* code, size_t codeSize,
717717
if (remainSize < patternSize) {
718718
break;
719719
}
720-
bool find = Helpers::SearchPattern(x86HookType3, 0xCC, patternSize,
720+
bool find = Helpers::SearchPattern(x86HookType6, 0xCC, patternSize,
721721
(void*)searchAddr, remainSize, &pFound);
722722
if (find) {
723723
if (pFound == NULL) {

0 commit comments

Comments
 (0)