[PATCH] D54702: Add interceptors for the strtoi(3)/strtou(3) from NetBSD

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 19 08:19:01 PST 2018


krytarowski created this revision.
krytarowski added reviewers: joerg, vitalybuka.
krytarowski added a project: Sanitizers.
Herald added a subscriber: kubamracek.

strtoi converts string value to an intmax_t integer.

Add a dedicated test.

Enable this API for NetBSD.

Based on the original work by Yang Zheng.


Repository:
  rL LLVM

https://reviews.llvm.org/D54702

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54702.174619.patch
Type: text/x-patch
Size: 5495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181119/c474ce19/attachment.bin>


More information about the llvm-commits mailing list