[all-commits] [llvm/llvm-project] c0c836: ASan: Add additional wcs* interceptors on Windows

nicole mazzuca via All-commits all-commits at lists.llvm.org
Mon Aug 21 14:17:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0c83668f8992ec00f5718ee330f82e2ce4ad5c8
      https://github.com/llvm/llvm-project/commit/c0c83668f8992ec00f5718ee330f82e2ce4ad5c8
  Author: Nicole Mazzuca <nicole at strega-nil.co>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M compiler-rt/lib/interception/interception_win.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
    A compiler-rt/test/asan/TestCases/Windows/replaced_functions.c

  Log Message:
  -----------
  ASan: Add additional wcs* interceptors on Windows

This adds wcs[n]cat, wcs[n]cmp, wcs[n]cpy, and wcschr functions to the
interception code on Windows; wcs[n]cat was already intercepted, but only on
POSIX.

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




More information about the All-commits mailing list