Fixed findings

List of Findings

Error: COMPILER_WARNING: [#def1] [important]
podman-5.8.1/pkg/rootless/completed:1:16: error[error]: '__cgo__2' undeclared here (not in a function); did you mean '__cgo__1'?

Error: COMPILER_WARNING: [#def2] [important]
podman-5.8.1/pkg/rootless/not-int-const:1:63: error[error]: invalid operands to binary * (have 'char * (*)(_GoString_)' and 'int')

Error: COMPILER_WARNING: [#def3] [important]
podman-5.8.1/pkg/rootless/not-int-const:2:60: error[error]: invalid operands to binary * (have 'void (*)(void *)' and 'int')

Error: COMPILER_WARNING: [#def4] [important]
podman-5.8.1/pkg/rootless/not-int-const:3:59: error[error]: invalid type argument of unary '*' (have 'int')

Error: COMPILER_WARNING: [#def5] [important]
podman-5.8.1/pkg/rootless/not-int-const:4:71: error[error]: invalid operands to binary * (have 'int (*)(int)' and 'int')

Error: COMPILER_WARNING: [#def6] [important]
podman-5.8.1/pkg/rootless/not-int-const:5:80: error[error]: invalid operands to binary * (have 'int (*)(int,  char *)' and 'int')

Error: COMPILER_WARNING: [#def7] [important]
podman-5.8.1/pkg/rootless/not-int-const:6:85: error[error]: invalid operands to binary * (have 'int (*)(int,  int)' and 'int')

Error: COMPILER_WARNING: [#def8] [important]
podman-5.8.1/pkg/rootless/not-int-const:7:74: error[error]: invalid operands to binary * (have 'int (*)(int,  char *)' and 'int')

Error: COMPILER_WARNING: [#def9] [important]
podman-5.8.1/pkg/rootless/not-int-const:8:68: error[error]: invalid operands to binary * (have 'uid_t (*)(void)' {{aka 'unsigned int (*)(void)'}} and 'int')

Error: COMPILER_WARNING: [#def10] [important]
podman-5.8.1/pkg/rootless/not-int-const:9:68: error[error]: invalid operands to binary * (have 'uid_t (*)(void)' {{aka 'unsigned int (*)(void)'}} and 'int')

Error: COMPILER_WARNING: [#def11] [important]
podman-5.8.1/pkg/rootless/not-num-const:1:67: error[error]: incompatible types when initializing type 'double' using type 'char * (*)(_GoString_)'

Error: COMPILER_WARNING: [#def12] [important]
podman-5.8.1/pkg/rootless/not-num-const:2:67: error[error]: incompatible types when initializing type 'double' using type 'void (*)(void *)'

Error: COMPILER_WARNING: [#def13] [important]
podman-5.8.1/pkg/rootless/not-num-const:3:72: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def14] [important]
podman-5.8.1/pkg/rootless/not-num-const:4:67: error[error]: incompatible types when initializing type 'double' using type 'int (*)(int)'

Error: COMPILER_WARNING: [#def15] [important]
podman-5.8.1/pkg/rootless/not-num-const:5:67: error[error]: incompatible types when initializing type 'double' using type 'int (*)(int,  char *)'

Error: COMPILER_WARNING: [#def16] [important]
podman-5.8.1/pkg/rootless/not-num-const:6:67: error[error]: incompatible types when initializing type 'double' using type 'int (*)(int,  int)'

Error: COMPILER_WARNING: [#def17] [important]
podman-5.8.1/pkg/rootless/not-num-const:7:67: error[error]: incompatible types when initializing type 'double' using type 'int (*)(int,  char *)'

Error: COMPILER_WARNING: [#def18] [important]
podman-5.8.1/pkg/rootless/not-num-const:8:67: error[error]: incompatible types when initializing type 'double' using type 'uid_t (*)(void)' {{aka 'unsigned int (*)(void)'}}

Error: COMPILER_WARNING: [#def19] [important]
podman-5.8.1/pkg/rootless/not-num-const:9:67: error[error]: incompatible types when initializing type 'double' using type 'uid_t (*)(void)' {{aka 'unsigned int (*)(void)'}}

Error: COMPILER_WARNING: [#def20] [important]
podman-5.8.1/pkg/rootless/not-str-lit:1:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def21] [important]
podman-5.8.1/pkg/rootless/not-str-lit:2:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def22] [important]
podman-5.8.1/pkg/rootless/not-str-lit:3:72: error[error]: expected expression before ';' token

Error: COMPILER_WARNING: [#def23] [important]
podman-5.8.1/pkg/rootless/not-str-lit:4:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def24] [important]
podman-5.8.1/pkg/rootless/not-str-lit:5:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def25] [important]
podman-5.8.1/pkg/rootless/not-str-lit:6:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def26] [important]
podman-5.8.1/pkg/rootless/not-str-lit:7:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def27] [important]
podman-5.8.1/pkg/rootless/not-str-lit:8:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def28] [important]
podman-5.8.1/pkg/rootless/not-str-lit:9:67: error[error]: invalid initializer

Error: COMPILER_WARNING: [#def29] [important]
podman-5.8.1/pkg/rootless/not-type:1:35: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def30] [important]
podman-5.8.1/pkg/rootless/not-type:2:32: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def31] [important]
podman-5.8.1/pkg/rootless/not-type:4:43: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def32] [important]
podman-5.8.1/pkg/rootless/not-type:5:52: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def33] [important]
podman-5.8.1/pkg/rootless/not-type:6:57: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def34] [important]
podman-5.8.1/pkg/rootless/not-type:7:46: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def35] [important]
podman-5.8.1/pkg/rootless/not-type:8:40: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def36] [important]
podman-5.8.1/pkg/rootless/not-type:9:40: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.0.1
analyzer-version-gcc-analyzer16.0.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.0.1
diffbase-analyzer-version-gcc-analyzer16.0.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-246.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.20260420.180315.gd39a405.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepodman-5.8.2-1.fc45
diffbase-store-results-to/tmp/tmp1xy5a7ej/podman-5.8.2-1.fc45.tar.xz
diffbase-time-created2026-04-28 18:57:34
diffbase-time-finished2026-04-28 19:01:47
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp1xy5a7ej/podman-5.8.2-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp1xy5a7ej/podman-5.8.2-1.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-246.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260420.180315.gd39a405.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepodman-5.8.1-1.fc44
store-results-to/tmp/tmp57c0x7tc/podman-5.8.1-1.fc44.tar.xz
time-created2026-04-28 18:52:27
time-finished2026-04-28 18:57:15
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp57c0x7tc/podman-5.8.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp57c0x7tc/podman-5.8.1-1.fc44.src.rpm'
tool-versioncsmock-3.8.5-1.el9