[DFSAN] Add support for strnlen
authorTomasz Kuchta <t.kuchta@samsung.com>
Fri, 12 May 2023 05:28:53 +0000 (05:28 +0000)
committerAndrew Browne <browneee@google.com>
Fri, 12 May 2023 06:26:40 +0000 (06:26 +0000)
commit5becf548abe84478e691a2511f4c7517fce6a371
treeae4b4d7194ef55ccffd772998bf57da7b511dc02
parentaa6cb0f21461d76d296c7c6139d0a8e355238ce5
[DFSAN] Add support for strnlen

This patch adds a support for the libc strnlen() function in DFSAN

Reviewed by: browneee

Differential Revision: https://reviews.llvm.org/D149459
compiler-rt/lib/dfsan/dfsan_custom.cpp
compiler-rt/lib/dfsan/done_abilist.txt
compiler-rt/test/dfsan/custom.cpp