Fixed findings

List of Findings

Error: COMPILER_WARNING: [#def1] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:5:64: error[error]: invalid operands to binary * (have 'void * (*)(size_t)' {{aka 'void * (*)(long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def2] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:6:76: error[error]: invalid operands to binary * (have 'void (*)(sqlite3_context *, const void *, int)' and 'int')

Error: COMPILER_WARNING: [#def3] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:7:76: error[error]: invalid operands to binary * (have 'void (*)(sqlite3_context *, const char *)' and 'int')

Error: COMPILER_WARNING: [#def4] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:8:75: error[error]: invalid operands to binary * (have 'int (*)(sqlite3 *, const char *, unsigned char *, sqlite3_int64,  sqlite3_int64,  unsigned int)' {{aka 'int (*)(sqlite3 *, const char *, unsigned char *, long long int,  long long int,  unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def5] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:11:73: error[error]: invalid operands to binary * (have 'void * (*)(sqlite3_uint64)' {{aka 'void * (*)(long long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def6] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:12:74: error[error]: invalid operands to binary * (have 'unsigned char * (*)(sqlite3 *, const char *, sqlite3_int64 *, unsigned int)' {{aka 'unsigned char * (*)(sqlite3 *, const char *, long long int *, unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def7] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:15:78: error[error]: invalid operands to binary * (have 'void (*)(sqlite3_context *, double)' and 'int')

Error: COMPILER_WARNING: [#def8] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:16:77: error[error]: invalid operands to binary * (have 'void (*)(sqlite3_context *, const char *, int)' and 'int')

Error: COMPILER_WARNING: [#def9] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:17:77: error[error]: invalid operands to binary * (have 'void (*)(sqlite3_context *, sqlite3_int64)' {{aka 'void (*)(sqlite3_context *, long long int)'}} and 'int')

Error: COMPILER_WARNING: [#def10] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:19:71: error[error]: invalid operands to binary * (have 'void (*)(sqlite3_context *)' and 'int')

Error: COMPILER_WARNING: [#def11] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:19:74: error[error]: invalid operands to binary * (have 'void * (*)(sqlite3_context *)' and 'int')

Error: COMPILER_WARNING: [#def12] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:21:75: error[error]: invalid operands to binary * (have 'const void * (*)(sqlite3_value *)' and 'int')

Error: COMPILER_WARNING: [#def13] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:22:76: error[error]: invalid operands to binary * (have 'int (*)(sqlite3_value *)' and 'int')

Error: COMPILER_WARNING: [#def14] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:23:77: error[error]: invalid operands to binary * (have 'double (*)(sqlite3_value *)' and 'int')

Error: COMPILER_WARNING: [#def15] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:24:76: error[error]: invalid operands to binary * (have 'sqlite3_int64 (*)(sqlite3_value *)' {{aka 'long long int (*)(sqlite3_value *)'}} and 'int')

Error: COMPILER_WARNING: [#def16] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:25:75: error[error]: invalid operands to binary * (have 'const unsigned char * (*)(sqlite3_value *)' and 'int')

Error: COMPILER_WARNING: [#def17] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-int-const:26:75: error[error]: invalid operands to binary * (have 'int (*)(sqlite3_value *)' and 'int')

Error: COMPILER_WARNING: [#def18] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:5:67: error[error]: incompatible types when initializing type 'double' using type 'void * (*)(size_t)' {{aka 'void * (*)(long unsigned int)'}}

Error: COMPILER_WARNING: [#def19] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:6:67: error[error]: incompatible types when initializing type 'double' using type 'void (*)(sqlite3_context *, const void *, int)'

Error: COMPILER_WARNING: [#def20] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:7:67: error[error]: incompatible types when initializing type 'double' using type 'void (*)(sqlite3_context *, const char *)'

Error: COMPILER_WARNING: [#def21] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:8:67: error[error]: incompatible types when initializing type 'double' using type 'int (*)(sqlite3 *, const char *, unsigned char *, sqlite3_int64,  sqlite3_int64,  unsigned int)' {{aka 'int (*)(sqlite3 *, const char *, unsigned char *, long long int,  long long int,  unsigned int)'}}

Error: COMPILER_WARNING: [#def22] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:11:68: error[error]: incompatible types when initializing type 'double' using type 'void * (*)(sqlite3_uint64)' {{aka 'void * (*)(long long unsigned int)'}}

Error: COMPILER_WARNING: [#def23] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:12:68: error[error]: incompatible types when initializing type 'double' using type 'unsigned char * (*)(sqlite3 *, const char *, sqlite3_int64 *, unsigned int)' {{aka 'unsigned char * (*)(sqlite3 *, const char *, long long int *, unsigned int)'}}

Error: COMPILER_WARNING: [#def24] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:15:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(sqlite3_context *, double)'

Error: COMPILER_WARNING: [#def25] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:16:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(sqlite3_context *, const char *, int)'

Error: COMPILER_WARNING: [#def26] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:17:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(sqlite3_context *, sqlite3_int64)' {{aka 'void (*)(sqlite3_context *, long long int)'}}

Error: COMPILER_WARNING: [#def27] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:19:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(sqlite3_context *)'

Error: COMPILER_WARNING: [#def28] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:19:68: error[error]: incompatible types when initializing type 'double' using type 'void * (*)(sqlite3_context *)'

Error: COMPILER_WARNING: [#def29] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:21:68: error[error]: incompatible types when initializing type 'double' using type 'const void * (*)(sqlite3_value *)'

Error: COMPILER_WARNING: [#def30] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:22:68: error[error]: incompatible types when initializing type 'double' using type 'int (*)(sqlite3_value *)'

Error: COMPILER_WARNING: [#def31] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:23:68: error[error]: incompatible types when initializing type 'double' using type 'double (*)(sqlite3_value *)'

Error: COMPILER_WARNING: [#def32] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:24:68: error[error]: incompatible types when initializing type 'double' using type 'sqlite3_int64 (*)(sqlite3_value *)' {{aka 'long long int (*)(sqlite3_value *)'}}

Error: COMPILER_WARNING: [#def33] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:25:68: error[error]: incompatible types when initializing type 'double' using type 'const unsigned char * (*)(sqlite3_value *)'

Error: COMPILER_WARNING: [#def34] [important]
skopeo-1.18.0/vendor/github.com/mattn/go-sqlite3/not-num-const:26:68: error[error]: incompatible types when initializing type 'double' using type 'int (*)(sqlite3_value *)'

Error: COMPILER_WARNING: [#def35] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:3:73: error[error]: invalid operands to binary * (have 'gpgme_off_t (*)(struct gpgme_data *, gpgme_off_t,  int)' {{aka 'long int (*)(struct gpgme_data *, long int,  int)'}} and 'int')

Error: COMPILER_WARNING: [#def36] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:4:72: error[error]: invalid operands to binary * (have 'ssize_t (*)(void *, void *, size_t)' {{aka 'long int (*)(void *, void *, long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def37] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:5:72: error[error]: invalid operands to binary * (have 'off_t (*)(void *, off_t,  int)' {{aka 'long int (*)(void *, long int,  int)'}} and 'int')

Error: COMPILER_WARNING: [#def38] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:6:73: error[error]: invalid operands to binary * (have 'ssize_t (*)(void *, void *, size_t)' {{aka 'long int (*)(void *, void *, long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def39] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:7:80: error[error]: invalid operands to binary * (have 'char * (*)(struct gpgme_data *)' and 'int')

Error: COMPILER_WARNING: [#def40] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:8:70: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(struct gpgme_data **)' {{aka 'unsigned int (*)(struct gpgme_data **)'}} and 'int')

Error: COMPILER_WARNING: [#def41] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:9:79: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(struct gpgme_data **, struct gpgme_data_cbs *, void *)' {{aka 'unsigned int (*)(struct gpgme_data **, struct gpgme_data_cbs *, void *)'}} and 'int')

Error: COMPILER_WARNING: [#def42] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:10:79: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(struct gpgme_data **, int)' {{aka 'unsigned int (*)(struct gpgme_data **, int)'}} and 'int')

Error: COMPILER_WARNING: [#def43] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:11:80: error[error]: invalid operands to binary * (have 'gpgme_error_t (*)(struct gpgme_data **, const char *, size_t,  int)' {{aka 'unsigned int (*)(struct gpgme_data **, const char *, long unsigned int,  int)'}} and 'int')

Error: COMPILER_WARNING: [#def44] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:12:72: error[error]: invalid operands to binary * (have 'ssize_t (*)(struct gpgme_data *, void *, size_t)' {{aka 'long int (*)(struct gpgme_data *, void *, long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def45] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:14:75: error[error]: invalid operands to binary * (have 'void (*)(struct gpgme_data *)' and 'int')

Error: COMPILER_WARNING: [#def46] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:17:73: error[error]: invalid operands to binary * (have 'ssize_t (*)(struct gpgme_data *, const void *, size_t)' {{aka 'long int (*)(struct gpgme_data *, const void *, long unsigned int)'}} and 'int')

Error: COMPILER_WARNING: [#def47] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-int-const:19:76: error[error]: invalid operands to binary * (have 'void (*)(int)' and 'int')

Error: COMPILER_WARNING: [#def48] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:3:67: error[error]: incompatible types when initializing type 'double' using type 'gpgme_off_t (*)(struct gpgme_data *, gpgme_off_t,  int)' {{aka 'long int (*)(struct gpgme_data *, long int,  int)'}}

Error: COMPILER_WARNING: [#def49] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:4:67: error[error]: incompatible types when initializing type 'double' using type 'ssize_t (*)(void *, void *, size_t)' {{aka 'long int (*)(void *, void *, long unsigned int)'}}

Error: COMPILER_WARNING: [#def50] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:5:67: error[error]: incompatible types when initializing type 'double' using type 'off_t (*)(void *, off_t,  int)' {{aka 'long int (*)(void *, long int,  int)'}}

Error: COMPILER_WARNING: [#def51] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:6:67: error[error]: incompatible types when initializing type 'double' using type 'ssize_t (*)(void *, void *, size_t)' {{aka 'long int (*)(void *, void *, long unsigned int)'}}

Error: COMPILER_WARNING: [#def52] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:7:67: error[error]: incompatible types when initializing type 'double' using type 'char * (*)(struct gpgme_data *)'

Error: COMPILER_WARNING: [#def53] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:8:67: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(struct gpgme_data **)' {{aka 'unsigned int (*)(struct gpgme_data **)'}}

Error: COMPILER_WARNING: [#def54] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:9:67: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(struct gpgme_data **, struct gpgme_data_cbs *, void *)' {{aka 'unsigned int (*)(struct gpgme_data **, struct gpgme_data_cbs *, void *)'}}

Error: COMPILER_WARNING: [#def55] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:10:68: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(struct gpgme_data **, int)' {{aka 'unsigned int (*)(struct gpgme_data **, int)'}}

Error: COMPILER_WARNING: [#def56] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:11:68: error[error]: incompatible types when initializing type 'double' using type 'gpgme_error_t (*)(struct gpgme_data **, const char *, size_t,  int)' {{aka 'unsigned int (*)(struct gpgme_data **, const char *, long unsigned int,  int)'}}

Error: COMPILER_WARNING: [#def57] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:12:68: error[error]: incompatible types when initializing type 'double' using type 'ssize_t (*)(struct gpgme_data *, void *, size_t)' {{aka 'long int (*)(struct gpgme_data *, void *, long unsigned int)'}}

Error: COMPILER_WARNING: [#def58] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:14:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(struct gpgme_data *)'

Error: COMPILER_WARNING: [#def59] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:17:68: error[error]: incompatible types when initializing type 'double' using type 'ssize_t (*)(struct gpgme_data *, const void *, size_t)' {{aka 'long int (*)(struct gpgme_data *, const void *, long unsigned int)'}}

Error: COMPILER_WARNING: [#def60] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-num-const:19:68: error[error]: incompatible types when initializing type 'double' using type 'void (*)(int)'

Error: COMPILER_WARNING: [#def61] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:115:49: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def62] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:116:55: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def63] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:118:45: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def64] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:119:44: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def65] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:120:44: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def66] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:121:44: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def67] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:122:43: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def68] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:123:41: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Error: COMPILER_WARNING: [#def69] [important]
skopeo-1.18.0/vendor/github.com/proglottis/gpgme/not-type:124:41: error[error]: '__cgo_undefined__2' undeclared (first use in this function)

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-197.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.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameskopeo-1.18.0-1.fc43
diffbase-store-results-to/tmp/tmpojc68tsw/skopeo-1.18.0-1.fc43.tar.xz
diffbase-time-created2025-04-25 15:39:27
diffbase-time-finished2025-04-25 15:42:59
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpojc68tsw/skopeo-1.18.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpojc68tsw/skopeo-1.18.0-1.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-197.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameskopeo-1.18.0-1.fc42
store-results-to/tmp/tmpw8oyjvcm/skopeo-1.18.0-1.fc42.tar.xz
time-created2025-04-25 15:35:00
time-finished2025-04-25 15:38:56
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpw8oyjvcm/skopeo-1.18.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpw8oyjvcm/skopeo-1.18.0-1.fc42.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9