aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2020-10-05 10:33:24 +0200
committerDamjan Marion <dmarion@me.com>2020-10-05 16:27:36 +0000
commitd20bc1d30a913e783a39919268c9870cbfe8817f (patch)
tree15d620774a794ece037c4f5a43e2030d04f021bf
parent84962d19ba76eafd5c7658aa86ec61c9b81f7702 (diff)
vppinfra: address sanitizer: do not instrument dlmalloc internals
Type: fix Change-Id: I8b50777b6ce7df461e5256921591a58e52877628 Signed-off-by: Benoît Ganne <bganne@cisco.com>
-rw-r--r--src/vppinfra/dlmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/dlmalloc.c b/src/vppinfra/dlmalloc.c
index 099b85ea5d1..e01ac94b8c0 100644
--- a/src/vppinfra/dlmalloc.c
+++ b/src/vppinfra/dlmalloc.c
@@ -4082,6 +4082,7 @@ int mspace_track_large_chunks(mspace msp, int enable) {
return ret;
}
+CLIB_NOSANITIZE_ADDR
size_t destroy_mspace(mspace msp) {
size_t freed = 0;
mstate ms = (mstate)msp;