fix set_output_dirs for VS generators

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1084 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#1059: increase symcache file size field

It doesn't seem like this can explain the failures in i#1059 but we
should increase the size in any case, and remove the required leading
space.  Also added an assert so we can detect if the field size is
ever reached.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1085 5b54908e-ead4-fc18-b48a-0285e6dbc711
add test_process_handles for handle leak detection tests

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1086 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed issue 1050
- use drsym_search_symbols_ex and drsym_expand_type instead to handle
  cases of multiple functions being mapped to the same address.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1087 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1067

Upgrade to DR r1686 for HEAP_GROWABLE fix.
Also gets us i#938 expansion so we can use ntdll_imports.lib
from DR and eliminate WDK/DDK dependence.



git-svn-id: https://drmemory.googlecode.com/svn/trunk@1088 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1068

Eliminate reliance on WDK/DDK:
+ Overhaul dbghelp and symsrv searching by not using find_file()
  and using a series of paths, because we can't redistribute
  the system32 copy (even though it's recent enough on vista+)
  and find_file() won't exclude it and still look in progfiles.
+ Look in Visual Studio and SDK directories for dbghelp.dll to avoid
  relying on the WDK or DDK there.
+ Look for x64 symsrv for X64
+ Allow user specifying path for both dbghelp and symsrv for x86 and x64
+ Use DR's exported ntdll_imports.lib
+ Had to re-order tests and tweak compiler flags as several tests/-built
  targets need ntdll.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1089 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#1069: more accurately calculate the size of routines in the .replace
section.  Punting on more complex scheme for now b/c the section is smaller
than a page so the order assumption works out.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1090 5b54908e-ead4-fc18-b48a-0285e6dbc711
handle empty full_path gracefully (hit when using dynamic drsyms and drsyms
itself was examined)

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1091 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1073

Fix config for VS generators

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1092 5b54908e-ead4-fc18-b48a-0285e6dbc711
mark syscalls unknown that were mistakenly marked ok in original table

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1094 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1072

Handle inaccurate missed inner libc alloc detection by allowing it, marking
the outer, and removing the inner when the outer is removed.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1095 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1060

+ Ask for direct query and not non-internal search for dbgcrt syms

+ Use module name compare rather than get_libc_base() where possible to
  handle multiple libc routines (though Dr. Memory in general still does
  not handle multiple libcs thoroughly: that's split as i#1059).

+ Use helper routine and store results to avoid repeatedly
  comparing the module name.

+ Fix bug in looking up exports when symbol lookup fails.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1096 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#822: DrSyscall Framework

Preliminary step for switching the syscall argument handling code to the
new DrSyscall Framework.  Preserves the version history by first copying
("svn cp") each file to its new location.  Renames the existing drsyscall.c
to accomplish this.

Work can now continue on the drsyscall/ versions of the files.  Once ready,
the switch will be made and the originals refactored.



git-svn-id: https://drmemory.googlecode.com/svn/trunk@1097 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#98 add NtWow64* syscall handling


git-svn-id: https://drmemory.googlecode.com/svn/trunk@1098 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1078

For 32-bit builds, look for dbghelp.dll and symsrv.dll in
${PROGFILES}/Microsoft Visual Studio */Common7/IDE
to support Visual Studio installations without the Remote Debugger.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1101 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1079
+ add PROCESSOR_NUMBER to fix pre-win7-SDK build


git-svn-id: https://drmemory.googlecode.com/svn/trunk@1102 5b54908e-ead4-fc18-b48a-0285e6dbc711
update DynamoRIO to r1688 for i#1070

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1103 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1065

Change the shift used for the sentinel to accomodate small integers like
the SIG_IGN seen in python.  Add release build fallback of skipping if
it does match.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1104 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#837: Widen suppression for racy uninit in tsan tests

The name of the exe exceeds MAX_MODULE_LEN, and we can't match the
trailing .exe.  The underlying issue is issue 1082.

We've also seen uninits in Worker2 as well as Worker3, so I'm widening
to Worker?.

Fixes issue 837.

Review URL: https://codereview.appspot.com/6813090

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1105 5b54908e-ead4-fc18-b48a-0285e6dbc711