[Bug sanitizer/59061] Port leaksanitizer

2013-11-14 Thread earthdok at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #16 from Sergey Matveev --- (In reply to Kostya Serebryany from comment #11) > > Easily doable of course, but we should create liblsan as shared > > library in that case too. What combination of those do you allow? I mean, > > is > >

[Bug sanitizer/59061] Port leaksanitizer

2013-11-23 Thread earthdok at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #31 from Sergey Matveev --- (In reply to Kostya Serebryany from comment #30) > lsan's allocator clears all memory using internal_memset, which is damn > slow. (sets on byte at a time) > > asan's allocator doesn't do that (it sets firs

[Bug sanitizer/59061] Port leaksanitizer

2013-11-23 Thread earthdok at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #33 from Sergey Matveev --- (In reply to Kostya Serebryany from comment #32) > > I think standalone LSan should support the max_alloc_fill_size flag. > > Mmm. Maybe... > max_alloc_fill_size in asan is there primarily to protect from

[Bug sanitizer/59061] Port leaksanitizer

2013-11-24 Thread earthdok at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #37 from Sergey Matveev --- I've patched LSan to use the real memset(). At least on my machine this brought no performance improvement compared to kcc's latest change (just FYI - not trying to make any point). As of now, LSan will sti

[Bug sanitizer/59061] Port leaksanitizer

2013-11-25 Thread earthdok at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #38 from Sergey Matveev --- (In reply to Jakub Jelinek from comment #28) > Author: jakub > Date: Fri Nov 22 21:13:08 2013 > New Revision: 205290 It looks like you use dynamic linking by default. The last time I checked, leak detection

[Bug driver/65639] New: -nostdlib/-nodefaultlibs should not affect ASan runtime

2015-03-31 Thread earthdok at google dot com
Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: earthdok at google dot com CC: jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, samsonov at google dot com In GCC trunk, if -nostdlib/-nodefaultlibs is passed

[Bug driver/65639] -nostdlib/-nodefaultlibs should not affect ASan runtime

2015-04-06 Thread earthdok at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65639 --- Comment #2 from Sergey Matveev --- This is also discussed in the email thread following the clang commit: https://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg106622.html You could say that by passing -fsanitize=address at link time, we e