summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2018-01-12 22:12:11 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2018-01-12 22:12:11 +0000
commit1ebd1c4f9d9932b0095e03560b5fab1d5e0ee987 (patch)
treedcdfc83d3cc39d6e2efe6c7f446b0dd1e383ce83 /llvm/test
parent59e4e400c3ba5a4f7a496a336335f77af581443a (diff)
downloadbcm5719-llvm-1ebd1c4f9d9932b0095e03560b5fab1d5e0ee987.tar.gz
bcm5719-llvm-1ebd1c4f9d9932b0095e03560b5fab1d5e0ee987.zip
[analyzer] Don't flag strcpy of string literals into sufficiently large buffers.
In the security package, we have a simple syntactic check that warns about strcpy() being insecure, due to potential buffer overflows. Suppress that check's warning in the trivial situation when the source is an immediate null-terminated string literal and the target is an immediate sufficiently large buffer. Patch by AndrĂ¡s Leitereg! Differential Revision: https://reviews.llvm.org/D41384 llvm-svn: 322410
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud