summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h')
-rw-r--r--lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
index d367dcdc044..2a437c0ca90 100644
--- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
+++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
@@ -34,6 +34,17 @@ public:
size_t PutSTDIN(const char *buf, size_t buf_size, lldb_private::Error &error) override;
lldb::addr_t GetImageInfoAddress() override;
+
+protected:
+ // These decode the page protection bits.
+ static bool
+ IsPageReadable(uint32_t protect);
+
+ static bool
+ IsPageWritable(uint32_t protect);
+
+ static bool
+ IsPageExecutable(uint32_t protect);
};
}
OpenPOWER on IntegriCloud