https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99193
--- Comment #11 from David Malcolm <dmalcolm at gcc dot gnu.org> --- BTW, looking at the #pragma GCC diagnostic ignored "-Wanalyzer-null-argument" at https://github.com/libguestfs/libguestfs/blob/f19fd566f6387ce7e4d82409528c9dde374d25e0/df/main.c#L317 I'm guessing that this was due to PR analyzer/99196, due to the: name = strdup (drvs->uri.orig_uri); if (name == NULL) error (EXIT_FAILURE, errno, "strdup"); p = strrchr (name, '/'); where the analyzer didn't "know" that the error call would terminate the program; so hopefully this is also fixed now.