summaryrefslogtreecommitdiff
path: root/lib/dfsan/scripts/check_custom_wrappers.sh
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-05-06 22:41:34 +0000
committerKostya Serebryany <kcc@google.com>2015-05-06 22:41:34 +0000
commit12e289a3b21337ea63845d55d36cf7b3931a0dc0 (patch)
treed89b9b68300ebcb3b3cd74d141e1eff321219ec6 /lib/dfsan/scripts/check_custom_wrappers.sh
parentc6fb7dc95a614cc94dd88695c2c4e8b1d848c293 (diff)
Add api_list entries for the dfsan-based fuzzer
Summary: Add api_list entries for the dfsan-based fuzzer Test Plan: covered by check-fuzzer Reviewers: pcc Reviewed By: pcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9538 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@236657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/dfsan/scripts/check_custom_wrappers.sh')
-rwxr-xr-xlib/dfsan/scripts/check_custom_wrappers.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dfsan/scripts/check_custom_wrappers.sh b/lib/dfsan/scripts/check_custom_wrappers.sh
index 1880882c3..99bf50cbb 100755
--- a/lib/dfsan/scripts/check_custom_wrappers.sh
+++ b/lib/dfsan/scripts/check_custom_wrappers.sh
@@ -17,8 +17,10 @@ on_exit() {
rm -f ${DIFF_B} 2> /dev/null
}
+# Ignore __sanitizer_cov_trace* because they are implemented elsewhere.
trap on_exit EXIT
-grep -E "^fun:.*=custom" ${DFSAN_ABI_LIST} | grep -v "dfsan_get_label" \
+grep -E "^fun:.*=custom" ${DFSAN_ABI_LIST} \
+ | grep -v "dfsan_get_label\|__sanitizer_cov_trace" \
| sed "s/^fun:\(.*\)=custom.*/\1/" | sort > $DIFF_A
grep -E "__dfsw.*\(" ${DFSAN_CUSTOM_WRAPPERS} \
| sed "s/.*__dfsw_\(.*\)(.*/\1/" | sort > $DIFF_B