Error: GCC_ANALYZER_WARNING (CWE-688): [#def1] drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:2113:17: warning[-Wanalyzer-null-argument]: use of NULL 'map_files_segments.vector.<U9c80>._idata' where non-null expected drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:40: included_from: Included from here. drgn-0.3.0+51.g666444eb/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:5503:9: note: in expansion of macro 'drgn_log_debug' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments' drgn-0.3.0+51.g666444eb/libdrgn/log.h:59:29: note: in expansion of macro 'drgn_log' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:4813:9: note: in expansion of macro 'drgn_log_debug' drgn-0.3.0+51.g666444eb/libdrgn/dwarf_info.h:26: included_from: Included from here. drgn-0.3.0+51.g666444eb/libdrgn/debug_info.h:26: included_from: Included from here. drgn-0.3.0+51.g666444eb/libdrgn/vector.h:458:13: note: in definition of macro 'DEFINE_VECTOR_FUNCTIONS' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR' drgn-0.3.0+51.g666444eb/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR' drgn-0.3.0+51.g666444eb/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR' drgn-0.3.0+51.g666444eb/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR' drgn-0.3.0+51.g666444eb/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR' drgn-0.3.0+51.g666444eb/libdrgn/vector.h:603:1: note: in expansion of macro 'DEFINE_VECTOR_FUNCTIONS' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:2059:1: note: in expansion of macro 'DEFINE_VECTOR' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c: scope_hint: In function 'drgn_debug_info_set_map_files_segments' drgn-0.3.0+51.g666444eb/libdrgn/debug_info.c:19: included_from: Included from here. /usr/include/stdlib.h:998:13: note: argument 1 of 'qsort' must be non-null # 2111| &dbinfo->num_map_files_segments); # 2112| if (!segments->sorted) { # 2113|-> qsort(dbinfo->map_files_segments, # 2114| dbinfo->num_map_files_segments, # 2115| sizeof(dbinfo->map_files_segments[0]),
| analyzer-version-clippy | 1.99.1 |
| analyzer-version-cppcheck | 2.22.0 |
| analyzer-version-gcc | 16.2.1 |
| analyzer-version-gcc-analyzer | 16.2.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.99.1 |
| diffbase-analyzer-version-cppcheck | 2.22.0 |
| diffbase-analyzer-version-gcc | 16.2.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.2.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-53.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | python-drgn-0.3.0+50.g54fddcea-1.20261110193150983064.main.50.g54fddcea |
| diffbase-store-results-to | /tmp/tmptw45z_k7/python-drgn-0.3.0+50.g54fddcea-1.20261110193150983064.main.50.g54fddcea.tar.xz |
| diffbase-time-created | 2026-11-10 20:11:59 |
| diffbase-time-finished | 2026-11-10 20:15:06 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-9c14c3b5-87f0-41ef-bf75-d1b72ffc6649' '-t' 'unicontrol,gcc,cppcheck,clippy,shellcheck' '-o' '/tmp/tmptw45z_k7/python-drgn-0.3.0+50.g54fddcea-1.20261110193150983064.main.50.g54fddcea.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmptw45z_k7/python-drgn-0.3.0+50.g54fddcea-1.20261110193150983064.main.50.g54fddcea.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20261109.142513.g0472814-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-53.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | python-drgn-0.3.0+51.g666444eb-1.20261110195105732606.pr670.51.g666444eb |
| store-results-to | /tmp/tmpyjae3zw0/python-drgn-0.3.0+51.g666444eb-1.20261110195105732606.pr670.51.g666444eb.tar.xz |
| time-created | 2026-11-10 20:15:27 |
| time-finished | 2026-11-10 20:18:30 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-451c5ee0-b8c4-43fc-b435-2e41f0d6382f' '-t' 'unicontrol,gcc,cppcheck,clippy,shellcheck' '-o' '/tmp/tmpyjae3zw0/python-drgn-0.3.0+51.g666444eb-1.20261110195105732606.pr670.51.g666444eb.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpyjae3zw0/python-drgn-0.3.0+51.g666444eb-1.20261110195105732606.pr670.51.g666444eb.src.rpm' |
| tool-version | csmock-3.8.7.20261109.142513.g0472814-1.el9 |