[DFSan] Add callback that allows to track which function tainted data reaches.
authorAndrew Browne <browneee@google.com>
Sat, 10 Dec 2022 01:47:54 +0000 (17:47 -0800)
committerAndrew Browne <browneee@google.com>
Mon, 12 Dec 2022 07:10:17 +0000 (23:10 -0800)
commit5bb06c7cce6bdcffb3ced29fa733c0dbb1b63c41
tree20cd0ac5fea09ff2e9749a4ccb082ad570844188
parentc2f199fa48fa69429aad5f0b7474bb2bc3da02c9
[DFSan] Add callback that allows to track which function tainted data reaches.

Authored-by: Christopher Liebchen <liebchen@google.com>
Co-authored-by: Andrew Browne <browneee@google.com>
Reviewed By: browneee

Differential Revision: https://reviews.llvm.org/D139543
compiler-rt/include/sanitizer/dfsan_interface.h
compiler-rt/lib/dfsan/dfsan.cpp
compiler-rt/lib/dfsan/done_abilist.txt
compiler-rt/test/dfsan/Inputs/flags_abilist.txt
compiler-rt/test/dfsan/reaches_function.c [new file with mode: 0644]
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/test/Instrumentation/DataFlowSanitizer/reaches_function.ll [new file with mode: 0644]