i#345: NtQueryVirtualMemory BaseAddress is always just PAGE_START * my experiments show that NtQueryVirtualMemory (and VirtualQuery)   return a useless BaseAddress regardless of the Windows version   or the type of memory, so I changed query_memory_ex() on Windows to loop   and get the real minimum base w/ same prot.   I updated get_memory_info() to call query_memory_ex() if a base is   desired, but do a single query if only prot is asked for   (which is the most common way DR uses it).   dr_query_memory() calls get_memory_info().
i#345: NtQueryVirtualMemory BaseAddress is always just PAGE_START
* my experiments show that NtQueryVirtualMemory (and VirtualQuery)
  return a useless BaseAddress regardless of the Windows version
  or the type of memory, so I changed query_memory_ex() on Windows to loop
  and get the real minimum base w/ same prot.
  I updated get_memory_info() to call query_memory_ex() if a base is
  desired, but do a single query if only prot is asked for
  (which is the most common way DR uses it).
  dr_query_memory() calls get_memory_info().

SVN-Revision: 433

DynamoRIO/drk,sigma-random/dynamorio,AmesianX/dynamorio,bl4ckic3/dynamorio,sigma-random/dynamorio,bl4ckic3/dynamorio,DynamoRIO/drk,daksunt/dynamorio,bl4ckic3/dynamorio,sigma-random/dynamorio,sigma-random/dynamorio,AmesianX/dynamorio,DynamoRIO/drk,daksunt/dynamorio,AmesianX/dynamorio,DynamoRIO/drk,code4bones/dynamorio,AmesianX/dynamorio,daksunt/dynamorio,daksunt/dynamorio,code4bones/dynamorio,bl4ckic3/dynamorio,AmesianX/dynamorio,bl4ckic3/dynamorio,code4bones/dynamorio,sigma-random/dynamorio,code4bones/dynamorio,daksunt/dynamorio,code4bones/dynamorio,DynamoRIO/drk,DynamoRIO/drk