Chandler Carruth
022a3d4e88
Revert r188369 (and r188455) which breaks the build on at least some
...
Linux systems. I've replied on the original commit thread with details
of the problem.
llvm-svn: 188628
2013-08-18 08:47:06 +00:00
Evgeniy Stepanov
0bb7577d89
[sanitizer] Split platform_limits_posix into system- and kernel-dependent parts.
...
This change moves everything depending on kernel headers (mostly ioctl types
and ids) into a separate source file. This will reduce the possibility of
header conflict on various platforms (most importantly, older glibc versions).
This change also removes 2 deprecated ioctls, and symbolic ids for other bunch
of ambiguous ioctls (i.e. same id is shared by ioctls with different memory
behavior).
llvm-svn: 188369
2013-08-14 13:34:14 +00:00
Evgeniy Stepanov
2c7d4d379e
[sanitizer] Fix build with OSS4 kernel headers.
...
This fixes PR16453.
llvm-svn: 184925
2013-06-26 08:16:38 +00:00
Evgeniy Stepanov
57a40e5a94
[santizer] Disable several EVIOxxx ioctls on older kernels.
...
llvm-svn: 184539
2013-06-21 10:54:57 +00:00
Evgeniy Stepanov
3ce228faf3
[sanitizer] Fix Mac build.
...
llvm-svn: 184407
2013-06-20 09:39:34 +00:00
Evgeniy Stepanov
d271563e5a
Remove an outdated comment.
...
llvm-svn: 184406
2013-06-20 09:21:25 +00:00
Evgeniy Stepanov
fbea5b95c6
[sanitizer] Handle EVIOxxxx ioctls.
...
llvm-svn: 184405
2013-06-20 09:19:28 +00:00
Evgeniy Stepanov
394b09b00f
[sanitizer] Fix Android build.
...
llvm-svn: 184187
2013-06-18 13:56:12 +00:00
Evgeniy Stepanov
fc3f61fcf0
[sanitizer] Remove a set of deprecated ioctls.
...
llvm-svn: 184185
2013-06-18 10:37:17 +00:00
Evgeniy Stepanov
b9c1020696
[sanitizer] Replace ext2_ ioctls with generic fs_ ioctls.
...
They are actually the same, but ext2_fs.h header is not available in userspace
with newer kernels.
llvm-svn: 184184
2013-06-18 09:49:04 +00:00
Evgeniy Stepanov
8fa046e288
[sanitizer] Symbolic ioctl names.
...
Replace hardcoded ioctl request ids with symbolic names.
Disable certain ioctls on platforms where such names are not found in the
system headers.
Fix a bug in ioctl_lookup.
Reenable ioctl test on Mac.
llvm-svn: 184183
2013-06-18 09:22:24 +00:00
Kostya Serebryany
e71982d589
[asan] fix the bug with memalign and malloc_usable_size ( http://code.google.com/p/address-sanitizer/issues/detail?id=193 ); also fix lint
...
llvm-svn: 183647
2013-06-10 10:46:27 +00:00
Evgeniy Stepanov
cead69d4a3
[sanitizer] Handle SIOCGIFCONF ioctl.
...
llvm-svn: 183529
2013-06-07 15:49:38 +00:00
Evgeniy Stepanov
c24e13e7bb
[sanitizer] Fix Android build.
...
llvm-svn: 183523
2013-06-07 14:56:54 +00:00
Evgeniy Stepanov
74dcb1a8de
[sanitizer] Fix windows build.
...
llvm-svn: 183518
2013-06-07 13:19:33 +00:00
Evgeniy Stepanov
0b1f41b6f4
[sanitizer] ioctl interceptor.
...
ASan: disabled by default
MSan: enabled by default
TSan: disabled
llvm-svn: 183517
2013-06-07 13:00:47 +00:00