[PATCH] D54584: Add new interceptor for regex(3) in NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 15 09:09:38 PST 2018


krytarowski created this revision.
krytarowski added reviewers: vitalybuka, joerg.
krytarowski added a project: Sanitizers.
Herald added subscribers: llvm-commits, kubamracek.

Add interceptors for the NetBSD style of regex(3) present inside libc:

- regcomp
- regexec
- regerror
- regfree
- regnsub
- regasub

Add a dedicated test verifying the installed interceptors.


Repository:
  rL LLVM

https://reviews.llvm.org/D54584

Files:
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_platform_interceptors.h
  lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc
  lib/sanitizer_common/sanitizer_platform_limits_netbsd.h
  test/sanitizer_common/TestCases/NetBSD/regex.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54584.174222.patch
Type: text/x-patch
Size: 9004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181115/94d26d86/attachment.bin>


More information about the llvm-commits mailing list