Skip to content
Commit ac770552 authored by Kostya Serebryany's avatar Kostya Serebryany
Browse files

[asan] introduce __asan_load_cxx_array_cookie: check that the array cookie...

[asan] introduce __asan_load_cxx_array_cookie: check that the array cookie address is properly poisoned and return the cookie value. If not, return 0 to avoid infinite loop of DTORs (in case of use-after-free). Calls to this function will be inserted by clang (separate change)

llvm-svn: 216692
parent d07864a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment