Error: SHELLCHECK_WARNING (CWE-758): [#def1] /usr/share/QPL/scripts/accel_conf.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. # 1|-> # ========================================================================== # 2| # Copyright (C) 2022 Intel Corporation # 3| # Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] qpl-1.8.0/tools/ref/ref_expand.c:257:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’ qpl-1.8.0/tools/ref/ref_expand.c:94:23: enter_function: entry to ‘own_expand_le_be’ qpl-1.8.0/tools/ref/ref_expand.c:96:5: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand.c:100:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand.c:127:40: acquire_memory: this call could return NULL qpl-1.8.0/tools/ref/ref_expand.c:133:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand.c:139:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand.c:139:14: call_function: calling ‘ref_extract_mask_bits’ from ‘own_expand_le_be’ qpl-1.8.0/tools/ref/ref_expand.c:139:14: return_function: returning to ‘own_expand_le_be’ from ‘ref_extract_mask_bits’ qpl-1.8.0/tools/ref/ref_expand.c:141:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand.c:147:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand.c:147:14: call_function: calling ‘own_expand’ from ‘own_expand_le_be’ # 255| if (!mask_ptr[i]) { # 256| // Store zero # 257|-> destination_ptr[i] = 0U; # 258| } else { # 259| // Check length Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] qpl-1.8.0/tools/ref/ref_expand.c:263:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’ qpl-1.8.0/tools/ref/ref_expand.c:94:23: enter_function: entry to ‘own_expand_le_be’ qpl-1.8.0/tools/ref/ref_expand.c:96:5: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand.c:100:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand.c:127:40: acquire_memory: this call could return NULL qpl-1.8.0/tools/ref/ref_expand.c:133:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand.c:139:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand.c:139:14: call_function: calling ‘ref_extract_mask_bits’ from ‘own_expand_le_be’ qpl-1.8.0/tools/ref/ref_expand.c:139:14: return_function: returning to ‘own_expand_le_be’ from ‘ref_extract_mask_bits’ qpl-1.8.0/tools/ref/ref_expand.c:141:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand.c:147:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand.c:147:14: call_function: calling ‘own_expand’ from ‘own_expand_le_be’ # 261| # 262| // Store value # 263|-> destination_ptr[i] = source_ptr[element_index++]; # 264| } # 265| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] qpl-1.8.0/tools/ref/ref_expand_rle.c:438:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’ qpl-1.8.0/tools/ref/ref_expand_rle.c:322:23: enter_function: entry to ‘own_expand_rle_le_be’ qpl-1.8.0/tools/ref/ref_expand_rle.c:358:5: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand_rle.c:361:49: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand_rle.c:370:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand_rle.c:376:42: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand_rle.c:379:40: acquire_memory: this call could return NULL qpl-1.8.0/tools/ref/ref_expand_rle.c:385:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_expand_rle.c:391:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_expand_rle.c:391:14: call_function: calling ‘own_expand_rle’ from ‘own_expand_rle_le_be’ # 436| if (destinationIndex >= number_of_output_elements) { return QPL_STS_INTL_INVALID_COUNT; } # 437| # 438|-> destination_ptr[destinationIndex] = elementToRepeat; # 439| destinationIndex++; # 440| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] qpl-1.8.0/tools/ref/ref_extract.c:250:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘results_ptr’ qpl-1.8.0/tools/ref/ref_extract.c:94:23: enter_function: entry to ‘own_extract_le_be’ qpl-1.8.0/tools/ref/ref_extract.c:121:5: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_extract.c:124:49: branch_false: ...to here qpl-1.8.0/tools/ref/ref_extract.c:127:40: acquire_memory: this call could return NULL qpl-1.8.0/tools/ref/ref_extract.c:133:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_extract.c:139:5: branch_false: ...to here qpl-1.8.0/tools/ref/ref_extract.c:142:14: call_function: inlined call to ‘own_extract’ from ‘own_extract_le_be’ # 248| # 249| for (uint32_t i = first_index; i < last_index; ++i) { # 250|-> destination_ptr[index++] = source_ptr[i]; # 251| } # 252| Error: GCC_ANALYZER_WARNING (CWE-476): [#def6] qpl-1.8.0/tools/ref/ref_scan.c:254:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’ qpl-1.8.0/tools/ref/ref_scan.c:105:23: enter_function: entry to ‘own_compare_le_be’ qpl-1.8.0/tools/ref/ref_scan.c:117:5: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:119:49: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:120:42: acquire_memory: this call could return NULL qpl-1.8.0/tools/ref/ref_scan.c:126:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:132:37: call_function: inlined call to ‘own_correct_parameter’ from ‘own_compare_le_be’ qpl-1.8.0/tools/ref/ref_scan.c:136:14: call_function: calling ‘own_compare’ from ‘own_compare_le_be’ # 252| } # 253| } # 254|-> destination_ptr[i] = comparison_result; # 255| } # 256| Error: GCC_ANALYZER_WARNING (CWE-476): [#def7] qpl-1.8.0/tools/ref/ref_scan.c:273:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘source_ptr’ qpl-1.8.0/tools/ref/ref_scan.c:155:23: enter_function: entry to ‘own_compare_prle’ qpl-1.8.0/tools/ref/ref_scan.c:168:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:171:30: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:171:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:173:49: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:174:42: acquire_memory: this call could return NULL qpl-1.8.0/tools/ref/ref_scan.c:179:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:185:26: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:195:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:201:5: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:204:14: call_function: calling ‘own_compare_output_to_format’ from ‘own_compare_prle’ # 271| # 272| for (uint32_t i = 0U; i < number_of_elements; ++i) { # 273|-> status = ref_store_result(current_ptr[i], i, &destination_ptr, destination_end_ptr, ¤t_index, # 274| output_format); # 275| Error: GCC_ANALYZER_WARNING (CWE-457): [#def8] qpl-1.8.0/tools/ref/ref_scan.c:273:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’ qpl-1.8.0/tools/ref/ref_scan.c:155:23: enter_function: entry to ‘own_compare_prle’ qpl-1.8.0/tools/ref/ref_scan.c:168:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:171:30: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:171:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:173:49: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:179:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:185:26: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:195:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_scan.c:201:5: branch_false: ...to here qpl-1.8.0/tools/ref/ref_scan.c:204:14: call_function: calling ‘own_compare_output_to_format’ from ‘own_compare_prle’ # 271| # 272| for (uint32_t i = 0U; i < number_of_elements; ++i) { # 273|-> status = ref_store_result(current_ptr[i], i, &destination_ptr, destination_end_ptr, ¤t_index, # 274| output_format); # 275| Error: GCC_ANALYZER_WARNING (CWE-476): [#def9] qpl-1.8.0/tools/ref/ref_select.c:274:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’ qpl-1.8.0/tools/ref/ref_select.c:176:23: enter_function: entry to ‘own_select_prle’ qpl-1.8.0/tools/ref/ref_select.c:205:5: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_select.c:208:25: branch_false: ...to here qpl-1.8.0/tools/ref/ref_select.c:210:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_select.c:213:30: branch_false: ...to here qpl-1.8.0/tools/ref/ref_select.c:213:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_select.c:216:49: branch_false: ...to here qpl-1.8.0/tools/ref/ref_select.c:222:40: acquire_memory: this call could return NULL qpl-1.8.0/tools/ref/ref_select.c:227:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_select.c:233:30: branch_false: ...to here qpl-1.8.0/tools/ref/ref_select.c:236:14: call_function: calling ‘ref_extract_mask_bits’ from ‘own_select_prle’ qpl-1.8.0/tools/ref/ref_select.c:236:14: return_function: returning to ‘own_select_prle’ from ‘ref_extract_mask_bits’ qpl-1.8.0/tools/ref/ref_select.c:238:8: branch_false: following ‘false’ branch... qpl-1.8.0/tools/ref/ref_select.c:244:14: branch_false: ...to here qpl-1.8.0/tools/ref/ref_select.c:244:14: call_function: calling ‘own_select’ from ‘own_select_prle’ # 272| # 273| for (uint32_t i = 0U; i < number_of_elements; ++i) { # 274|-> if (mask_ptr[i]) { destination_ptr[index++] = source_ptr[i]; } # 275| } # 276|
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| 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-185.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | intel-qpl-1.9.0-3.fc45 |
| diffbase-store-results-to | /tmp/tmp9huf8085/intel-qpl-1.9.0-3.fc45.tar.xz |
| diffbase-time-created | 2026-06-01 13:04:05 |
| diffbase-time-finished | 2026-06-01 13:07:21 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp9huf8085/intel-qpl-1.9.0-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9huf8085/intel-qpl-1.9.0-3.fc45.src.rpm' |
| diffbase-tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-185.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | intel-qpl-1.8.0-2.fc44 |
| store-results-to | /tmp/tmpj43qw9qf/intel-qpl-1.8.0-2.fc44.tar.xz |
| time-created | 2026-06-01 12:59:59 |
| time-finished | 2026-06-01 13:03:37 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpj43qw9qf/intel-qpl-1.8.0-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpj43qw9qf/intel-qpl-1.8.0-2.fc44.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |