public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dimitri at ouroboros dot rocks" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/94365] false positive leak when using container_of-like constructs Date: Sat, 12 Jun 2021 09:19:27 +0000 [thread overview] Message-ID: <bug-94365-4-Lr0EtSKa2J@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-94365-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94365 dimitri at ouroboros dot rocks changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimitri at ouroboros dot rocks --- Comment #1 from dimitri at ouroboros dot rocks --- Thanks for filing this one. We're using a double-linked-list implementation which also has this construct using offsetof and are also seeing false positives in these parts of the code. I thought the analyzer may have trouble with the list pointers, but I think it will actually be the offsetof that is causing it.
next prev parent reply other threads:[~2021-06-12 9:19 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-27 18:17 [Bug analyzer/94365] New: " npfhrotynz-ptnqh.myvf at noclue dot notk.org 2021-06-12 9:19 ` dimitri at ouroboros dot rocks [this message] 2021-11-18 20:51 ` [Bug analyzer/94365] " dmalcolm at gcc dot gnu.org 2024-04-08 20:44 ` dmalcolm 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-94365-4-Lr0EtSKa2J@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).