aboutsummaryrefslogtreecommitdiff
path: root/libsanitizer/aclocal.m4
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2023-08-29 10:57:42 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2023-08-29 10:57:42 -0400
commitf687fc1ff6d4a44db87a35e9e3be7f20425bdacc (patch)
tree597efde3e2641ea1a4b8faba643893058cbbd934 /libsanitizer/aclocal.m4
parentd16af3ebea84749ac673db29a4124d2dc7cd369e (diff)
downloadgcc-f687fc1ff6d4a44db87a35e9e3be7f20425bdacc.zip
gcc-f687fc1ff6d4a44db87a35e9e3be7f20425bdacc.tar.gz
gcc-f687fc1ff6d4a44db87a35e9e3be7f20425bdacc.tar.bz2
analyzer: improve strdup handling [PR105899]
gcc/analyzer/ChangeLog: PR analyzer/105899 * kf.cc (kf_strdup::impl_call_pre): Set size of dynamically-allocated buffer. Simulate copying the string from the source region to the new buffer. gcc/testsuite/ChangeLog: PR analyzer/105899 * c-c++-common/analyzer/pr99193-2.c: Add -Wno-analyzer-too-complex. * gcc.dg/analyzer/strdup-1.c: Include "analyzer-decls.h". (test_concrete_strlen): New. (test_symbolic_strlen): New. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libsanitizer/aclocal.m4')
0 files changed, 0 insertions, 0 deletions