[Windows] A basic implementation of memory allocations in a debuggee process
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>
Thu, 1 Nov 2018 08:54:38 +0000 (08:54 +0000)
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>
Thu, 1 Nov 2018 08:54:38 +0000 (08:54 +0000)
commit9d5b2d4adc6d3ba29628d23173d4b078ba42d5fd
treed0f2f844a9c20a0118bda8974c7eb60fc754e73c
parent3d347bf545d51156b3c1bf6ed93100369568a550
[Windows] A basic implementation of memory allocations in a debuggee process

Summary:
This patch adds a basic implementation of `DoAllocateMemory` and
`DoDeallocateMemory` for Windows processes. For now it considers only the
executable permission (and always allows reads and writes).

Reviewers: zturner, asmith, stella.stamenova, labath, clayborg

Reviewed By: zturner

Subscribers: Hui, vsk, jingham, aleksandr.urakov, clayborg, abidh, teemperor, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D52618

llvm-svn: 345815
lldb/lit/Expr/TestIRMemoryMap.test
lldb/lit/Expr/TestIRMemoryMapWindows.test [new file with mode: 0644]
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h