public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/105899] RFE: -fanalyzer could complain about misuses of standard C string APIs Date: Tue, 29 Aug 2023 14:59:12 +0000 [thread overview] Message-ID: <bug-105899-4-6GHgp4RIQZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-105899-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105899 --- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by David Malcolm <dmalcolm@gcc.gnu.org>: https://gcc.gnu.org/g:f687fc1ff6d4a44db87a35e9e3be7f20425bdacc commit r14-3549-gf687fc1ff6d4a44db87a35e9e3be7f20425bdacc Author: David Malcolm <dmalcolm@redhat.com> Date: Tue Aug 29 10:57:42 2023 -0400 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>
next prev parent reply other threads:[~2023-08-29 14:59 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-08 15:00 [Bug analyzer/105899] New: " dmalcolm at gcc dot gnu.org 2023-08-11 22:09 ` [Bug analyzer/105899] " cvs-commit at gcc dot gnu.org 2023-08-11 23:16 ` dmalcolm at gcc dot gnu.org 2023-08-22 1:16 ` cvs-commit at gcc dot gnu.org 2023-08-22 1:16 ` cvs-commit at gcc dot gnu.org 2023-08-22 22:38 ` cvs-commit at gcc dot gnu.org 2023-08-24 14:26 ` cvs-commit at gcc dot gnu.org 2023-08-24 14:26 ` cvs-commit at gcc dot gnu.org 2023-08-24 14:26 ` cvs-commit at gcc dot gnu.org 2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org 2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org 2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org 2023-08-24 14:27 ` cvs-commit at gcc dot gnu.org 2023-08-29 14:59 ` cvs-commit at gcc dot gnu.org [this message] 2023-09-06 13:33 ` cvs-commit at gcc dot gnu.org 2023-09-06 13:33 ` cvs-commit at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-105899-4-6GHgp4RIQZ@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).