1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

UserspaceEmulator: Add ways to check if a Region is stack/mmap

This commit is contained in:
Andreas Kling 2020-07-16 17:04:04 +02:00
parent 9f1221c785
commit 7e13244238
3 changed files with 8 additions and 0 deletions

View file

@ -55,6 +55,7 @@ public:
private:
MmapRegion(u32 base, u32 size, int prot);
virtual bool is_mmap() const override { return true; }
u8* m_data { nullptr };
int m_prot { 0 };