[all-commits] [llvm/llvm-project] c93e4b: [asan] Reset stack bounds of context
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Fri Jul 22 13:40:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c93e4b6b2c497aecda82029d6f161bd81da26dab
https://github.com/llvm/llvm-project/commit/c93e4b6b2c497aecda82029d6f161bd81da26dab
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2022-07-22 (Fri, 22 Jul 2022)
Changed paths:
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/asan/asan_internal.h
M compiler-rt/lib/asan/asan_linux.cpp
M compiler-rt/lib/asan/asan_mac.cpp
M compiler-rt/lib/asan/asan_win.cpp
M compiler-rt/test/asan/TestCases/Linux/swapcontext_test.cpp
Log Message:
-----------
[asan] Reset stack bounds of context
ClearShadowMemoryForContextStack assumes that context contains the stack
bounds. This is not true for a context from getcontext or oucp of
swapcontext.
Reviewed By: kstoimenov
Differential Revision: https://reviews.llvm.org/D130218
More information about the All-commits
mailing list