[PATCH] D31484: [asan] Support line numbers in StackVarDescr
Kuba (Brecka) Mracek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 16:38:39 PDT 2017
kubamracek created this revision.
kubamracek added a project: Sanitizers.
When `-fsanitize-address-use-after-scope` is used, the instrumentation produces line numbers in stack frame descriptions. This patch make sure the ASan runtime supports this format (ParseFrameDescription needs to be able to parse "varname:line") and prepares lit tests to allow line numbers in ASan report output.
Repository:
rL LLVM
https://reviews.llvm.org/D31484
Files:
lib/asan/asan_descriptions.cc
lib/asan/asan_report.cc
lib/asan/asan_report.h
test/asan/TestCases/Linux/memmem_test.cc
test/asan/TestCases/Posix/stack-use-after-return.cc
test/asan/TestCases/Windows/dll_intercept_memchr.cc
test/asan/TestCases/Windows/dll_intercept_memcpy.cc
test/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cc
test/asan/TestCases/Windows/dll_intercept_memset.cc
test/asan/TestCases/Windows/dll_noreturn.cc
test/asan/TestCases/Windows/dll_poison_unpoison.cc
test/asan/TestCases/Windows/dll_stack_use_after_return.cc
test/asan/TestCases/Windows/dll_thread_stack_array_left_oob.cc
test/asan/TestCases/Windows/intercept_memcpy.cc
test/asan/TestCases/Windows/intercept_strlen.cc
test/asan/TestCases/Windows/stack_array_left_oob.cc
test/asan/TestCases/Windows/stack_array_right_oob.cc
test/asan/TestCases/Windows/stack_use_after_return.cc
test/asan/TestCases/Windows/wrong_downcast_on_stack.cc
test/asan/TestCases/stack-buffer-overflow-with-position.cc
test/asan/TestCases/strcasestr-1.c
test/asan/TestCases/strcasestr-2.c
test/asan/TestCases/strcspn-1.c
test/asan/TestCases/strcspn-2.c
test/asan/TestCases/strpbrk-1.c
test/asan/TestCases/strpbrk-2.c
test/asan/TestCases/strspn-1.c
test/asan/TestCases/strspn-2.c
test/asan/TestCases/strstr-1.c
test/asan/TestCases/strstr-2.c
test/asan/TestCases/strtok.c
test/asan/TestCases/use-after-scope-inlined.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31484.93423.patch
Type: text/x-patch
Size: 22798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170329/d5bed867/attachment.bin>
More information about the llvm-commits
mailing list