2022-08-10 09:50:49 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: IProcessSectionView.hpp
|
|
|
|
Date: 2022-08-09
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::Process
|
|
|
|
{
|
|
|
|
struct IProcessSectionMapView
|
|
|
|
{
|
|
|
|
virtual void Unmap() = 0;
|
|
|
|
|
|
|
|
virtual bool Flush(AuUInt offset, AuUInt length) = 0;
|
|
|
|
|
|
|
|
virtual AuUInt GetBaseAddress() = 0;
|
|
|
|
virtual AuUInt GetAddress(AuUInt offset) = 0;
|
|
|
|
|
|
|
|
virtual AuUInt8 *GetBasePointer() = 0;
|
|
|
|
virtual AuUInt8 *GetPointer(AuUInt offset) = 0;
|
2023-04-17 14:55:51 +00:00
|
|
|
|
|
|
|
virtual bool LockSwap() = 0;
|
|
|
|
virtual bool UnlockSwap() = 0;
|
2022-08-10 09:50:49 +00:00
|
|
|
};
|
|
|
|
}
|