From d059d01c23e4006bcc78088277052607e2de1b45 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 5 May 2020 22:21:09 -0700 Subject: [PATCH] [dfsan] Remove realloc from done_abilist.txt Summary: Currently, realloc is marked as "discard" in done_abilist.txt. As discussed in PR#45583, this is probably not the expected behavior; a custom wrapper seems to be required. Since this wrapper has not been implemented yet, realloc should not be in the done_abilist.txt file so that a warning is displayed when it is called. Reviewers: kcc, pcc, vitalybuka Reviewed By: vitalybuka Subscribers: #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D78379 --- compiler-rt/lib/dfsan/done_abilist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler-rt/lib/dfsan/done_abilist.txt b/compiler-rt/lib/dfsan/done_abilist.txt index f8c88dd..52f3ff5 100644 --- a/compiler-rt/lib/dfsan/done_abilist.txt +++ b/compiler-rt/lib/dfsan/done_abilist.txt @@ -33,7 +33,6 @@ fun:dfsan_flush=discard # glibc ############################################################################### fun:malloc=discard -fun:realloc=discard fun:free=discard # Functions that return a value that depends on the input, but the output might -- 2.7.4