[ASAN] Add mmap and munmap interceptor in ASAN
authorKirill Stoimenov <kstoimenov@google.com>
Thu, 6 Jul 2023 21:17:48 +0000 (21:17 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Fri, 7 Jul 2023 15:48:12 +0000 (15:48 +0000)
commita34e702aa16fde4cc76e9360d985a64e008e0b23
tree076a4233eb0d0e18340f43e8cab9dde1630feb83
parenta700a1db8bbaffe3cff09da4ee11419ab3a057b3
[ASAN] Add mmap and munmap interceptor in ASAN

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D154659
compiler-rt/lib/asan/asan_interceptors.cpp
compiler-rt/test/asan/TestCases/mapped_mem_interceptors.c [new file with mode: 0644]