[dfsan] Remove realloc from done_abilist.txt
authorVitaly Buka <vitalybuka@google.com>
Wed, 6 May 2020 05:21:09 +0000 (22:21 -0700)
committerVitaly Buka <vitalybuka@google.com>
Wed, 6 May 2020 05:32:45 +0000 (22:32 -0700)
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

index f8c88dd..52f3ff5 100644 (file)
@@ -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