Bitdefender Hypervisor Memory Introspection
thread_safeness.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 Bitdefender
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 #ifndef _THREAD_SAFENESS_H_
6 #define _THREAD_SAFENESS_H_
7 
8 #include "introtypes.h"
9 
16 
17 #define THS_CHECK_ONLY 0x00000001
18 #define THS_CHECK_DETOURS 0x00000010
19 #define THS_CHECK_MEMTABLES 0x00000020
20 #define THS_CHECK_TRAMPOLINE 0x00000040
21 #define THS_CHECK_PTFILTER 0x00000080
22 #define THS_CHECK_VEFILTER 0x00000100
23 #define THS_CHECK_SWAPGS 0x00000200
24 
25 
28 typedef enum
29 {
32 } THS_PTR_TYPE;
33 
36  _In_ QWORD Options
37  );
38 
39 #endif // _THREAD_SAFENESS_H_
40 
#define _In_
Definition: intro_sal.h:21
int INTSTATUS
The status data type.
Definition: introstatus.h:24
INTSTATUS IntThrSafeCheckThreads(QWORD Options)
Checks if any of the guest threads have their RIP or have any stack pointers pointing to regions of c...
A stack value.
unsigned long long QWORD
Definition: intro_types.h:53
The RIP of a thread.
THS_PTR_TYPE
The type of pointer to be checked.