For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143121
[LSAN] Add GetUserAddr function which returns the user visible address of an internal pointer ClosedPublic Authored by kstoimenov on Feb 1 2023, 4:30 PM.
Details Summary For HWASAN this would be the tagged address. It is the same pointer when pointer tagging is not used. Coincidently this also fixes some test which rely on comparing pointers.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 1 2023, 4:34 PM This revision was landed with ongoing or failed builds.Feb 1 2023, 4:39 PM Closed by commit rGeb3be66028ea: [LSAN] Add GetUserAddr function which returns the user visible address of an… (authored by kstoimenov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 494109 compiler-rt/lib/asan/asan_allocator.cpp
compiler-rt/lib/hwasan/hwasan_allocator.cpp
compiler-rt/lib/lsan/lsan_allocator.cpp
compiler-rt/lib/lsan/lsan_common.h
compiler-rt/lib/lsan/lsan_common.cpp
compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cpp
compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cpp
compiler-rt/test/lsan/TestCases/pointer_to_self.cpp
compiler-rt/test/lsan/TestCases/use_after_return.cpp
compiler-rt/test/lsan/TestCases/use_globals_initialized.cpp
compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cpp
compiler-rt/test/lsan/TestCases/use_stacks.cpp
compiler-rt/test/lsan/TestCases/use_unaligned.cpp
|