Fixed findings

List of Findings

Error: COMPILER_WARNING: [#def1] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:5:72: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def2] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:6:66: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def3] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:7:66: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def4] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:9:74: error[error]: invalid operands to binary * (have 'int64_t (*)(shm_struct_t *)' {{aka 'long int (*)(struct shm_struct *)'}} and 'int')

Error: COMPILER_WARNING: [#def5] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:10:60: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def6] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:10:72: error[error]: invalid operands to binary * (have 'int64_t (*)(shm_struct_t *)' {{aka 'long int (*)(struct shm_struct *)'}} and 'int')

Error: COMPILER_WARNING: [#def7] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:11:34: error[error]: enumerator value for '__cgo_undefined__3' is not an integer constant

Error: COMPILER_WARNING: [#def8] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:12:65: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def9] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:13:71: error[error]: invalid operands to binary * (have 'int32_t (*)(shm_struct_t *)' {{aka 'int (*)(struct shm_struct *)'}} and 'int')

Error: COMPILER_WARNING: [#def10] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:14:69: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def11] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:14:82: error[error]: invalid operands to binary * (have 'int32_t (*)(shm_struct_t *)' {{aka 'int (*)(struct shm_struct *)'}} and 'int')

Error: COMPILER_WARNING: [#def12] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:16:61: error[error]: invalid operands to binary * (have 'void (*)(void *)' and 'int')

Error: COMPILER_WARNING: [#def13] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:16:65: error[error]: invalid operands to binary * (have 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def14] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:17:60: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def15] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:17:65: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def16] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:18:64: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def17] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:18:73: error[error]: invalid operands to binary * (have 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def18] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:19:64: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def19] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:20:62: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def20] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:21:69: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def21] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:22:71: error[error]: invalid operands to binary * (have 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def22] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:23:70: error[error]: invalid operands to binary * (have 'shm_struct_t * (*)(char *, uint32_t,  int *)' {{aka 'struct shm_struct * (*)(char *, unsigned int,  int *)'}} and 'int')

Error: COMPILER_WARNING: [#def23] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:24:72: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def24] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:25:66: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def25] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:26:71: error[error]: invalid operands to binary * (have 'shm_struct_t * (*)(char *, uint32_t,  int *)' {{aka 'struct shm_struct * (*)(char *, unsigned int,  int *)'}} and 'int')

Error: COMPILER_WARNING: [#def26] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:27:69: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def27] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:28:67: error[error]: invalid operands to binary * (have 'int (*)(const char *)' and 'int')

Error: COMPILER_WARNING: [#def28] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:29:65: error[error]: invalid operands to binary * (have 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def29] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:30:65: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def30] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:31:65: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def31] [important]
podman-5.6.2/libpod/lock/shm/not-int-const:32:73: error[error]: invalid operands to binary * (have 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def32] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:5:85: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def33] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:6:79: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def34] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:7:79: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def35] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:9:67: error[error]: incompatible types when initializing type 'double' using type 'int64_t (*)(shm_struct_t *)' {{aka 'long int (*)(struct shm_struct *)'}}

Error: COMPILER_WARNING: [#def36] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:10:68: error[error]: incompatible types when initializing type 'double' using type 'int64_t (*)(shm_struct_t *)' {{aka 'long int (*)(struct shm_struct *)'}}

Error: COMPILER_WARNING: [#def37] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:10:73: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def38] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:12:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def39] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:13:68: error[error]: incompatible types when initializing type 'double' using type 'int32_t (*)(shm_struct_t *)' {{aka 'int (*)(struct shm_struct *)'}}

Error: COMPILER_WARNING: [#def40] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:14:68: error[error]: incompatible types when initializing type 'double' using type 'int32_t (*)(shm_struct_t *)' {{aka 'int (*)(struct shm_struct *)'}}

Error: COMPILER_WARNING: [#def41] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:14:82: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def42] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:16:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(void *)'

Error: COMPILER_WARNING: [#def43] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:17:73: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def44] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:17:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def45] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:18:68: error[error]: incompatible types when initializing type 'double' using type 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}}

Error: COMPILER_WARNING: [#def46] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:18:77: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def47] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:19:77: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def48] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:20:75: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def49] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:21:82: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def50] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:22:68: error[error]: incompatible types when initializing type 'double' using type 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}}

Error: COMPILER_WARNING: [#def51] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:23:68: error[error]: incompatible types when initializing type 'double' using type 'shm_struct_t * (*)(char *, uint32_t,  int *)' {{aka 'struct shm_struct * (*)(char *, unsigned int,  int *)'}}

Error: COMPILER_WARNING: [#def52] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:24:85: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def53] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:25:79: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def54] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:26:68: error[error]: incompatible types when initializing type 'double' using type 'shm_struct_t * (*)(char *, uint32_t,  int *)' {{aka 'struct shm_struct * (*)(char *, unsigned int,  int *)'}}

Error: COMPILER_WARNING: [#def55] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:27:82: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def56] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:28:68: error[error]: incompatible types when initializing type 'double' using type 'int (*)(const char *)'

Error: COMPILER_WARNING: [#def57] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:29:68: error[error]: incompatible types when initializing type 'double' using type 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}}

Error: COMPILER_WARNING: [#def58] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:30:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def59] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:31:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def60] [important]
podman-5.6.2/libpod/lock/shm/not-num-const:32:68: error[error]: incompatible types when initializing type 'double' using type 'int32_t (*)(shm_struct_t *, uint32_t)' {{aka 'int (*)(struct shm_struct *, unsigned int)'}}

Error: COMPILER_WARNING: [#def61] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:5:85: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def62] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:6:79: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def63] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:7:79: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def64] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:10:73: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def65] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:12:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def66] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:14:82: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def67] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:16:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def68] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:17:73: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def69] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:17:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def70] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:18:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def71] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:18:77: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def72] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:19:77: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def73] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:20:75: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def74] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:21:82: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def75] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:22:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def76] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:23:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def77] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:24:85: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def78] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:25:79: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def79] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:26:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def80] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:27:82: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def81] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:28:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def82] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:29:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def83] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:30:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def84] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:31:78: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def85] [important]
podman-5.6.2/libpod/lock/shm/not-str-lit:32:68: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def86] [important]
podman-5.6.2/libpod/lock/shm/not-type:13:43: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def87] [important]
podman-5.6.2/libpod/lock/shm/not-type:14:54: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def88] [important]
podman-5.6.2/libpod/lock/shm/not-type:15:39: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def89] [important]
podman-5.6.2/libpod/lock/shm/not-type:15:49: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def90] [important]
podman-5.6.2/libpod/lock/shm/not-type:16:33: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def91] [important]
podman-5.6.2/libpod/lock/shm/not-type:16:37: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def92] [important]
podman-5.6.2/libpod/lock/shm/not-type:18:45: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def93] [important]
podman-5.6.2/libpod/lock/shm/not-type:22:43: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def94] [important]
podman-5.6.2/libpod/lock/shm/not-type:23:42: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def95] [important]
podman-5.6.2/libpod/lock/shm/not-type:26:43: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def96] [important]
podman-5.6.2/libpod/lock/shm/not-type:28:39: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def97] [important]
podman-5.6.2/libpod/lock/shm/not-type:29:37: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def98] [important]
podman-5.6.2/libpod/lock/shm/not-type:32:45: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer16.0.0
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-28.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.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namepodman-5.6.2-2.fc44
diffbase-store-results-to/tmp/tmpu640sa1o/podman-5.6.2-2.fc44.tar.xz
diffbase-time-created2025-10-28 19:46:10
diffbase-time-finished2025-10-28 19:50:24
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpu640sa1o/podman-5.6.2-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpu640sa1o/podman-5.6.2-2.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-28.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-gcc-latest-x86_64
project-namepodman-5.6.2-1.fc43
store-results-to/tmp/tmp7vjgecie/podman-5.6.2-1.fc43.tar.xz
time-created2025-10-28 19:41:01
time-finished2025-10-28 19:45:44
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp7vjgecie/podman-5.6.2-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp7vjgecie/podman-5.6.2-1.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9