<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/compiler-rt/lib/sanitizer_common, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-10T21:34:49+00:00</updated>
<entry>
<title>Summary: update macro for OFF_T so that sanitizer works on AARCH64.</title>
<updated>2020-01-10T21:34:49+00:00</updated>
<author>
<name>Lirong Yuan</name>
<email>yuanzi@google.com</email>
</author>
<published>2020-01-10T21:18:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a5a6fd3f95a9ecc3ef8732192ce0fd7749135311'/>
<id>urn:sha1:a5a6fd3f95a9ecc3ef8732192ce0fd7749135311</id>
<content type='text'>
Reviewers: vitalybuka, eugenis, MaskRay

Reviewed By: eugenis, MaskRay

Subscribers: MaskRay, kristof.beyls, #sanitizers, llvm-commits, jkz, scw

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D72367
</content>
</entry>
<entry>
<title>[msan] Fix underflow in qsort interceptor.</title>
<updated>2020-01-07T00:12:52+00:00</updated>
<author>
<name>Evgenii Stepanov</name>
<email>eugenis@google.com</email>
</author>
<published>2020-01-07T00:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7ba4595c86be88bf9ebb7261ba49ed4626e5f585'/>
<id>urn:sha1:7ba4595c86be88bf9ebb7261ba49ed4626e5f585</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[msan] Check qsort input.</title>
<updated>2020-01-06T23:07:02+00:00</updated>
<author>
<name>Evgenii Stepanov</name>
<email>eugenis@google.com</email>
</author>
<published>2019-12-20T20:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b5e7f95cfbeb28ff8b966a2b7e38a03f32410030'/>
<id>urn:sha1:b5e7f95cfbeb28ff8b966a2b7e38a03f32410030</id>
<content type='text'>
Summary:
Qsort interceptor suppresses all checks by unpoisoning the data in the
wrapper of a comparator function, and then unpoisoning the output array
as well.

This change adds an explicit run of the comparator on all elements of
the input array to catch any sanitizer bugs.

Reviewers: vitalybuka

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D71780
</content>
</entry>
<entry>
<title>[compiler-rt] [netbsd] Switch to syscall for ThreadSelfTlsTcb()</title>
<updated>2020-01-03T01:40:52+00:00</updated>
<author>
<name>Kamil Rytarowski</name>
<email>n54@gmx.com</email>
</author>
<published>2020-01-03T01:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=0da15ff318480f30bbc90b9e8ecb9bb9431c7fd3'/>
<id>urn:sha1:0da15ff318480f30bbc90b9e8ecb9bb9431c7fd3</id>
<content type='text'>
This change avoids using internal, namespaced per-CPU calls that
are not a stable interface to read the TSL base value.
</content>
</entry>
<entry>
<title>[sanitizer] Link Sanitizer-x86_64-Test-Nolibc with -static</title>
<updated>2019-12-27T23:25:08+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2019-12-27T23:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=33a1b3d8fceae7dd543cd3cf465f7fa6b71a9e7b'/>
<id>urn:sha1:33a1b3d8fceae7dd543cd3cf465f7fa6b71a9e7b</id>
<content type='text'>
Pass -static so that clang will not pass -Wl,--dynamic-linker,... to the
linker. The test is not expected to run under a ld.so. (Technically it
works under a ld.so but glibc expects to see a PT_DYNAMIC. lld
intentionally does not follow GNU ld's complex rules regarding
PT_DYNAMIC.)

This allows commit 1417558e4a61794347c6bfbafaff7cd96985b2c3 to be
relanded.
</content>
</entry>
<entry>
<title>Reland "[msan] Intercept qsort, qsort_r."</title>
<updated>2019-12-27T19:29:00+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2019-12-27T19:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=ef7a659c21fb28b20a49912c2bc47b7af6637f85'/>
<id>urn:sha1:ef7a659c21fb28b20a49912c2bc47b7af6637f85</id>
<content type='text'>
This reverts commit 8fcce5ac73d49981656d9126e6c88391c1f6bf01.

I spoke too soon, the revert does not actually cause the startup crash
to go away.
</content>
</entry>
<entry>
<title>Revert "[msan] Intercept qsort, qsort_r."</title>
<updated>2019-12-27T19:24:07+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2019-12-27T19:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8fcce5ac73d49981656d9126e6c88391c1f6bf01'/>
<id>urn:sha1:8fcce5ac73d49981656d9126e6c88391c1f6bf01</id>
<content type='text'>
This reverts commit 7a9ebe95125ea87a494d0c18f44f10bd70e12188, and
dependent commit 54c522420347e58aa7bae1892cf5c5672b57c875, which
disables qsort interception for some iOS platforms.

After this change, the -Nolibc sanitizer common test binary crashes on
startup on my regular Linux workstation, as well as on our bots:
https://ci.chromium.org/p/chromium/builders/try/linux_upload_clang/740

 ********************
  Failing Tests (1):
       SanitizerCommon-Unit ::
       ./Sanitizer-x86_64-Test/SanitizerCommon.NolibcMain

Loading it up in gdb shows that it crashes during relocation processing,
which suggests that some glibc loader versions do not support the
THREADLOCAL data added in this interceptor.
</content>
</entry>
<entry>
<title>[compiler-rt] [netbsd] Add support for versioned statvfs interceptors</title>
<updated>2019-12-27T17:50:14+00:00</updated>
<author>
<name>Kamil Rytarowski</name>
<email>n54@gmx.com</email>
</author>
<published>2019-12-27T00:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=84afd9c5368c32e6a5710af8ad2de76efbbdc49a'/>
<id>urn:sha1:84afd9c5368c32e6a5710af8ad2de76efbbdc49a</id>
<content type='text'>
Summary:
Add support for NetBSD 9.0 and newer versions of interceptors
operating on struct statvfs: fstatvfs, fstatvfs1, getmntinfo,
getvfsstat, statvfs, statvfs1.

The default promoted interceptors are for NetBSD 9.99.26. Older
ones (currently 9.0) are kept in a new NetBSD specific file:
/sanitizer_common_interceptors_netbsd_compat.inc. This file
defines compat interceptors and mangles `INIT_*` macros,
concatenating the current interceptors and the compat ones.
This redefinition is not elegant, but it avoids preprocessor madness.

Define struct_statvfs90_sz for the compat purposes.

Reviewers: mgorny, kcc, vitalybuka, joerg

Reviewed By: mgorny

Subscribers: dberris, llvm-commits, #sanitizers

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D71700
</content>
</entry>
<entry>
<title>Temporarily Revert "[compiler-rt] [netbsd] Add support for versioned statvfs interceptors"</title>
<updated>2019-12-27T02:40:20+00:00</updated>
<author>
<name>Eric Christopher</name>
<email>echristo@gmail.com</email>
</author>
<published>2019-12-27T02:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=8f9304f559adf90a21e667f2af0f191cb4a057ac'/>
<id>urn:sha1:8f9304f559adf90a21e667f2af0f191cb4a057ac</id>
<content type='text'>
as it's failing the netbsd specific linter parts of the sanitizer linter:

llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_netbsd_compat.inc:23:  Lines should be &lt;= 80 characters long  [whitespace/line_length]
llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp:2450:  Do not use variable-length arrays.  Use an appropriately named ('k' followed by CamelCase) compile-time constant for the size.

This reverts commit 78f714f824fac8aa3fdd85908c41538bccefb959.
</content>
</entry>
<entry>
<title>[compiler-rt] [netbsd] Add support for versioned statvfs interceptors</title>
<updated>2019-12-27T00:15:39+00:00</updated>
<author>
<name>Kamil Rytarowski</name>
<email>n54@gmx.com</email>
</author>
<published>2019-12-27T00:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=78f714f824fac8aa3fdd85908c41538bccefb959'/>
<id>urn:sha1:78f714f824fac8aa3fdd85908c41538bccefb959</id>
<content type='text'>
Summary:
Add support for NetBSD 9.0 and newer versions of interceptors
operating on struct statvfs: fstatvfs, fstatvfs1, getmntinfo,
getvfsstat, statvfs, statvfs1.

The default promoted interceptors are for NetBSD 9.99.26. Older
ones (currently 9.0) are kept in a new NetBSD specific file:
/sanitizer_common_interceptors_netbsd_compat.inc. This file
defines compat interceptors and mangles `INIT_*` macros,
concatenating the current interceptors and the compat ones.
This redefinition is not elegant, but it avoids preprocessor madness.

Define struct_statvfs90_sz for the compat purposes.

Reviewers: mgorny, kcc, vitalybuka, joerg

Reviewed By: mgorny

Subscribers: dberris, llvm-commits, #sanitizers

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D71700
</content>
</entry>
</feed>
