Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] mpich-5.0.0b1/src/include/mpir_gpu.h:9: included_from: Included from here. mpich-5.0.0b1/src/include/mpiimpl.h:185: included_from: Included from here. mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c: scope_hint: In function 'internal_Mrecv_c' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:238:49: warning[-Wanalyzer-null-dereference]: dereference of NULL 'message_ptr' mpich-5.0.0b1/src/include/mpir_err.h:1024:13: note: in definition of macro 'MPIR_ERR_CHKANDSTMT' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:238:17: note: in expansion of macro 'MPIR_ERR_CHKANDJUMP' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:355:5: note: in expansion of macro 'MPI_Mrecv_c' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:231:9: note: in expansion of macro 'MPID_BEGIN_ERROR_CHECKS' mpich-5.0.0b1/src/include/mpiimpl.h:155: included_from: Included from here. mpich-5.0.0b1/src/include/mpir_pointers.h:47:41: note: in expansion of macro 'MPIR_Valid_ptr_class' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:234:17: note: in expansion of macro 'MPIR_Request_valid_ptr' mpich-5.0.0b1/src/include/mpir_pointers.h:47:41: note: in expansion of macro 'MPIR_Valid_ptr_class' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:234:17: note: in expansion of macro 'MPIR_Request_valid_ptr' mpich-5.0.0b1/src/include/mpir_pointers.h:24:13: note: in expansion of macro 'MPIR_Assert' mpich-5.0.0b1/src/include/mpir_pointers.h:47:41: note: in expansion of macro 'MPIR_Valid_ptr_class' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:234:17: note: in expansion of macro 'MPIR_Request_valid_ptr' mpich-5.0.0b1/src/include/mpir_err.h:1024:13: note: in definition of macro 'MPIR_ERR_CHKANDSTMT' mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:238:17: note: in expansion of macro 'MPIR_ERR_CHKANDJUMP' # 236| goto fn_fail; # 237| } # 238|-> MPIR_ERR_CHKANDJUMP((message_ptr->kind != MPIR_REQUEST_KIND__MPROBE), # 239| mpi_errno, MPI_ERR_ARG, "**reqnotmsg"); # 240| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] mpich-5.0.0b1/src/include/mpir_datatype.h:489:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'array_of_subsizes' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:125:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c: scope_hint: In function 'MPIR_Type_create_subarray' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:125:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:125:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:126:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:127:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c: scope_hint: In function 'MPIR_Type_create_subarray' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:127:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro' mpich-5.0.0b1/src/include/mpir_datatype.h:488:13: note: in expansion of macro 'MPIR_Assert' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro' mpich-5.0.0b1/src/include/mpir_datatype.h:488:13: note: in expansion of macro 'MPIR_Assert' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro' mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro' # 487| MPIR_Handle_get_ptr_indirect(a,&MPIR_Datatype_mem)); \ # 488| MPIR_Assert(ptr != NULL); \ # 489|-> extent_ = ((MPIR_Datatype *) ptr)->extent; \ # 490| break; \ # 491| case HANDLE_KIND_INVALID: \
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.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-192.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.20260812.073944.g55de5c3.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | mpich-5.0.0b1-1.20260813080904855819.pr7934.532.gc38a034153 |
| diffbase-store-results-to | /tmp/tmp2q77hzhd/mpich-5.0.0b1-1.20260813080904855819.pr7934.532.gc38a034153.tar.xz |
| diffbase-time-created | 2026-08-13 09:47:11 |
| diffbase-time-finished | 2026-08-13 11:10:09 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp2q77hzhd/mpich-5.0.0b1-1.20260813080904855819.pr7934.532.gc38a034153.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp2q77hzhd/mpich-5.0.0b1-1.20260813080904855819.pr7934.532.gc38a034153.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260810.142351.gef180f1-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-192.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.20260812.073944.g55de5c3.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b |
| store-results-to | /tmp/tmpnebp04iw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.tar.xz |
| time-created | 2026-08-13 08:23:23 |
| time-finished | 2026-08-13 09:46:04 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpnebp04iw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpnebp04iw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.src.rpm' |
| tool-version | csmock-3.8.7.20260810.142351.gef180f1-1.el9 |