AuroraRuntime/Include/Aurora/Process/ProcessMap.hpp

24 lines
503 B
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
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();
}