anaconda-42.1-1.20240905094014882521.pr5824.3.g123d819770

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseStandalone.c: scope_hint: In function 'anaconda_base_standalone_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseStandalone.c:152:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseWindow.h:21: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseStandalone.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  150|                                                           G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
#  151|   
#  152|->     g_type_class_add_private(object_class, sizeof(AnacondaBaseStandalonePrivate));
#  153|   
#  154|       gtk_widget_class_set_css_name(widget_class, "AnacondaBaseStandalone");

Error: COMPILER_WARNING: [#def2]
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseStandalone.c: scope_hint: In function 'anaconda_base_standalone_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseStandalone.c:160:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  158|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  159|                                               ANACONDA_TYPE_BASE_STANDALONE,
#  160|->                                             AnacondaBaseStandalonePrivate);
#  161|   }
#  162|   

Error: COMPILER_WARNING (CWE-477): [#def3]
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseWindow.c: scope_hint: In function 'anaconda_base_window_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseWindow.c:235:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
#  235 |     g_type_class_add_private(object_class, sizeof(AnacondaBaseWindowPrivate));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/LayoutIndicator.h:21: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseWindow.c:25: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
# 1497 | void     g_type_class_add_private       (gpointer                    g_class,
#      |          ^~~~~~~~~~~~~~~~~~~~~~~~
#  233|                                                              G_TYPE_NONE, 0);
#  234|   
#  235|->     g_type_class_add_private(object_class, sizeof(AnacondaBaseWindowPrivate));
#  236|   
#  237|       gtk_widget_class_set_css_name(widget_class, "AnacondaBaseWindow");

Error: COMPILER_WARNING: [#def4]
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseWindow.c: scope_hint: In function 'anaconda_base_window_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseWindow.c:258:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  258 |                                             AnacondaBaseWindowPrivate);
#      |             ^                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~      
#  256|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  257|                                               ANACONDA_TYPE_BASE_WINDOW,
#  258|->                                             AnacondaBaseWindowPrivate);
#  259|   
#  260|       win->priv->is_beta = FALSE;

Error: COMPILER_WARNING (CWE-477): [#def5]
anaconda-42.1-build/anaconda-42.1/widgets/src/DiskOverview.c: scope_hint: In function 'anaconda_disk_overview_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/DiskOverview.c:239:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/atk-1.0/atk/atk-enum-types.h:12: included_from: Included from here.
/usr/include/atk-1.0/atk/atk.h:25: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/DiskOverview.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  237|                                                           G_PARAM_READWRITE));
#  238|   
#  239|->     g_type_class_add_private(object_class, sizeof(AnacondaDiskOverviewPrivate));
#  240|   
#  241|       gtk_widget_class_set_css_name(widget_class, "AnacondaDiskOverview");

Error: COMPILER_WARNING: [#def6]
anaconda-42.1-build/anaconda-42.1/widgets/src/DiskOverview.c: scope_hint: In function 'anaconda_disk_overview_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/DiskOverview.c:310:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  308|       widget->priv = G_TYPE_INSTANCE_GET_PRIVATE(widget,
#  309|                                                  ANACONDA_TYPE_DISK_OVERVIEW,
#  310|->                                                AnacondaDiskOverviewPrivate);
#  311|       gtk_widget_set_valign(GTK_WIDGET(widget), GTK_ALIGN_CENTER);
#  312|   

Error: COMPILER_WARNING (CWE-477): [#def7]
anaconda-42.1-build/anaconda-42.1/widgets/src/HubWindow.c: scope_hint: In function 'anaconda_hub_window_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/HubWindow.c:103:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseStandalone.h:21: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/HubWindow.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  101|       GtkWidgetClass *widget_class = GTK_WIDGET_CLASS(klass);
#  102|   
#  103|->     g_type_class_add_private(object_class, sizeof(AnacondaHubWindowPrivate));
#  104|   
#  105|       gtk_widget_class_set_css_name(widget_class, "AnacondaHubWindow");

Error: COMPILER_WARNING: [#def8]
anaconda-42.1-build/anaconda-42.1/widgets/src/HubWindow.c: scope_hint: In function 'anaconda_hub_window_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/HubWindow.c:125:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  123|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  124|                                               ANACONDA_TYPE_HUB_WINDOW,
#  125|->                                             AnacondaHubWindowPrivate);
#  126|   
#  127|       win->priv->scrolled_window = gtk_scrolled_window_new(NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def9]
anaconda-42.1-build/anaconda-42.1/widgets/src/LayoutIndicator.c: scope_hint: In function 'anaconda_layout_indicator_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/LayoutIndicator.c:145:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/atk-1.0/atk/atk-enum-types.h:12: included_from: Included from here.
/usr/include/atk-1.0/atk/atk.h:25: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/LayoutIndicator.c:22: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  143|                                                         G_PARAM_READWRITE));
#  144|   
#  145|->     g_type_class_add_private(object_class, sizeof(AnacondaLayoutIndicatorPrivate));
#  146|   
#  147|       gtk_widget_class_set_css_name(widget_class, "AnacondaLayoutIndicator");

Error: COMPILER_WARNING: [#def10]
anaconda-42.1-build/anaconda-42.1/widgets/src/LayoutIndicator.c: scope_hint: In function 'anaconda_layout_indicator_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/LayoutIndicator.c:189:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  187|       self->priv = G_TYPE_INSTANCE_GET_PRIVATE(self,
#  188|                                                ANACONDA_TYPE_LAYOUT_INDICATOR,
#  189|->                                              AnacondaLayoutIndicatorPrivate);
#  190|   
#  191|       /* layout indicator should not change focus when it is clicked */

Error: COMPILER_WARNING (CWE-477): [#def11]
anaconda-42.1-build/anaconda-42.1/widgets/src/MountpointSelector.c: scope_hint: In function 'anaconda_mountpoint_selector_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/MountpointSelector.c:203:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/MountpointSelector.c:21: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  201|                                             NULL);            // array of types, one for each parameter
#  202|   
#  203|->     g_type_class_add_private(object_class, sizeof(AnacondaMountpointSelectorPrivate));
#  204|   
#  205|       gtk_widget_class_set_css_name(widget_class, "AnacondaMountpointSelector");

Error: COMPILER_WARNING: [#def12]
anaconda-42.1-build/anaconda-42.1/widgets/src/MountpointSelector.c: scope_hint: In function 'anaconda_mountpoint_selector_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/MountpointSelector.c:228:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  226|       mountpoint->priv = G_TYPE_INSTANCE_GET_PRIVATE(mountpoint,
#  227|                                                      ANACONDA_TYPE_MOUNTPOINT_SELECTOR,
#  228|->                                                    AnacondaMountpointSelectorPrivate);
#  229|   
#  230|       /* Allow tabbing from one MountpointSelector to the next, and make sure it's

Error: COMPILER_WARNING (CWE-477): [#def13]
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeSelector.c: scope_hint: In function 'anaconda_spoke_selector_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeSelector.c:167:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/atk-1.0/atk/atk-enum-types.h:12: included_from: Included from here.
/usr/include/atk-1.0/atk/atk.h:25: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeSelector.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  165|                                                           G_PARAM_READWRITE));
#  166|   
#  167|->     g_type_class_add_private(object_class, sizeof(AnacondaSpokeSelectorPrivate));
#  168|   
#  169|       gtk_widget_class_set_css_name(widget_class, "AnacondaSpokeSelector");

Error: COMPILER_WARNING: [#def14]
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeSelector.c: scope_hint: In function 'anaconda_spoke_selector_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeSelector.c:268:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  266|       spoke->priv = G_TYPE_INSTANCE_GET_PRIVATE(spoke,
#  267|                                                 ANACONDA_TYPE_SPOKE_SELECTOR,
#  268|->                                               AnacondaSpokeSelectorPrivate);
#  269|   
#  270|       /* Allow tabbing from one SpokeSelector to the next, and make sure it's

Error: COMPILER_WARNING (CWE-477): [#def15]
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeWindow.c: scope_hint: In function 'anaconda_spoke_window_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeWindow.c:100:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseWindow.h:21: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeWindow.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#   98|                                                            G_TYPE_NONE, 0);
#   99|   
#  100|->     g_type_class_add_private(object_class, sizeof(AnacondaSpokeWindowPrivate));
#  101|   
#  102|       gtk_widget_class_set_css_name(widget_class, "AnacondaSpokeWindow");

Error: COMPILER_WARNING: [#def16]
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeWindow.c: scope_hint: In function 'anaconda_spoke_window_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/SpokeWindow.c:125:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  123|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  124|                                               ANACONDA_TYPE_SPOKE_WINDOW,
#  125|->                                             AnacondaSpokeWindowPrivate);
#  126|   
#  127|       /* Create the button. */

Error: COMPILER_WARNING (CWE-477): [#def17]
anaconda-42.1-build/anaconda-42.1/widgets/src/StandaloneWindow.c: scope_hint: In function 'anaconda_standalone_window_class_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/StandaloneWindow.c:114:5: warning[-Wdeprecated-declarations]: 'g_type_class_add_private' is deprecated
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
/usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here.
/usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28: included_from: Included from here.
/usr/include/gtk-3.0/gdk/gdk.h:32: included_from: Included from here.
/usr/include/gtk-3.0/gtk/gtk.h:30: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/BaseStandalone.h:21: included_from: Included from here.
anaconda-42.1-build/anaconda-42.1/widgets/src/StandaloneWindow.c:20: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
#  112|                                                           G_PARAM_READABLE));
#  113|   
#  114|->     g_type_class_add_private(object_class, sizeof(AnacondaStandaloneWindowPrivate));
#  115|   
#  116|       gtk_widget_class_set_css_name(widget_class, "AnacondaStandaloneWindow");

Error: COMPILER_WARNING: [#def18]
anaconda-42.1-build/anaconda-42.1/widgets/src/StandaloneWindow.c: scope_hint: In function 'anaconda_standalone_window_init'
anaconda-42.1-build/anaconda-42.1/widgets/src/StandaloneWindow.c:146:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
#  144|       win->priv = G_TYPE_INSTANCE_GET_PRIVATE(win,
#  145|                                               ANACONDA_TYPE_STANDALONE_WINDOW,
#  146|->                                             AnacondaStandaloneWindowPrivate);
#  147|   
#  148|       /* Create the buttons. */

Scan Properties

analyzer-version-clippy1.80.1
analyzer-version-cppcheck2.15.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer14.2.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-162.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-nameanaconda-42.1-1.20240905094014882521.pr5824.3.g123d819770
store-results-to/tmp/tmplf340bja/anaconda-42.1-1.20240905094014882521.pr5824.3.g123d819770.tar.xz
time-created2024-09-05 09:48:46
time-finished2024-09-05 09:50:58
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmplf340bja/anaconda-42.1-1.20240905094014882521.pr5824.3.g123d819770.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmplf340bja/anaconda-42.1-1.20240905094014882521.pr5824.3.g123d819770.src.rpm'
tool-versioncsmock-3.6.1-1.el9