2021-06-27 21:25:29 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
2021-06-27 21:33:58 +00:00
|
|
|
File: ProcessMap.hpp
|
2021-06-27 21:25:29 +00:00
|
|
|
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>;
|
|
|
|
|
2021-09-06 10:58:08 +00:00
|
|
|
AUKN_SYM AuOptional<Segment> GetSegment(AuUInt pointer);
|
2021-06-27 21:25:29 +00:00
|
|
|
AUKN_SYM Segments DumpExecutableRoot();
|
|
|
|
AUKN_SYM Segments DumpExecutableAll();
|
|
|
|
}
|