[all-commits] [llvm/llvm-project] ad2be0: ASAN: Support detect_invalid_pointer_pairs=1 with ...

marxin via All-commits all-commits at lists.llvm.org
Tue Oct 20 10:29:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ad2be02a833e56f7fe280797280b219eb3312621
      https://github.com/llvm/llvm-project/commit/ad2be02a833e56f7fe280797280b219eb3312621
  Author: Martin Liska <mliska at suse.cz>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M compiler-rt/lib/asan/asan_thread.cpp
    M compiler-rt/test/asan/TestCases/invalid-pointer-pairs-subtract-success.cpp

  Log Message:
  -----------
  ASAN: Support detect_invalid_pointer_pairs=1 with detect_stack_use_after_return=1

Do not crash when AsanThread::GetStackVariableShadowStart does not find
a variable for a pointer on a shadow stack.

Differential Revision: https://reviews.llvm.org/D89552




More information about the All-commits mailing list