diff options
author | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-23 19:55:45 +0000 |
---|---|---|
committer | David Bolvansky <david.bolvansky@gmail.com> | 2019-09-23 19:55:45 +0000 |
commit | 48db0272d62ee0e079ffe79246be6aee3afc0942 (patch) | |
tree | 6f01fc48ca5c5a4a9ced72ac866ee2ca410823af /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 174d43d123f59354378dffbbf8960a0cb79df25c (diff) | |
download | bcm5719-llvm-48db0272d62ee0e079ffe79246be6aee3afc0942.tar.gz bcm5719-llvm-48db0272d62ee0e079ffe79246be6aee3afc0942.zip |
[InstCombine] Annotate strndup calls with dereferenceable_or_null
"Implementations are free to malloc() a buffer containing either (size + 1) bytes or (strnlen(s, size) + 1) bytes. Applications should not assume that strndup() will allocate (size + 1) bytes when strlen(s) is smaller than size."
llvm-svn: 372647
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions