Kernel and user-space memory analysis module