i#699: pass -no_early_inject all the time b/c it's now needed on
wow64 vista+.  also added a timeout to the procterm test.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@907 5b54908e-ead4-fc18-b48a-0285e6dbc711
update DR to r1454 for asm support for i#403

git-svn-id: https://drmemory.googlecode.com/svn/trunk@908 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 403
+ use newly-exported cpp2asm_support.cmake from DR for
  assembly support
+ to support both external DR and internal DR sources,
  re-ordered internal DR to configure up front via
  saving and restoring global flags

git-svn-id: https://drmemory.googlecode.com/svn/trunk@909 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#934: convert some of registers.c to cross-platform asm

git-svn-id: https://drmemory.googlecode.com/svn/trunk@910 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#794, part 10:
+ add asm_utils.asm (requires i#403 for DR's asm support)
  for get_stack_registers()

git-svn-id: https://drmemory.googlecode.com/svn/trunk@911 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#935: work around missing app retaddr on stack from
drwrap_replace_native() by retrieving the stored app retaddr
and using as the top frame

git-svn-id: https://drmemory.googlecode.com/svn/trunk@912 5b54908e-ead4-fc18-b48a-0285e6dbc711
update DR to r1461 for fast safe_read and for i#836 cross-arch bug fix

git-svn-id: https://drmemory.googlecode.com/svn/trunk@913 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#794 -replace_malloc robustness via fast safe_read:
+ use the new, fast dr_safe_read() on both platforms for
  safe_read() and leak_safe_read_heap()
+ the faster safe_read() enables using it to make malloc
  replacement more robust (which is critical: it was crashing
  on tests/malloc)
+ add replace_malloc test, linux-only for now

git-svn-id: https://drmemory.googlecode.com/svn/trunk@914 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 937
+ handle empty initial app heap

git-svn-id: https://drmemory.googlecode.com/svn/trunk@915 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 918
+ replaces the C plus inline asm raw_syscall_Narg(), which have been really
  problematic and full of bugs, with a single pure-asm raw_syscall() which
  is copied (with license) from DR's dynamorio_syscall()
+ this is an easier and quicker fix than hashing out the issues
  with DRi#199

git-svn-id: https://drmemory.googlecode.com/svn/trunk@916 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed 64-bit bug that did not change real_base to changed_base in RTL_ROUTINE_FREE_UNICODESTRING

git-svn-id: https://drmemory.googlecode.com/svn/trunk@917 5b54908e-ead4-fc18-b48a-0285e6dbc711
update DR to r1470 to suppress safe_read assert and get drwrap native param support

git-svn-id: https://drmemory.googlecode.com/svn/trunk@918 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#893: Rtl heap replacement progress
+ check whether Rtl ptr is actually in the passed-in Heap
+ handle RtlCreateHeap with initial size 0
+ handle RtlAllocateHeap failure w/ no arena
+ remove from heap region on RtlDestroyHeap
+ add more logging
+ DRi#779: ignore Rtl{,Un}LockHeap for now until a safe implementation is
  put in place
+ general replace_malloc fix: handle pre_us allocs in realloc() and size()

git-svn-id: https://drmemory.googlecode.com/svn/trunk@919 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 939
replace crt malloc on windows
+ relies on new user_data param to drwrap_replace_native()
  to pass an alloc routine pointer
+ create our own Heap for each non-Rtl alloc routine set
  and use that for all its actions
+ destroy the Heap at alloc routine unload

unfortunately some assumptions have to be made but there does not seem
to be a perfect solution

git-svn-id: https://drmemory.googlecode.com/svn/trunk@920 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 940
+ intercept _calloc_impl for VS2010

git-svn-id: https://drmemory.googlecode.com/svn/trunk@921 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#893 Rtl Heap API replacement progress:
+ set error codes on failure
+ fail on HeapReAlloc(,,NULL,)
+ enable -replace_malloc tests/malloc test for windows

git-svn-id: https://drmemory.googlecode.com/svn/trunk@922 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 941
+ only swap to DR state on Windows b/c it's expensive on Linux
  (very expensive) and not necessary

git-svn-id: https://drmemory.googlecode.com/svn/trunk@923 5b54908e-ead4-fc18-b48a-0285e6dbc711
add suppression for possible leak false positives in Ubuntu 11.11

git-svn-id: https://drmemory.googlecode.com/svn/trunk@924 5b54908e-ead4-fc18-b48a-0285e6dbc711
add simple track_origins implementation
- add track_origins_unaddr option for track origin on unaddressable error
- add track_origins test
- change report_unaddressable_error to report possible origin of unaddressable error
- add region_in_redzone in alloc_drmem.c

git-svn-id: https://drmemory.googlecode.com/svn/trunk@925 5b54908e-ead4-fc18-b48a-0285e6dbc711
use wow64 sysnum as 64-bit sysnum

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