[all-commits] [llvm/llvm-project] e9e189: [sanitizer] Fail __sanitizer_symbolize_demangle in...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Sep 13 10:15:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9e1892b838d50729871f9b2160d4a11fb4972fb
      https://github.com/llvm/llvm-project/commit/e9e1892b838d50729871f9b2160d4a11fb4972fb
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cpp
    A compiler-rt/test/sanitizer_common/TestCases/demangle_internal.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp

  Log Message:
  -----------
  [sanitizer] Fail __sanitizer_symbolize_demangle instead of returning input (#66006)

LLVMSymbolizer::DemangleName returns the same input if it can't
demangle.
We can't tell if this is already demangled or format is unsupported.

Internally DemangleName uses nonMicrosoftDemangle which can report a
failure.




More information about the All-commits mailing list