AuroraRuntime/Include/Aurora/Process/ProcessMap.hpp
2021-09-06 11:58:08 +01:00

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();
}