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
11
INTSTATUS
12
IntSlackAlloc
(
13
_In_opt_
QWORD
ModuleBase,
14
_In_
BOOLEAN
Pageable,
15
_In_
DWORD
Size,
16
_Out_
QWORD
*Buffer,
17
_In_opt_
QWORD
SecHint
18
);
19
20
INTSTATUS
21
IntSlackFree
(
22
_In_
QWORD
Buffer
23
);
24
25
void
26
IntSlackUninit
(
27
void
28
);
29
30
31
#endif // _SLACK_H_
_In_opt_
#define _In_opt_
Definition:
intro_sal.h:16
_Out_
#define _Out_
Definition:
intro_sal.h:22
BOOLEAN
_Bool BOOLEAN
Definition:
intro_types.h:58
_In_
#define _In_
Definition:
intro_sal.h:21
INTSTATUS
int INTSTATUS
The status data type.
Definition:
introstatus.h:24
IntSlackAlloc
INTSTATUS IntSlackAlloc(QWORD ModuleBase, BOOLEAN Pageable, DWORD Size, QWORD *Buffer, QWORD SecHint)
Allocate slack inside the guest.
Definition:
slack.c:437
introtypes.h
QWORD
unsigned long long QWORD
Definition:
intro_types.h:53
IntSlackFree
INTSTATUS IntSlackFree(QWORD Buffer)
Free slack space.
Definition:
slack.c:499
DWORD
uint32_t DWORD
Definition:
intro_types.h:49
IntSlackUninit
void IntSlackUninit(void)
Uninit the slack system. Must be called only during uninit.
Definition:
slack.c:536
introcore
include
slack.h
Generated by
1.8.13