Fixed findings

List of Findings

Error: COMPILER_WARNING: [#def1]
zlib-ng-2.2.5/arch/x86/adler32_avx2.c:46:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   44|       __m256i vs1, vs2;
#   45|   
#   46|->     const __m256i dot2v = _mm256_setr_epi8(32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15,
#   47|                                              14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1);
#   48|       const __m256i dot3v = _mm256_set1_epi16(1);

Error: COMPILER_WARNING: [#def2]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:141:17: note[note]: called from here
#  139|       x_tmp3 = *xmm_crc3;
#  140|   
#  141|->     *xmm_crc0 = _mm_clmulepi64_si128(*xmm_crc0, xmm_fold4, 0x01);
#  142|       x_tmp0 = _mm_clmulepi64_si128(x_tmp0, xmm_fold4, 0x10);
#  143|       ps_crc0 = _mm_castsi128_ps(*xmm_crc0);

Error: COMPILER_WARNING: [#def3]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:142:14: note[note]: called from here
#  140|   
#  141|       *xmm_crc0 = _mm_clmulepi64_si128(*xmm_crc0, xmm_fold4, 0x01);
#  142|->     x_tmp0 = _mm_clmulepi64_si128(x_tmp0, xmm_fold4, 0x10);
#  143|       ps_crc0 = _mm_castsi128_ps(*xmm_crc0);
#  144|       ps_t0 = _mm_castsi128_ps(x_tmp0);

Error: COMPILER_WARNING: [#def4]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:147:17: note[note]: called from here
#  145|       ps_res0 = _mm_xor_ps(ps_crc0, ps_t0);
#  146|   
#  147|->     *xmm_crc1 = _mm_clmulepi64_si128(*xmm_crc1, xmm_fold4, 0x01);
#  148|       x_tmp1 = _mm_clmulepi64_si128(x_tmp1, xmm_fold4, 0x10);
#  149|       ps_crc1 = _mm_castsi128_ps(*xmm_crc1);

Error: COMPILER_WARNING: [#def5]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:148:14: note[note]: called from here
#  146|   
#  147|       *xmm_crc1 = _mm_clmulepi64_si128(*xmm_crc1, xmm_fold4, 0x01);
#  148|->     x_tmp1 = _mm_clmulepi64_si128(x_tmp1, xmm_fold4, 0x10);
#  149|       ps_crc1 = _mm_castsi128_ps(*xmm_crc1);
#  150|       ps_t1 = _mm_castsi128_ps(x_tmp1);

Error: COMPILER_WARNING: [#def6]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:153:17: note[note]: called from here
#  151|       ps_res1 = _mm_xor_ps(ps_crc1, ps_t1);
#  152|   
#  153|->     *xmm_crc2 = _mm_clmulepi64_si128(*xmm_crc2, xmm_fold4, 0x01);
#  154|       x_tmp2 = _mm_clmulepi64_si128(x_tmp2, xmm_fold4, 0x10);
#  155|       ps_crc2 = _mm_castsi128_ps(*xmm_crc2);

Error: COMPILER_WARNING: [#def7]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:154:14: note[note]: called from here
#  152|   
#  153|       *xmm_crc2 = _mm_clmulepi64_si128(*xmm_crc2, xmm_fold4, 0x01);
#  154|->     x_tmp2 = _mm_clmulepi64_si128(x_tmp2, xmm_fold4, 0x10);
#  155|       ps_crc2 = _mm_castsi128_ps(*xmm_crc2);
#  156|       ps_t2 = _mm_castsi128_ps(x_tmp2);

Error: COMPILER_WARNING: [#def8]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:159:17: note[note]: called from here
#  157|       ps_res2 = _mm_xor_ps(ps_crc2, ps_t2);
#  158|   
#  159|->     *xmm_crc3 = _mm_clmulepi64_si128(*xmm_crc3, xmm_fold4, 0x01);
#  160|       x_tmp3 = _mm_clmulepi64_si128(x_tmp3, xmm_fold4, 0x10);
#  161|       ps_crc3 = _mm_castsi128_ps(*xmm_crc3);

Error: COMPILER_WARNING: [#def9]
zlib-ng-2.2.5/arch/x86/crc32_pclmulqdq_tpl.h:160:14: note[note]: called from here
#  158|   
#  159|       *xmm_crc3 = _mm_clmulepi64_si128(*xmm_crc3, xmm_fold4, 0x01);
#  160|->     x_tmp3 = _mm_clmulepi64_si128(x_tmp3, xmm_fold4, 0x10);
#  161|       ps_crc3 = _mm_castsi128_ps(*xmm_crc3);
#  162|       ps_t3 = _mm_castsi128_ps(x_tmp3);

Error: COMPILER_WARNING: [#def10]
zlib-ng-2.2.5/arch/x86/slide_hash_avx2.c:24:17: note[note]: called from here
#   22|           __m256i value, result;
#   23|   
#   24|->         value = _mm256_loadu_si256((__m256i *)table);
#   25|           result = _mm256_subs_epu16(value, wsize);
#   26|           _mm256_storeu_si256((__m256i *)table, result);

Error: COMPILER_WARNING: [#def11]
zlib-ng-2.2.5/arch/x86/slide_hash_avx2.c:26:9: note[note]: called from here
#   24|           value = _mm256_loadu_si256((__m256i *)table);
#   25|           result = _mm256_subs_epu16(value, wsize);
#   26|->         _mm256_storeu_si256((__m256i *)table, result);
#   27|   
#   28|           table -= 16;

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
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-156.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-x86_64
diffbase-project-namezlib-ng-2.3.2-2.fc44
diffbase-store-results-to/tmp/tmp24n8152d/zlib-ng-2.3.2-2.fc44.tar.xz
diffbase-time-created2026-01-08 22:17:04
diffbase-time-finished2026-01-08 22:19:20
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp24n8152d/zlib-ng-2.3.2-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp24n8152d/zlib-ng-2.3.2-2.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-156.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-x86_64
project-namezlib-ng-2.2.5-2.fc43
store-results-to/tmp/tmps6qq32zo/zlib-ng-2.2.5-2.fc43.tar.xz
time-created2026-01-08 22:13:59
time-finished2026-01-08 22:16:46
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmps6qq32zo/zlib-ng-2.2.5-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmps6qq32zo/zlib-ng-2.2.5-2.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9