[PATCH] D42061: Add new interceptors: strlcpy(3) and strlcat(3)

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 11:36:29 PST 2018


krytarowski updated this revision to Diff 132439.
krytarowski added a comment.

- use COMMON_INTERCEPTOR_COPY_STRING().
- use COMMON_INTERCEPTOR_READ_STRING()


Repository:
  rL LLVM

https://reviews.llvm.org/D42061

Files:
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_platform_interceptors.h
  test/sanitizer_common/TestCases/NetBSD/strlcat.cc
  test/sanitizer_common/TestCases/NetBSD/strlcpy.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42061.132439.patch
Type: text/x-patch
Size: 4744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180201/45e484b3/attachment.bin>


More information about the llvm-commits mailing list