Bitdefender Hypervisor Memory Introspection
slack.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020 Bitdefender
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 #ifndef _SLACK_H_
6 #define _SLACK_H_
7 
8 #include "introtypes.h"
9 
10 
13  _In_opt_ QWORD ModuleBase,
14  _In_ BOOLEAN Pageable,
15  _In_ DWORD Size,
16  _Out_ QWORD *Buffer,
17  _In_opt_ QWORD SecHint
18  );
19 
22  _In_ QWORD Buffer
23  );
24 
25 void
27  void
28  );
29 
30 
31 #endif // _SLACK_H_
#define _In_opt_
Definition: intro_sal.h:16
#define _Out_
Definition: intro_sal.h:22
_Bool BOOLEAN
Definition: intro_types.h:58
#define _In_
Definition: intro_sal.h:21
int INTSTATUS
The status data type.
Definition: introstatus.h:24
INTSTATUS IntSlackAlloc(QWORD ModuleBase, BOOLEAN Pageable, DWORD Size, QWORD *Buffer, QWORD SecHint)
Allocate slack inside the guest.
Definition: slack.c:437
unsigned long long QWORD
Definition: intro_types.h:53
INTSTATUS IntSlackFree(QWORD Buffer)
Free slack space.
Definition: slack.c:499
uint32_t DWORD
Definition: intro_types.h:49
void IntSlackUninit(void)
Uninit the slack system. Must be called only during uninit.
Definition: slack.c:536