Error: COMPILER_WARNING: [#def1] [important] OpenJPH-0.25.3/redhat-linux-build/arch.c:7:4: error[error]: #error cmake_ARCH OJPH_ARCH_X86_64 # 5| #error cmake_ARCH OJPH_ARCH_I386 # 6| #elif defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(_M_X64) # 7|-> #error cmake_ARCH OJPH_ARCH_X86_64 # 8| #elif defined(__ia64) || defined(__ia64__) || defined(_M_IA64) # 9| #error cmake_ARCH OJPH_ARCH_IA64 Error: COMPILER_WARNING: [#def2] [important] OpenJPH-0.25.3/redhat-linux-build/arch.c:20:2: error[error]: #error cmake_ARCH OJPH_ARCH_UNKNOWN # 18| #endif # 19| # 20|-> #error cmake_ARCH OJPH_ARCH_UNKNOWN Error: CPPCHECK_WARNING (CWE-398): [#def3] OpenJPH-0.25.3/src/apps/ojph_compress/ojph_compress.cpp:619: error[throwInEntryPoint]: Unhandled exception thrown in function that is an entry point. # 617| return -1; # 618| } # 619|-> if (!get_arguments(argc, argv, input_filename, output_filename, # 620| prog_order, profile_string, num_decompositions, # 621| quantization_step, reversible, employ_color_transform, Error: CPPCHECK_WARNING (CWE-190): [#def4] OpenJPH-0.25.3/src/core/transform/ojph_colour.cpp:325: error[integerOverflow]: Signed integer overflow for expression '-2147483647-1'. # 323| float fl_low_lim = (float)neg_limit; // val >= lower # 324| si32 s32_up_lim = INT_MAX >> (32 - bit_depth); # 325|-> si32 s32_low_lim = INT_MIN >> (32 - bit_depth); # 326| # 327| if (is_signed) Error: CPPCHECK_WARNING (CWE-190): [#def5] OpenJPH-0.25.3/src/core/transform/ojph_colour_avx2.cpp:293: error[integerOverflow]: Signed integer overflow for expression '-2147483647-1'. # 291| __m256 fl_low_lim = _mm256_set1_ps((float)neg_limit); // val >= lower # 292| __m256i s32_up_lim = _mm256_set1_epi32(INT_MAX >> (32 - bit_depth)); # 293|-> __m256i s32_low_lim = _mm256_set1_epi32(INT_MIN >> (32 - bit_depth)); # 294| # 295| if (is_signed) Error: CPPCHECK_WARNING (CWE-190): [#def6] OpenJPH-0.25.3/src/core/transform/ojph_colour_sse2.cpp:138: error[integerOverflow]: Signed integer overflow for expression '-2147483647-1'. # 136| __m128 fl_low_lim = _mm_set1_ps((float)neg_limit); // val >= lower # 137| __m128i s32_up_lim = _mm_set1_epi32(INT_MAX >> (32 - bit_depth)); # 138|-> __m128i s32_low_lim = _mm_set1_epi32(INT_MIN >> (32 - bit_depth)); # 139| # 140| if (is_signed)
| 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 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-63.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 | openjph-0.25.3-2.fc44 |
| store-results-to | /tmp/tmp1g6ex9t5/openjph-0.25.3-2.fc44.tar.xz |
| time-created | 2026-01-08 19:54:10 |
| time-finished | 2026-01-08 19:56:08 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp1g6ex9t5/openjph-0.25.3-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp1g6ex9t5/openjph-0.25.3-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |