Disabled check_hook_DeleteFileW_m1 because it causes FP in Win 8

This commit is contained in:
Alberto Ortega 2015-12-28 16:21:38 +01:00
parent 1c7d5c3f2b
commit 21efd60b45
2 changed files with 1 additions and 4 deletions

View File

@ -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);
}

View File

@ -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",