#include "MemoryImpl.h"
#include "miniddk.h"
#include "smbios/message.h"
Go to the source code of this file.
Namespaces | |
namespace | memory |
Defines | |
#define | LIBSMBIOS_SOURCE |
Functions | |
int | LoadNtdllFuncs (void) |
HANDLE | OpenMemAccess (void) |
int | CloseMemAccess (HANDLE hPhysMem) |
int | MapMem (HANDLE hPhysMem, PVOID pBaseAddr, PDWORD pPhysAddr, PDWORD pSize) |
int | UnMapMem (PVOID pBaseAddr) |
BOOL | setPrivilege (LPCTSTR privilegeName, BOOL enable) |
void | readPhysicalMemoryMap (HANDLE hPhysMem, u8 *buffer, u64 offset, unsigned int length) |
void | readPhysicalMemoryDebugSysctl (u8 *buffer, u64 offset, unsigned int length) |
void | enumSystemFirmwareTables (u8 *buffer, u64 offset, unsigned int length) |
Variables | |
NtOpenSectionPtr | NtOpenSection = NULL |
NtClosePtr | NtClose = NULL |
NtMapViewOfSectionPtr | NtMapViewOfSection = NULL |
NtUnmapViewOfSectionPtr | NtUnmapViewOfSection = NULL |
RtlInitUnicodeStringPtr | RtlInitUnicodeString = NULL |
ZwSystemDebugControlPtr | ZwSystemDebugControl = NULL |
EnumSystemFirmwareTablesPtr | EnumSystemFirmwareTables = NULL |
GetSystemFirmwareTablePtr | GetSystemFirmwareTable = NULL |
u8 * | CBlockBuffer = NULL |
u8 * | EBlockBuffer = NULL |
|
Definition at line 19 of file Memory_Windows.cpp. |
|
Definition at line 97 of file Memory_Windows.cpp. References NT_SUCCESS, memory::NtClose, and NTSTATUS. |
|
Definition at line 253 of file Memory_Windows.cpp. References _, memory::CBlockBuffer, memory::EBlockBuffer, memory::EnumSystemFirmwareTables, smbios::GetSystemFirmwareTable, and u8. |
|
Definition at line 49 of file Memory_Windows.cpp. References memory::EnumSystemFirmwareTables, memory::GetSystemFirmwareTable, memory::NtClose, memory::NtMapViewOfSection, memory::NtOpenSection, memory::NtUnmapViewOfSection, and memory::RtlInitUnicodeString. |
|
Definition at line 111 of file Memory_Windows.cpp. References NT_SUCCESS, NtCurrentProcess, memory::NtMapViewOfSection, NTSTATUS, PHYSICAL_ADDRESS, and ViewShare. Referenced by memory::readPhysicalMemoryMap(). |
|
Definition at line 78 of file Memory_Windows.cpp. References InitializeObjectAttributes, NT_SUCCESS, memory::NtOpenSection, NTSTATUS, OBJ_CASE_INSENSITIVE, OBJECT_ATTRIBUTES, memory::RtlInitUnicodeString, SECTION_MAP_READ, and UNICODE_STRING. |
|
Definition at line 227 of file Memory_Windows.cpp. References _, DebugSysReadPhysicalMemory, NT_SUCCESS, NTSTATUS, and memory::ZwSystemDebugControl. |
|
Definition at line 171 of file Memory_Windows.cpp. References _, memory::MapMem(), and memory::UnMapMem(). |
|
Definition at line 146 of file Memory_Windows.cpp. |
|
Definition at line 132 of file Memory_Windows.cpp. References NT_SUCCESS, NtCurrentProcess, NTSTATUS, and memory::NtUnmapViewOfSection. Referenced by memory::readPhysicalMemoryMap(). |
|
Definition at line 46 of file Memory_Windows.cpp. Referenced by memory::enumSystemFirmwareTables(). |
|
Definition at line 47 of file Memory_Windows.cpp. Referenced by memory::enumSystemFirmwareTables(). |
|
Definition at line 44 of file Memory_Windows.cpp. Referenced by memory::enumSystemFirmwareTables(), and memory::LoadNtdllFuncs(). |
|
Definition at line 45 of file Memory_Windows.cpp. Referenced by memory::LoadNtdllFuncs(). |
|
Definition at line 38 of file Memory_Windows.cpp. Referenced by memory::CloseMemAccess(), and memory::LoadNtdllFuncs(). |
|
Definition at line 39 of file Memory_Windows.cpp. Referenced by memory::LoadNtdllFuncs(), and memory::MapMem(). |
|
Definition at line 37 of file Memory_Windows.cpp. Referenced by memory::LoadNtdllFuncs(), and memory::OpenMemAccess(). |
|
Definition at line 40 of file Memory_Windows.cpp. Referenced by memory::LoadNtdllFuncs(), and memory::UnMapMem(). |
|
Definition at line 41 of file Memory_Windows.cpp. Referenced by memory::LoadNtdllFuncs(), and memory::OpenMemAccess(). |
|
Definition at line 42 of file Memory_Windows.cpp. Referenced by memory::readPhysicalMemoryDebugSysctl(). |