Error: CPPCHECK_WARNING (CWE-398): [#def1] OpenJPH-0.26.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): [#def2] OpenJPH-0.26.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): [#def3] OpenJPH-0.26.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): [#def4] OpenJPH-0.26.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.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.0.1 |
| analyzer-version-gcc-analyzer | 16.0.1 |
| 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-211.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.20260420.180315.gd39a405.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | openjph-0.26.3-1.fc45 |
| store-results-to | /tmp/tmpb2g6suoy/openjph-0.26.3-1.fc45.tar.xz |
| time-created | 2026-04-28 18:31:49 |
| time-finished | 2026-04-28 18:33:38 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpb2g6suoy/openjph-0.26.3-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpb2g6suoy/openjph-0.26.3-1.fc45.src.rpm' |
| tool-version | csmock-3.8.5-1.el9 |