[llvm-commits] [ASan] Replace CRT .dll malloc with our implementation at asan_init() time (issue 5708059)

timurrrr at google.com timurrrr at google.com
Wed Feb 29 03:48:02 PST 2012


Thanks, r151715!


http://codereview.appspot.com/5708059/diff/1/lib/asan/asan_malloc_win.cc
File lib/asan/asan_malloc_win.cc (right):

http://codereview.appspot.com/5708059/diff/1/lib/asan/asan_malloc_win.cc#newcode73
lib/asan/asan_malloc_win.cc:73: uintptr_t jmp_offset = (uintptr_t)malloc
- (uintptr_t)crt_malloc - 5;
On 2012/02/29 11:43:43, glider wrote:
> This should be signed.

Done.

http://codereview.appspot.com/5708059/



More information about the llvm-commits mailing list