Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-457): [#def1]
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set.h:963:60: warning[-Wmaybe-uninitialized]: ‘MEM[(const union HeapOrSoo *)&root + 16B].heap.slot_array.p’ may be used uninitialized
#  963 |   void* slot_array() const { return heap_or_soo_.slot_array().get(); }
#      |                                     ~~~~~~~~~~~~~~~~~~~~~~~^~
abseil-cpp-20260107.1/absl/container/node_hash_map_test.cc: scope_hint: In member function ‘absl::lts_20260107::container_internal::(anonymous namespace)::NodeHashMap_AssignRecursive_Test::TestBody()’
abseil-cpp-20260107.1/absl/container/node_hash_map_test.cc:133:8: note: ‘root’ declared here
#  133 |   Tree root;
#      |        ^~~~
cc1plus: note: unrecognized command-line option ‘-Wno-unused-private-field’ may have been intended to silence earlier diagnostics
#  961|   
#  962|     // Note: we can't use slots() because Qt defines "slots" as a macro.
#  963|->   void* slot_array() const { return heap_or_soo_.slot_array().get(); }
#  964|     MaybeInitializedPtr<void> slots_union() const {
#  965|       return heap_or_soo_.slot_array();

Error: COMPILER_WARNING (CWE-457): [#def2]
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set.h:1982:47: warning[-Wuninitialized]: ‘D.406067.D.356647.slot_’ is used uninitialized
# 1982 |       AssertSameContainer(a.ctrl_, b.ctrl_, a.slot_, b.slot_,
#      |                                             ~~^~~~~
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set_test.cc: scope_hint: In member function ‘absl::lts_20260107::container_internal::(anonymous namespace)::Iterator_ConvertsToConstIterator_Test::TestBody()’
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set_test.cc:2422:15: note: ‘<anonymous>’ declared here
# 2422 |   EXPECT_TRUE(i == StringTable::const_iterator());
#      |               ^
cc1plus: note: unrecognized command-line option ‘-Wno-unused-private-field’ may have been intended to silence earlier diagnostics
# 1980|         AssertIsValidForComparison(a.ctrl_, a.generation(), a.generation_ptr());
# 1981|         AssertIsValidForComparison(b.ctrl_, b.generation(), b.generation_ptr());
# 1982|->       AssertSameContainer(a.ctrl_, b.ctrl_, a.slot_, b.slot_,
# 1983|                             a.generation_ptr(), b.generation_ptr());
# 1984|         return a.ctrl_ == b.ctrl_;

Error: COMPILER_WARNING (CWE-457): [#def3]
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set.h:1982:47: warning[-Wuninitialized]: ‘i.D.356647.slot_’ is used uninitialized
# 1982 |       AssertSameContainer(a.ctrl_, b.ctrl_, a.slot_, b.slot_,
#      |                                             ~~^~~~~
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set_test.cc: scope_hint: In member function ‘absl::lts_20260107::container_internal::(anonymous namespace)::Iterator_IsDefaultConstructible_Test::TestBody()’
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set_test.cc:2411:25: note: ‘i’ declared here
# 2411 |   StringTable::iterator i;
#      |                         ^
# 1980|         AssertIsValidForComparison(a.ctrl_, a.generation(), a.generation_ptr());
# 1981|         AssertIsValidForComparison(b.ctrl_, b.generation(), b.generation_ptr());
# 1982|->       AssertSameContainer(a.ctrl_, b.ctrl_, a.slot_, b.slot_,
# 1983|                             a.generation_ptr(), b.generation_ptr());
# 1984|         return a.ctrl_ == b.ctrl_;

Error: COMPILER_WARNING (CWE-457): [#def4]
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set.h:1982:56: warning[-Wuninitialized]: ‘D.405798.D.356647.slot_’ is used uninitialized
# 1982 |       AssertSameContainer(a.ctrl_, b.ctrl_, a.slot_, b.slot_,
#      |                                                      ~~^~~~~
/usr/include/gtest/gtest-printers.h:122: included_from: Included from here.
/usr/include/gtest/gtest-matchers.h:49: included_from: Included from here.
/usr/include/gtest/internal/gtest-death-test-internal.h:47: included_from: Included from here.
/usr/include/gtest/gtest-death-test.h:43: included_from: Included from here.
/usr/include/gtest/gtest.h:64: included_from: Included from here.
/usr/include/gmock/internal/gmock-internal-utils.h:51: included_from: Included from here.
/usr/include/gmock/gmock-actions.h:146: included_from: Included from here.
/usr/include/gmock/gmock.h:56: included_from: Included from here.
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set_test.cc:45: included_from: Included from here.
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set_test.cc: scope_hint: In member function ‘absl::lts_20260107::container_internal::(anonymous namespace)::Iterator_IsDefaultConstructible_Test::TestBody()’
abseil-cpp-20260107.1/absl/container/internal/raw_hash_set_test.cc:2412:42: note: ‘<anonymous>’ declared here
# 2412 |   EXPECT_TRUE(i == StringTable::iterator());
#      |                                          ^
# 1980|         AssertIsValidForComparison(a.ctrl_, a.generation(), a.generation_ptr());
# 1981|         AssertIsValidForComparison(b.ctrl_, b.generation(), b.generation_ptr());
# 1982|->       AssertSameContainer(a.ctrl_, b.ctrl_, a.slot_, b.slot_,
# 1983|                             a.generation_ptr(), b.generation_ptr());
# 1984|         return a.ctrl_ == b.ctrl_;

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-100.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameabseil-cpp-20260526.0-3.fc45
diffbase-store-results-to/tmp/tmpkacm5zdz/abseil-cpp-20260526.0-3.fc45.tar.xz
diffbase-time-created2026-08-03 13:22:30
diffbase-time-finished2026-08-03 13:41:06
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpkacm5zdz/abseil-cpp-20260526.0-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpkacm5zdz/abseil-cpp-20260526.0-3.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-100.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameabseil-cpp-20260107.1-1.fc44
store-results-to/tmp/tmphwlljyxn/abseil-cpp-20260107.1-1.fc44.tar.xz
time-created2026-08-03 13:06:55
time-finished2026-08-03 13:22:00
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmphwlljyxn/abseil-cpp-20260107.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphwlljyxn/abseil-cpp-20260107.1-1.fc44.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9