[hwasan] On every use-after-free print a developer note: the index of this heap objec...
authorKostya Serebryany <kcc@google.com>
Wed, 12 Sep 2018 00:58:15 +0000 (00:58 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 12 Sep 2018 00:58:15 +0000 (00:58 +0000)
commitee9bb8761c4bf51658a806641fff3e452d3116f5
tree6f4ce28f27bd2db060a7fd2f6791cfb56080c78c
parentca007b7bc9613853a76bf3b732b3e7d47d780954
[hwasan] On every use-after-free print a developer note: the index of this heap object in the thread's deallocation ring buffer. Mostly useful to hwasan developers, will hopefully let us know the good size of the deallocation ring buffer

llvm-svn: 342014
compiler-rt/lib/hwasan/hwasan_report.cc
compiler-rt/test/hwasan/TestCases/uaf_with_rb_distance.c [new file with mode: 0644]