mirror of https://github.com/a0rtega/pafish
Disabled check_hook_DeleteFileW_m1 because it causes FP in Win 8
This commit is contained in:
parent
1c7d5c3f2b
commit
21efd60b45
|
@ -10,6 +10,7 @@ static int check_hook_m1(DWORD * dwAddress) {
|
|||
return (*b == 0x8b) && (*(b+1) == 0xff) ? FALSE : TRUE;
|
||||
}
|
||||
|
||||
/* Causes FP in Win 8 */
|
||||
int check_hook_DeleteFileW_m1() {
|
||||
return check_hook_m1((DWORD *)DeleteFileW);
|
||||
}
|
||||
|
|
|
@ -153,10 +153,6 @@ int main(void)
|
|||
|
||||
/* Hooks detection tricks */
|
||||
print_check_group("Hooks detection");
|
||||
exec_check("Checking function DeleteFileW method 1",
|
||||
&check_hook_DeleteFileW_m1,
|
||||
"Hooks traced using DeleteFileW method 1",
|
||||
"hi_hooks_deletefilew_m1");
|
||||
exec_check("Checking function ShellExecuteExW method 1",
|
||||
&check_hook_ShellExecuteExW_m1,
|
||||
"Hooks traced using ShellExecuteExW method 1",
|
||||
|
|
Loading…
Reference in New Issue