[all-commits] [llvm/llvm-project] 015dab: Reland '[msan] Intercept dladdr1, and refactor dla...
Thurston Dang via All-commits
all-commits at lists.llvm.org
Thu Jul 6 09:19:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 015dabd7672f936cdb5bdcad20fe80b17f05c9ca
https://github.com/llvm/llvm-project/commit/015dabd7672f936cdb5bdcad20fe80b17f05c9ca
Author: Thurston Dang <thurston at google.com>
Date: 2023-07-06 (Thu, 06 Jul 2023)
Changed paths:
M compiler-rt/lib/msan/CMakeLists.txt
A compiler-rt/lib/msan/msan_dl.cpp
A compiler-rt/lib/msan/msan_dl.h
M compiler-rt/lib/msan/msan_interceptors.cpp
A compiler-rt/test/msan/dladdr1_test.c
Log Message:
-----------
Reland '[msan] Intercept dladdr1, and refactor dladdr'
Reland with -Wcast-qual issue fixed
Original commit message:
This patch adds an msan interceptor for dladdr1 (with support for RTLD_DL_LINKMAP and RTLD_DL_SYMENT) and an accompanying test. It also adds a helper file, msan_dl.cpp, that contains UnpoisonDllAddrInfo (refactored out of the dladdr interceptor) and UnpoisonDllAddr1ExtraInfo.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D154272
More information about the All-commits
mailing list