From 0c35cde9b1fd0e7b54e77e7ba14116af6aae0ea9 Mon Sep 17 00:00:00 2001 From: Adrian McCarthy Date: Fri, 4 Dec 2015 22:22:15 +0000 Subject: Implement GetMemoryRegionInfo for mini dumps. Differential Revision: http://reviews.llvm.org/D15218 llvm-svn: 254780 --- lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h') 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); }; } -- cgit v1.2.3