Revert "[GWP-ASan] Don't intercept calloc."
This reverts commit 76ce32657d0917244845a51af2075cf124015da9.
Bug: 154618758
Reason for revert: Patch only desired in rvc-d1-dev[+aosp]
Change-Id: I7102d4ae5bf9b911c7f6d48515ddf9804eef622f
diff --git a/libc/bionic/gwp_asan_wrappers.cpp b/libc/bionic/gwp_asan_wrappers.cpp
index 57deeb2..d3e6a14 100644
--- a/libc/bionic/gwp_asan_wrappers.cpp
+++ b/libc/bionic/gwp_asan_wrappers.cpp
@@ -177,8 +177,7 @@
}
static const MallocDispatch gwp_asan_dispatch __attribute__((unused)) = {
- // TODO(b/154618758) - GWP-ASan's calloc is disabled for now.
- Malloc(calloc),
+ gwp_asan_calloc,
gwp_asan_free,
Malloc(mallinfo),
gwp_asan_malloc,