mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-15 03:59:39 +00:00
43 lines
1.4 KiB
C
43 lines
1.4 KiB
C
/**
|
|
* @file Thread.h
|
|
* @author Sina Karvandi (sina@hyperdbg.org)
|
|
* @brief Header for kernel debugger functions for threads
|
|
* @details
|
|
*
|
|
* @version 0.1
|
|
* @date 2021-11-23
|
|
*
|
|
* @copyright This project is released under the GNU Public License v3.
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
//////////////////////////////////////////////////
|
|
// Functions //
|
|
//////////////////////////////////////////////////
|
|
|
|
BOOLEAN
|
|
ThreadInterpretThread(PROCESSOR_DEBUGGING_STATE * DbgState,
|
|
PDEBUGGEE_DETAILS_AND_SWITCH_THREAD_PACKET TidRequest);
|
|
|
|
VOID
|
|
ThreadEnableOrDisableThreadChangeMonitor(PROCESSOR_DEBUGGING_STATE * DbgState,
|
|
BOOLEAN Enable,
|
|
BOOLEAN IsSwitchByClockIntrrupt);
|
|
|
|
BOOLEAN
|
|
ThreadHandleThreadChange(PROCESSOR_DEBUGGING_STATE * DbgState);
|
|
|
|
BOOLEAN
|
|
ThreadQueryCount(PDEBUGGER_QUERY_ACTIVE_PROCESSES_OR_THREADS DebuggerUsermodeProcessOrThreadQueryRequest);
|
|
|
|
BOOLEAN
|
|
ThreadQueryList(PDEBUGGER_QUERY_ACTIVE_PROCESSES_OR_THREADS DebuggerUsermodeProcessOrThreadQueryRequest,
|
|
PVOID AddressToSaveDetail,
|
|
UINT32 BufferSize);
|
|
|
|
BOOLEAN
|
|
ThreadQueryDetails(PDEBUGGEE_DETAILS_AND_SWITCH_THREAD_PACKET GetInformationThreadRequest);
|
|
|
|
BOOLEAN
|
|
ThreadQueryDebugRegisterInterceptionStateByCoreId(UINT32 CoreId);
|