Newly introduced findings
List of Findings
Error: COMPILER_WARNING: [#def1] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:176:78: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, struct nvmlPciInfo_st *)'}} and 'int')
Error: COMPILER_WARNING: [#def2] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:177:81: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, nvmlPciInfoExt_v1_t *)'}} and 'int')
Error: COMPILER_WARNING: [#def3] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:178:81: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, struct nvmlPciInfo_st *)'}} and 'int')
Error: COMPILER_WARNING: [#def4] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:179:81: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, struct nvmlPciInfo_st *)'}} and 'int')
Error: COMPILER_WARNING: [#def5] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:180:87: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def6] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:181:88: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def7] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:182:80: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def8] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:183:85: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPcieUtilCounter_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlPcieUtilCounter_enum, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def9] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:184:87: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlPStates_enum *)'}} and 'int')
Error: COMPILER_WARNING: [#def10] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:185:86: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlEnableState_enum *)'}} and 'int')
Error: COMPILER_WARNING: [#def11] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:186:89: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, char *, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, char *, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def12] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:187:98: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def13] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:188:91: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def14] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:189:102: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def15] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:190:90: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlEnableState_enum *)'}} and 'int')
Error: COMPILER_WARNING: [#def16] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-int-const:191:82: error[error]: invalid operands to binary * (have 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}} and 'int')
Error: COMPILER_WARNING: [#def17] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:176:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, struct nvmlPciInfo_st *)'}}
Error: COMPILER_WARNING: [#def18] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:177:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfoExt_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, nvmlPciInfoExt_v1_t *)'}}
Error: COMPILER_WARNING: [#def19] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:178:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, struct nvmlPciInfo_st *)'}}
Error: COMPILER_WARNING: [#def20] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:179:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPciInfo_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, struct nvmlPciInfo_st *)'}}
Error: COMPILER_WARNING: [#def21] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:180:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}}
Error: COMPILER_WARNING: [#def22] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:181:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}}
Error: COMPILER_WARNING: [#def23] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:182:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}}
Error: COMPILER_WARNING: [#def24] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:183:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPcieUtilCounter_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlPcieUtilCounter_enum, unsigned int *)'}}
Error: COMPILER_WARNING: [#def25] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:184:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPstates_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlPStates_enum *)'}}
Error: COMPILER_WARNING: [#def26] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:185:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlEnableState_enum *)'}}
Error: COMPILER_WARNING: [#def27] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:186:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, char *, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, char *, unsigned int *)'}}
Error: COMPILER_WARNING: [#def28] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:187:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}}
Error: COMPILER_WARNING: [#def29] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:188:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}}
Error: COMPILER_WARNING: [#def30] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:189:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, unsigned int *, unsigned int *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *, unsigned int *)'}}
Error: COMPILER_WARNING: [#def31] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:190:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlEnableState_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, enum nvmlEnableState_enum *)'}}
Error: COMPILER_WARNING: [#def32] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-num-const:191:69: error[error]: incompatible types when initializing type 'double' using type 'nvmlReturn_t (*)(nvmlDevice_t, nvmlPowerSource_t *)' {{aka 'enum nvmlReturn_enum (*)(nvmlDevice_t, unsigned int *)'}}
Error: COMPILER_WARNING: [#def33] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:181:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def34] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:182:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def35] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:183:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def36] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:184:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def37] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:185:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def38] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:186:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def39] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:187:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def40] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:188:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def41] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:189:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def42] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:190:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def43] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-str-lit:191:69: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def44] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:183:57: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def45] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:184:59: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def46] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:185:58: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def47] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:186:61: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def48] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:187:70: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def49] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:188:63: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def50] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:189:74: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def51] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:190:62: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def52] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:191:54: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def53] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/go-nvml/pkg/nvml/not-type:192:53: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def54] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/dxcore/not-str-lit:1:67: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def55] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/dxcore/not-str-lit:3:67: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def56] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/dxcore/not-str-lit:4:67: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def57] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/dxcore/not-type:1:36: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def58] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/dxcore/not-type:3:49: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def59] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/dxcore/not-type:4:47: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Error: COMPILER_WARNING: [#def60] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/nvsandboxutils/not-str-lit:1:67: error[error]: invalid initializer
Error: COMPILER_WARNING: [#def61] [important]
toolbox-0.3/src/vendor/github.com/NVIDIA/nvidia-container-toolkit/internal/nvsandboxutils/not-type:1:36: error[error]: '__cgo_undefined__2' undeclared (first use in this function)
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.92.0 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| diffbase-analyzer-version-gcc | 16.0.0 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.0 |
| 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-176.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.20250521.132812.g8eff701.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | toolbox-0.3-1.fc43 |
| diffbase-store-results-to | /tmp/tmpsuhi1one/toolbox-0.3-1.fc43.tar.xz |
| diffbase-time-created | 2026-01-08 21:51:34 |
| diffbase-time-finished | 2026-01-08 21:54:27 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpsuhi1one/toolbox-0.3-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpsuhi1one/toolbox-0.3-1.fc43.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-176.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | toolbox-0.3-2.fc44 |
| store-results-to | /tmp/tmp69o9k7ph/toolbox-0.3-2.fc44.tar.xz |
| time-created | 2026-01-08 21:54:58 |
| time-finished | 2026-01-08 21:57:23 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp69o9k7ph/toolbox-0.3-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp69o9k7ph/toolbox-0.3-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |