[compiler-rt] Enable ASAN checks for wcscat/wcsncat on Windows, and wcscpy/wcsncpy on all platforms (PR #90909)

Yixuan Cao via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 11 01:06:35 PDT 2025


Cao-Wuhui wrote:

> Nice work! Congrats on your publication.
> 
> For future reference, you might be interested in comparing your work to "Light-weight Bounds Checking" (CGO 2012; https://www.seclab.cs.sunysb.edu/seclab/pubs/lbc.pdf), which pioneered the general two-stage "check if the value is possibly a red zone value, if so do a slow-path check" approach.

Thanks a lot for the kind words and for the pointer to the *Light-weight Bounds Checking* paper, which is definitely an interesting and highly related paper.

We’re happy to move this PR work forward, i.e., support wide-character functions such as `wcscpy()` for ASan. Would it be preferable to open a new PR rebased on main, or to try to revive this one directly?


https://github.com/llvm/llvm-project/pull/90909


More information about the llvm-commits mailing list