[all-commits] [llvm/llvm-project] d0b0db: [msan] Intercept dladdr1, and refactor dladdr
Thurston Dang via All-commits
all-commits at lists.llvm.org
Sat Jul 1 12:28:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d0b0dbeae17756f7ba99e0867cfb867fcb375066
https://github.com/llvm/llvm-project/commit/d0b0dbeae17756f7ba99e0867cfb867fcb375066
Author: Thurston Dang <thurston at google.com>
Date: 2023-07-01 (Sat, 01 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:
-----------
[msan] Intercept dladdr1, and refactor dladdr
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.
Differential Revision: https://reviews.llvm.org/D154272
More information about the All-commits
mailing list