GlobalAlloc and LocalAlloc are windows allocators that are frequently used in some older code bases. This adds interception and tests for those allocators with similar restrictions to the HeapAlloc and RtlHeapAllocate interceptors: moveable memory is not yet supported.
patch by Brijesh Rakholiya <Brijesh.Rakholia@microsoft.com> and Ian Kronquist <Ian.Kronquist@microsoft.com>
I guess I prefer the spelling __declspec, since it's in the implementer's namespace.