Star
81
Fork
27
代码
介绍
代码
Issues
9
Pull Requests
9
流水线
Actions
讨论
Wiki
项目成员
44
分析
项目设置
Star
81
Fork
27
master
msdebug
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Darwin
下载当前目录
U
usama hameed
Revert "[Sanitizers][Darwin] In DlAddrSymbolizer, return only the module file name instead of the comlpete module path during symbolication."
16946466
创建于
2023年6月9日
历史提交
文件
最后提交记录
最后更新时间
abort_on_error.cpp
[Darwin][UBSan][Sanitizer] abort_on_error ubsan test fix for arm64 The current darwin abort_on_error test specifically tests for a division by zero undefined behavior. However arm does not trap by default for this behavior. x86 signals the abort, which is why the test passes on x86. This patch updates the test to test for a case where the ubsan runtime specifically calls Die() to trigger an abort by default. rdar://92108564 Differential Revision:
https://reviews.llvm.org/D124480
4 年前
atos-symbolized-recover.cpp
[Test][Sanitizer][atos] Disable atos-symbolized-recovery test This test tests uses undefined behavior and is proving to be very flakey. I am disabling for now. Radar to add a new test: rdar://108003900 rdar://107846128
3 年前
fputs_puts_null.cpp
compiler-rt: Rename cc files below test/sanitizer_common to cpp See r367803 and similar other changes. llvm-svn: 367863
6 年前
lit.local.cfg.py
[NFC][Py Reformat] Reformat python files in the rest of the dirs This is an ongoing series of commits that are reformatting our Python code. This catches the last of the python files to reformat. Since they where so few I bunched them together. Reformatting is done with
black
. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below:
https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style
Reviewed By: jhenderson, #libc, Mordante, sivachandra Differential Revision:
https://reviews.llvm.org/D150784
3 年前
malloc_zone.cpp
[Sanitizer][Darwin] Add interceptor for malloc_zone_from_ptr Ensure that malloc_default_zone and malloc_zone_from_ptr return the sanitizer-installed malloc zone even when MallocStackLogging (MSL) is requested. This prevents crashes in certain situations. Note that the sanitizers and MSL cannot be used together. If both are enabled, MSL functionality is essentially deactivated since it only hooks the default allocator which is replaced by a custom sanitizer allocator. rdar://53686175 Reviewed By: kubamracek Differential Revision:
https://reviews.llvm.org/D65990
llvm-svn: 368492
6 年前
print-stack-trace-in-code-loaded-after-fork.cpp
Disable a Darwin test under LSan. * Changing source lines seems to cause us to hit rdar://problem/62132428. * Even if I workaround the above issue sometimes the source line in the dylib reported by atos is off by one. It's simpler to just disable the test for now. rdar://problem/61793759
6 年前
print-stack-trace.cpp
compiler-rt: Rename cc files below test/sanitizer_common to cpp See r367803 and similar other changes. llvm-svn: 367863
6 年前
symbolizer-function-offset-atos.cpp
[Symbolizers] On Darwin compute function offset when possible. Summary: The sanitizer symbolizers support printing the function offset (difference between pc and function start) of a stackframe using the
%q
format specifier. Unfortunately this didn't actually work because neither the atos or dladdr symbolizer set the
AddressInfo::function_offset
field. This patch teaches both symbolizers to try to compute the function offset. In the case of the atos symbolizer, atos might not report the function offset (e.g. it reports a source location instead) so in this case it fallsback to using
dladdr()
to compute the function offset. Two test cases are included. rdar://problem/56695185 Reviewers: kubamracek, yln Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision:
https://reviews.llvm.org/D69549
6 年前
symbolizer-function-offset-dladdr.cpp
[Symbolizers] On Darwin compute function offset when possible. Summary: The sanitizer symbolizers support printing the function offset (difference between pc and function start) of a stackframe using the
%q
format specifier. Unfortunately this didn't actually work because neither the atos or dladdr symbolizer set the
AddressInfo::function_offset
field. This patch teaches both symbolizers to try to compute the function offset. In the case of the atos symbolizer, atos might not report the function offset (e.g. it reports a source location instead) so in this case it fallsback to using
dladdr()
to compute the function offset. Two test cases are included. rdar://problem/56695185 Reviewers: kubamracek, yln Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision:
https://reviews.llvm.org/D69549
6 年前