Vedant Kumar
552c0111f1
[sanitizer_common] Apply modernize-use-nullptr, other minor fixes
...
- Trim spaces.
- Use nullptr in place of 0 for pointer variables.
- Use '!p' in place of 'p == 0' for null pointer checks.
Patch by Eugene Zelenko!
Differential Revision: http://reviews.llvm.org/D13310
llvm-svn: 248964
2015-09-30 23:52:54 +00:00
Alexey Samsonov
e6c614d48a
[Sanitizer] Teach ReadFileToBuffer to distinguish empty file from inaccessible file.
...
Summary:
This fixes https://code.google.com/p/address-sanitizer/issues/detail?id=399
(sanitizers crash with empty suppression files).
Reviewers: kcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11284
llvm-svn: 242594
2015-07-17 23:50:08 +00:00
Timur Iskhodzhanov
b97bcc4981
[ASan] Unify handling of loaded modules between POSIX and Windows
...
Reviewed at http://reviews.llvm.org/D8805
llvm-svn: 234150
2015-04-06 12:49:30 +00:00
Alexey Samsonov
656c29b08f
Replace InternalScopedBuffer<char> with InternalScopedString where applicable.
...
Summary: No functionality change.
Test Plan: make check-all
Reviewers: kcc
Reviewed By: kcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6472
llvm-svn: 223164
2014-12-02 22:20:11 +00:00
Viktor Kutuzov
a37ad099e8
Segregate FreeBSD-specific parts from sanitizer_procmaps_linux.cc
...
Differential Revision: http://reviews.llvm.org/D4555
llvm-svn: 214955
2014-08-06 10:16:52 +00:00