24 lines
503 B
C++
24 lines
503 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: ProcessMap.hpp
|
|
Date: 2021-6-10
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::Process
|
|
{
|
|
struct Segment
|
|
{
|
|
AuUInt base;
|
|
AuUInt size;
|
|
char perms[6];
|
|
AuString module;
|
|
};
|
|
using Segments = AuList<Segment>;
|
|
|
|
AUKN_SYM AuOptional<Segment> GetSegment(AuUInt pointer);
|
|
AUKN_SYM Segments DumpExecutableRoot();
|
|
AUKN_SYM Segments DumpExecutableAll();
|
|
} |