2022-05-21 19:58:09 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include "StringBase.h"
|
|
|
|
|
|
|
|
namespace Diagnostics
|
|
|
|
{
|
|
|
|
// Information about a loaded module
|
|
|
|
struct ProcessModule
|
|
|
|
{
|
|
|
|
// Returns the memory address that the module was loaded at.
|
|
|
|
uint64_t BaseAddress;
|
|
|
|
// Returns the amount of memory required to load the module.This does
|
|
|
|
// not include any additional memory allocations made by the module once
|
|
|
|
// it is running; it only includes the size of the static code and data
|
|
|
|
// in the module file.
|
|
|
|
uint64_t ModuleMemorySize;
|
|
|
|
// Returns the memory address for function that runs when the module is loaded and run.
|
|
|
|
uint64_t EntryPointAddress;
|
|
|
|
|
|
|
|
// Returns the name of the Module.
|
2022-05-21 21:51:35 +02:00
|
|
|
String ModuleName;
|
2022-05-21 19:58:09 +02:00
|
|
|
// Returns the full file path for the location of the module.
|
2022-05-21 21:51:35 +02:00
|
|
|
String FileName;
|
2022-05-21 19:58:09 +02:00
|
|
|
};
|
|
|
|
}
|