2022-01-24 21:37:50 +00:00
|
|
|
/***
|
2022-01-26 04:22:12 +00:00
|
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
2022-01-24 21:37:50 +00:00
|
|
|
|
2022-12-17 20:14:19 +00:00
|
|
|
File: AuProcessMap.hpp
|
2022-01-26 04:22:12 +00:00
|
|
|
Date: 2022-1-23
|
|
|
|
Author: Reece
|
2022-01-24 21:37:50 +00:00
|
|
|
***/
|
2022-01-24 18:37:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::Process
|
|
|
|
{
|
2022-01-26 04:22:12 +00:00
|
|
|
struct ModuleBasePair
|
|
|
|
{
|
|
|
|
AuString module;
|
|
|
|
AuUInt modBase;
|
|
|
|
};
|
2022-01-24 18:37:06 +00:00
|
|
|
|
2022-04-21 12:29:47 +00:00
|
|
|
void BorrowOtherSectionArray(const AuConsumer<AuList<Section>&> &callback);
|
2022-04-20 13:03:51 +00:00
|
|
|
|
2022-01-26 04:22:12 +00:00
|
|
|
PublicModule GetFromModuleCache(AuUInt handle);
|
|
|
|
void InsertModuleCache(const ModuleBasePair &pair, const AuSPtr<PublicModule> &mod);
|
|
|
|
void RemoveModuleCache(const ModuleBasePair &eitherOr);
|
|
|
|
bool IsInModuleCache(const ModuleBasePair &pair);
|
|
|
|
|
|
|
|
void InitProcessMap();
|
|
|
|
void DeinitProcessMap();
|
2022-01-24 18:37:06 +00:00
|
|
|
}
|