summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/clang-analyzer-security.insecureAPI.rand.json
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-tidy/test/clang-analyzer-security.insecureAPI.rand.json')
-rw-r--r--tools/clang-tidy/test/clang-analyzer-security.insecureAPI.rand.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/clang-analyzer-security.insecureAPI.rand.json b/tools/clang-tidy/test/clang-analyzer-security.insecureAPI.rand.json
new file mode 100644
index 0000000000..7669f38d3e
--- /dev/null
+++ b/tools/clang-tidy/test/clang-analyzer-security.insecureAPI.rand.json
@@ -0,0 +1 @@
+"[[\"warning\", \"The 'random' function produces a sequence of values that an adversary may be able to predict. Use 'arc4random' instead\", \"clang-analyzer-security.insecureAPI.rand\"]]"