I've integrated cef in game engine, need a windows-only solution to capture memory consumption
of libcef.dll as a whole. I investigated that on windows release x64 - experimental shim
in base/allocator/allocator_shim.h is working, but it does not intercept VirtualAlloc*.
I think about replacing HeapAlloc,VirtualAlloc import entries for libcef.dll after its load, like:
HMODULE mod = LoadLibrary("libcef.dll");
ReplaceAllocationFunctions(mod);
Any plans to include base::allocator::InsertAllocatorDispatch() in cef api? What about VirtualAlloc*
and third party library allocations?
Thanks for suggestions