File compiler-rt/lib/asan/asan_interceptors.cpp
has the following code
DECLARE_REAL_AND_INTERCEPTOR(void *, malloc, usize)
DECLARE_REAL_AND_INTERCEPTOR(void, free, void *)
But I found that this file does not use malloc
and free
, or REAL(malloc)
and REAL(free)
. I would like to ask whether these two lines of code can be removed.