Skip to content

Commit 9ed939e

Browse files
alexmalyshevmeta-codesync[bot]
authored andcommitted
Disable internal clang-tidy check for memcpy
Summary: This recommends using internal libraries that we don't have access to in open source. Reviewed By: jbower-fb Differential Revision: D83767599 fbshipit-source-id: 24e51a4a4b317d8c6cd85f74ecb64ce2e45a1455
1 parent 92f1a2b commit 9ed939e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

cinderx/.clang-tidy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ InheritParentConfig: true
1010
# tests and we don't do anything crazy with it. It's more convenient to use
1111
# it instead of pulling in a third party dependency like RE2.
1212
#
13+
# * Can't replace memcpy() with more secure forms as that requires internal
14+
# libraries that don't exist externally.
15+
#
1316
# * The JIT converts between pointers and integers frequently, there's no way
1417
# to avoid this.
1518

1619
Checks: '
17-
-facebook-hte-NullableReturn,
1820
-facebook-hte-GlibcRegexIsAwful,
21+
-facebook-hte-NullableReturn,
1922
-facebook-hte-StdRegexIsAwful,
23+
-facebook-security-vulnerable-memcpy,
2024
-performance-no-int-to-ptr,
2125
modernize-raw-string-literal,
2226
'

0 commit comments

Comments
 (0)