| 55 | } |
| 56 | |
| 57 | bool BypassAntiKernelDbg::Unbypass() { |
| 58 | NTSTATUS status = DetourDetach((PVOID*)&g_pNtQuerySystemInformation, HookNtQuerySystemInformation); |
| 59 | if (!NT_SUCCESS(status)) |
| 60 | return false; |
| 61 | |
| 62 | status = DetourTransactionCommit(); |
| 63 | if (!NT_SUCCESS(status)) |
| 64 | return false; |
| 65 | |
| 66 | return true; |
| 67 | } |
nothing calls this directly
no test coverage detected