Management of global variables.
More...
#include "pch.h"
Management of global variables.
- Author
- Behrooz Abbassi (Behro.nosp@m.ozAb.nosp@m.bassi.nosp@m.@hyp.nosp@m.erdbg.nosp@m..org)
- Version
- 0.1
- Date
- 2022-03-29
- Copyright
- This project is released under the GNU Public License v3.
◆ GlobalGuestStateAllocateZeroedMemory()
Allocate guest state memory.
- Returns
- BOOLEAN
21{
23
24
25
26
28 {
30
32 {
33 LogError(
"Err, insufficient memory\n");
35 }
36 }
37
38
39
40
42
44}
#define TRUE
Definition BasicTypes.h:55
#define FALSE
Definition BasicTypes.h:54
VIRTUAL_MACHINE_STATE * g_GuestState
Save the state and variables related to virtualization on each to logical core.
Definition GlobalVariables.h:38
#define LogError(format,...)
Log in the case of error.
Definition HyperDbgHyperLogIntrinsics.h:113
PVOID PlatformMemAllocateNonPagedPool(SIZE_T NumberOfBytes)
Allocate a non-paged buffer.
Definition Mem.c:41
◆ GlobalGuestStateFreeMemory()
VOID GlobalGuestStateFreeMemory |
( |
VOID | | ) |
|
Free guest state memory.
- Returns
- VOID
53{
56}
VOID PlatformMemFreePool(PVOID BufferAddress)
Free (dellocate) a non-paged buffer.
Definition Mem.c:86
NULL()
Definition test-case-generator.py:530