[dfsan] Add utils to get and print origin paths and some test cases
authorJianzhou Zhao <jianzhouzh@google.com>
Thu, 4 Mar 2021 02:35:13 +0000 (02:35 +0000)
committerJianzhou Zhao <jianzhouzh@google.com>
Sat, 6 Mar 2021 00:11:35 +0000 (00:11 +0000)
commitc20db7ea6a0b4dcb8cf4a2a0e023ee6be1f4c485
tree9b0726dfa80d6e05a8b60aa613bc8cbbb253ac9f
parentabbe42d8b5e4e0f3a30adbf232c693712cf2899c
[dfsan] Add utils to get and print origin paths and some test cases

This is a part of https://reviews.llvm.org/D95835.

Reviewed By: morehouse, gbalats

Differential Revision: https://reviews.llvm.org/D97962
14 files changed:
compiler-rt/include/sanitizer/dfsan_interface.h
compiler-rt/lib/dfsan/dfsan.cpp
compiler-rt/lib/dfsan/done_abilist.txt
compiler-rt/test/dfsan/lit.cfg.py
compiler-rt/test/dfsan/origin_add_label.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_disabled.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_invalid.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_ld_lost.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_ldst.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_limit.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_memset.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_overlapped.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_set_label.c [new file with mode: 0644]
compiler-rt/test/dfsan/origin_untainted.c [new file with mode: 0644]