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

glider at google.com glider at google.com
Wed Feb 29 03:43:43 PST 2012


LGTM if the lint passes.


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;
This should be signed.

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



More information about the llvm-commits mailing list