intel-qpl-1.6.0-1.fc42

List of Findings

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: SHELLCHECK_WARNING (CWE-563): [#def2]
/usr/share/QPL/scripts/accel_conf.sh:7:1: warning[SC2034]: SCRIPT_NAME appears unused. Verify use (or export if used externally).
#    5|   # ==========================================================================
#    6|   
#    7|-> SCRIPT_NAME=$(basename $BASH_SOURCE)
#    8|   SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
#    9|   DEVICE_PREFIX=iax

Error: SHELLCHECK_WARNING (CWE-670): [#def3]
/usr/share/QPL/scripts/accel_conf.sh:7:24: warning[SC2128]: Expanding an array without an index only gives the first element.
#    5|   # ==========================================================================
#    6|   
#    7|-> SCRIPT_NAME=$(basename $BASH_SOURCE)
#    8|   SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
#    9|   DEVICE_PREFIX=iax

Error: SHELLCHECK_WARNING (CWE-88): [#def4]
/usr/share/QPL/scripts/accel_conf.sh:14:16: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#   12|   Python() {
#   13|       if ! command -v python3 &> /dev/null; then
#   14|->         python $@
#   15|       else
#   16|           python3 $@

Error: SHELLCHECK_WARNING (CWE-88): [#def5]
/usr/share/QPL/scripts/accel_conf.sh:16:17: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#   14|           python $@
#   15|       else
#   16|->         python3 $@
#   17|       fi
#   18|   }

Error: SHELLCHECK_WARNING (CWE-88): [#def6]
/usr/share/QPL/scripts/accel_conf.sh:20:62: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#   18|   }
#   19|   
#   20|-> Python ${SCRIPT_DIR}/accel_conf.py --filter ${DEVICE_PREFIX} $@

Error: CPPCHECK_WARNING (CWE-909): [#def7]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/c_api/serialization/huffman_table_serialization.cpp:173: error[uninitStructMember]: Uninitialized struct member: meta_ptr.version
#  171|       // todo: add support for deserializing table object that stores
#  172|       // different version of HT
#  173|->     if (meta_ptr->version != LAST_VERSION) {
#  174|           std::destroy_at(meta_ptr);
#  175|           meta_allocator.deallocator(buffer);

Error: CPPCHECK_WARNING (CWE-909): [#def8]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/c_api/serialization/huffman_table_serialization.cpp:182: error[uninitStructMember]: Uninitialized struct member: meta_ptr.algorithm
#  180|       // creation
#  181|       qpl_status status = QPL_STS_OK;
#  182|->     if (meta_ptr->algorithm == compression_algorithm_e::deflate) {
#  183|           status = qpl_deflate_huffman_table_create((qpl_huffman_table_type_e) meta_ptr->type,
#  184|                                                     (qpl_path_t) meta_ptr->path,

Error: CPPCHECK_WARNING (CWE-909): [#def9]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/c_api/serialization/huffman_table_serialization.cpp:188: error[uninitStructMember]: Uninitialized struct member: meta_ptr.algorithm
#  186|                                                     table_ptr);
#  187|       }
#  188|->     if (meta_ptr->algorithm == compression_algorithm_e::huffman_only) {
#  189|           status = qpl_huffman_only_table_create((qpl_huffman_table_type_e) meta_ptr->type,
#  190|                                                  (qpl_path_t) meta_ptr->path,

Error: COMPILER_WARNING: [#def10]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/checksums/qplc_checksum.c:24: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/checksums/opt/qplc_checksum_k0.h: scope_hint: In function ‘opt_k0_qplc_xor_checksum_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/checksums/opt/qplc_checksum_k0.h:42:21: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   40|   
#   41|       if (length > 64) {
#   42|->         __m512i     zmm_sum = _mm512_loadu_si512((void const*)src_ptr);
#   43|           __m256i     ymm0;
#   44|           __m128i     xmm0;

Error: COMPILER_WARNING: [#def11]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/checksums/opt/qplc_checksum_k0.h:74:14: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   72|   
#   73|           }
#   74|->         ymm0 = _mm512_extracti64x4_epi64(zmm_sum, 1);
#   75|           ymm0 = _mm256_xor_si256(ymm0, _mm512_castsi512_si256(zmm_sum));
#   76|           xmm0 = _mm256_extracti128_si256(ymm0, 1);

Error: COMPILER_WARNING: [#def12]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/compression/deflate_slow.c: scope_hint: In function ‘avx512_slow_deflate_body’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/compression/deflate_slow.c:205:27: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  203|   
#  204|                       #if PLATFORM >= K0
#  205|->                     aUnit = _mm256_loadu_si256((__m256i const*)p_str);
#  206|                       #else
#  207|                       aUnit = *(const uint64_t*) p_str;

Error: COMPILER_WARNING: [#def13]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/compression/deflate_slow_icf.c: scope_hint: In function ‘avx512_slow_deflate_icf_body’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/compression/deflate_slow_icf.c:140:27: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  138|   
#  139|                       #if PLATFORM >= K0
#  140|->                     aUnit = _mm256_loadu_si256((__m256i const*)p_str);
#  141|                       #else
#  142|                       aUnit = *(const uint64_t*) p_str;

Error: COMPILER_WARNING: [#def14]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_scan_k0.h:43: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_scan.c:66: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/own_scan_intrin.h: scope_hint: In function ‘own_unpack_1u_kernel’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/own_scan_intrin.h:13:1: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/own_scan_intrin.h: scope_hint: In function ‘own_scan_LT_8u_kernel’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/own_scan_intrin.h:321:25: note: the ABI for passing parameters with 64-byte alignment has changed in GCC 4.6
#   11|   #include "immintrin.h"
#   12|   
#   13|-> static inline __m512i own_unpack_1u_kernel(uint8_t *src_ptr, uint32_t start_bit) {
#   14|       __m512i srcmm0, srcmm1;
#   15|       srcmm0 = _mm512_loadu_si512(src_ptr);

Error: COMPILER_WARNING: [#def15]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_aggregates.c:22: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_aggregates_k0.h: scope_hint: In function ‘opt_k0_qplc_bit_aggregates_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_aggregates_k0.h:34:17: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   32|       const uint8_t* src_ptr_start;
#   33|       __m512i     z_data;
#   34|->     __m512i     z_zero = _mm512_setzero_si512();
#   35|   
#   36|       uint32_t    rem_len;

Error: COMPILER_WARNING: [#def16]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_aggregates_k0.h: scope_hint: In function ‘opt_k0_qplc_aggregates_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_aggregates_k0.h:205:16: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  203|       }
#  204|       if (min_value != 0) {
#  205|->         y_data = _mm512_extracti64x4_epi64(z_min, 1);
#  206|           y_data = _mm256_min_epu8(y_data, _mm512_castsi512_si256(z_min));    /* y_data = mn31 .. mn0 */
#  207|           x_data = _mm256_extracti128_si256(y_data, 1);

Error: COMPILER_WARNING: [#def17]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_expand.c:21: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_expand_k0.h: scope_hint: In function ‘opt_k0_qplc_qplc_expand_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_expand_k0.h:46:24: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   44|               x_data = x_zero;
#   45|               if (msk16) {
#   46|->                 z_data = _mm512_cvtepu8_epi32(_mm_loadu_si128((const __m128i*)(src1_ptr + expanded)));
#   47|                   z_data = _mm512_maskz_expand_epi32(msk16, z_data);
#   48|                   expanded += _mm_popcnt_u32((uint32_t)msk16);

Error: COMPILER_WARNING: [#def18]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_expand_k0.h: scope_hint: In function ‘opt_k0_qplc_qplc_expand_16u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_expand_k0.h:123:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  121|       __m512i     z_data;
#  122|       __m128i     x_zero = _mm_setzero_si128();
#  123|->     __m256i     y_zero = _mm256_setzero_si256();
#  124|       __m256i     y_data;
#  125|       __mmask16   msk16;

Error: COMPILER_WARNING: [#def19]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_pack_16u.c:26: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_16u_k0.h: scope_hint: In function ‘opt_k0_qplc_pack_16u32u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_16u_k0.h:264:15: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  262|       while (num_elements > 16u)
#  263|       {
#  264|->         srcmm = _mm256_loadu_si256((const __m256i *)src_ptr);
#  265|           dstmm = _mm512_cvtepu16_epi32(srcmm);
#  266|           _mm512_storeu_si512(dst_ptr, dstmm);

Error: COMPILER_WARNING: [#def20]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_16u_k0.h:265:15: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  263|       {
#  264|           srcmm = _mm256_loadu_si256((const __m256i *)src_ptr);
#  265|->         dstmm = _mm512_cvtepu16_epi32(srcmm);
#  266|           _mm512_storeu_si512(dst_ptr, dstmm);
#  267|   

Error: COMPILER_WARNING: [#def21]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_pack_32u.c:33: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_32u_k0.h: scope_hint: In function ‘opt_k0_qplc_pack_32u17u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_32u_k0.h:482:29: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  480|   
#  481|           __m512i permutex_idx_ptr[6];
#  482|->         permutex_idx_ptr[0] = _mm512_load_si512(permutex_idx_table_17u_0);
#  483|           permutex_idx_ptr[1] = _mm512_load_si512(permutex_idx_table_17u_1);
#  484|           permutex_idx_ptr[2] = _mm512_load_si512(permutex_idx_table_17u_2);

Error: COMPILER_WARNING: [#def22]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_pack_8u.c:27: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_8u_k0.h: scope_hint: In function ‘opt_k0_qplc_pack_8u16u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_8u_k0.h:146:16: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  144|       while (num_elements > 64u)
#  145|       {
#  146|->         srcmm0 = _mm256_loadu_si256((const __m256i *)src_ptr);
#  147|           srcmm1 = _mm256_loadu_si256((const __m256i *)(src_ptr + 32u));
#  148|   

Error: COMPILER_WARNING: [#def23]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_8u_k0.h:149:16: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  147|           srcmm1 = _mm256_loadu_si256((const __m256i *)(src_ptr + 32u));
#  148|   
#  149|->         dstmm0 = _mm512_cvtepu8_epi16(srcmm0);
#  150|           dstmm1 = _mm512_cvtepu8_epi16(srcmm1);
#  151|   

Error: COMPILER_WARNING: [#def24]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_pack_be_16u.c:25: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_be_16u_k0.h: scope_hint: In function ‘opt_k0_qplc_pack_be_16u9u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_be_16u_k0.h:105:17: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  103|           __m512i permutex_idx_ptr[6];
#  104|           __m512i shift_masks_ptr[3];
#  105|->         __m512i pshufb_idx = _mm512_loadu_si512(pshufb_idx_ptr);
#  106|           permutex_idx_ptr[0] = _mm512_loadu_si512(permutex_idx_table_9u_0);
#  107|           permutex_idx_ptr[1] = _mm512_loadu_si512(permutex_idx_table_9u_1);

Error: COMPILER_WARNING: [#def25]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_be_16u_k0.h:139:20: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  137|               zmm0 = _mm512_srl_epi16(zmm0, _mm_cvtsi32_si128(start_bit));
#  138|               zmm1 = _mm512_sll_epi16(zmm1, _mm_cvtsi32_si128(OWN_WORD_WIDTH - start_bit));
#  139|->             zmm1 = _mm512_castsi256_si512(_mm256_insert_epi16(_mm512_castsi512_si256(zmm1), (short)src, 0));
#  140|               zmm0 = _mm512_or_si512(zmm0, zmm1);
#  141|               zmm0 = _mm512_shuffle_epi8(zmm0, pshufb_idx);

Error: COMPILER_WARNING: [#def26]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_pack_idx.c:24: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_idx_k0.h: scope_hint: In function ‘opt_k0_qplc_pack_index_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_idx_k0.h:662:21: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  660|       uint32_t        num_elem_rem;
#  661|       uint32_t        num_data;
#  662|->     __m512i         z_index0 = _mm512_setr_epi32(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
#  663|       __m512i         z_index1 = _mm512_setr_epi32(16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31);
#  664|       __m512i         z_index2 = _mm512_setr_epi32(32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47);

Error: COMPILER_WARNING: [#def27]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_idx_k0.h: scope_hint: In function ‘opt_k0_qplc_pack_index_8u16u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_pack_idx_k0.h:1531:25: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 1529|               msk = _mm512_cmpneq_epi8_mask(z_data, z_zero);
# 1530|               if (msk != 0) {
# 1531|->                 x_index = _mm256_set1_epi16(index + i);
# 1532|                   msk16 = (__mmask16)msk;
# 1533|                   if (msk16 != 0) {

Error: COMPILER_WARNING: [#def28]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_select.c:25: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_select_k0.h: scope_hint: In function ‘opt_k0_qplc_select_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_select_k0.h:35:17: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#   33|       uint32_t    remind = length & 63;
#   34|       uint32_t    num_data;
#   35|->     __m512i     z_zero = _mm512_setzero_si512();
#   36|       __m512i     z_data;
#   37|       __m128i     x_data;

Error: COMPILER_WARNING: [#def29]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_select_k0.h: scope_hint: In function ‘opt_k0_qplc_select_16u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_select_k0.h:97:26: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   95|               msk16 = (__mmask16)msk;
#   96|               if (msk16 != 0) {
#   97|->                 z_data = _mm512_cvtepu16_epi32(_mm256_loadu_si256((__m256i const*)(src_16u_ptr + idx_inloop)));
#   98|                   z_data = _mm512_maskz_compress_epi32(msk16, z_data);
#   99|                   num_data = (uint32_t)_mm_popcnt_u32((uint32_t)msk16);

Error: COMPILER_WARNING: [#def30]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_unpack_16u.c:29: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_16u_k0.h: scope_hint: In function ‘opt_k0_qplc_unpack_9u16u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_16u_k0.h:166:19: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  164|       if (num_elements >= 32u) {
#  165|           __mmask32 read_mask = OWN_BIT_MASK(OWN_BITS_2_WORD(9u * OWN_DWORD_WIDTH));
#  166|->         __m512i   parse_mask0 = _mm512_set1_epi16(OWN_BIT_MASK(9u));
#  167|   
#  168|           __m512i   permutex_idx_ptr[2];

Error: COMPILER_WARNING: [#def31]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_unpack_32u.c:37: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_32u_k0.h: scope_hint: In function ‘opt_k0_qplc_unpack_17u32u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_32u_k0.h:280:19: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  278|       if (num_elements >= 16u) {
#  279|           __mmask32 read_mask = OWN_BIT_MASK(17u);
#  280|->         __m512i   parse_mask0 = _mm512_set1_epi32(OWN_BIT_MASK(17u));
#  281|   
#  282|           __m512i   permutex_idx_ptr[2];

Error: COMPILER_WARNING: [#def32]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_unpack_8u.c:29: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_8u_k0.h: scope_hint: In function ‘opt_k0_qplc_unpack_1u8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_8u_k0.h:115:17: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  113|           uint64_t src_64 = *(uint64_t *)src_ptr;
#  114|           // convert mask to 512-bit register. 0 --> 0x00, 1 --> 0xFF
#  115|->         __m512i unpacked_src = _mm512_movm_epi8(src_64);
#  116|           // make 0x00 --> 0x00, 0xFF --> 0x01
#  117|           unpacked_src = _mm512_abs_epi8(unpacked_src);

Error: COMPILER_WARNING: [#def33]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_unpack_be_16u.c:28: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_be_16u_k0.h: scope_hint: In function ‘opt_k0_qplc_unpack_be_9u16u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_be_16u_k0.h:297:19: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  295|       if (num_elements >= 32u) {
#  296|           __mmask32 read_mask = OWN_BIT_MASK(OWN_BITS_2_WORD(9u * OWN_DWORD_WIDTH));
#  297|->         __m512i   parse_mask0 = _mm512_set1_epi16(OWN_BIT_MASK(9u));
#  298|           __m512i   nibble_reversemm = _mm512_load_si512(nibble_reverse_table);
#  299|           __m512i   reverse_mask_16u = _mm512_load_si512(reverse_mask_table_16u);

Error: COMPILER_WARNING: [#def34]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_unpack_be_32u.c:36: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_be_32u_k0.h: scope_hint: In function ‘opt_k0_qplc_unpack_be_17u32u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_be_32u_k0.h:452:19: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  450|       if (num_elements >= 16u) {
#  451|           __mmask32 read_mask = OWN_BIT_MASK(17u);
#  452|->         __m512i   parse_mask0 = _mm512_set1_epi32(OWN_BIT_MASK(17u));
#  453|           __m512i   nibble_reversemm = _mm512_load_si512(nibble_reverse_table);
#  454|           __m512i   reverse_mask_32u = _mm512_load_si512(reverse_mask_table_32u);

Error: COMPILER_WARNING: [#def35]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/qplc_unpack_be_8u.c:29: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_be_8u_k0.h: scope_hint: In function ‘opt_k0_qplc_unpack_be_1u8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/filtering/opt/qplc_unpack_be_8u_k0.h:174:17: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  172|   
#  173|       if (num_elements >= 64u) {
#  174|->         __m512i reverse_mask_1u = _mm512_load_si512(reverse_mask_table_1u);
#  175|           while (num_elements >= 64u) {
#  176|               uint64_t src_64 = *(uint64_t *)src_ptr;

Error: COMPILER_WARNING: [#def36]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/other/qplc_memop.c:27: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/other/opt/qplc_memop_k0.h: scope_hint: In function ‘opt_k0_qplc_zero_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/other/opt/qplc_memop_k0.h:105:9: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
#  103|   
#  104|       while (length_512u > 0) {
#  105|->         _mm512_store_si512(dst_ptr, _mm512_setzero_si512());
#  106|           dst_ptr += 64u;
#  107|           --length_512u;

Error: COMPILER_WARNING: [#def37]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/other/opt/qplc_memop_k0.h: scope_hint: In function ‘opt_k0_qplc_copy_8u’
intel-qpl-1.6.0-build/qpl-1.6.0/sources/core-sw/src/other/opt/qplc_memop_k0.h:152:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  150|       uint32_t tail = length % sizeof(__m256i);
#  151|       while (length256u > 3u) {
#  152|->         __m256i zmm0 = _mm256_loadu_si256((const __m256i *)src_ptr);
#  153|           __m256i zmm1 = _mm256_loadu_si256((const __m256i *)(src_ptr + 32u));
#  154|           __m256i zmm2 = _mm256_loadu_si256((const __m256i *)(src_ptr + 64u));

Error: CPPCHECK_WARNING (CWE-457): [#def38]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/isal/igzip/igzip_inflate.c:690: warning[uninitvar]: Uninitialized variable: code_list
#  688|       }
#  689|   
#  690|->     uint32_t last_length = huff_code_table[code_list[0]].length;
#  691|       if (last_length > ISAL_DECODE_SHORT_BITS)
#  692|           last_length = ISAL_DECODE_SHORT_BITS + 1;

Error: CPPCHECK_WARNING (CWE-457): [#def39]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/isal/igzip/igzip_inflate.c:832: warning[uninitvar]: Uninitialized variable: code_list
#  830|       }
#  831|   
#  832|->     last_length = huff_code_table[code_list[0]].length;
#  833|       if (last_length > ISAL_DECODE_SHORT_BITS)
#  834|           last_length = ISAL_DECODE_SHORT_BITS + 1;

Error: CPPCHECK_WARNING (CWE-457): [#def40]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/middle-layer/compression/deflate/histogram.cpp:159: error[uninitvar]: Uninitialized variable: temporary_buffer
#  157|                                      begin,
#  158|                                      static_cast<uint32_t>(std::distance(begin, end)),
#  159|->                                    temporary_buffer,
#  160|                                      1U,
#  161|                                      initial_status,

Error: CPPCHECK_WARNING (CWE-758): [#def41]
intel-qpl-1.6.0-build/qpl-1.6.0/sources/middle-layer/util/util.hpp:132: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  130|       } else if constexpr (std::is_same<mask_type, uint64_t>::value) {
#  131|           return static_cast<uint64_t>(1ULL << number_of_bits) - 1;
#  132|->     }
#  133|   }
#  134|   

Error: COMPILER_WARNING (CWE-563): [#def42]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c: scope_hint: In function ‘own_expand_le_be’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:123:14: warning[-Wunused-variable]: unused variable ‘bit_length’
#  123 |     uint64_t bit_length = (uint64_t) number_of_elements * (uint64_t) source_bit_width;
#      |              ^~~~~~~~~~
#  121|   
#  122|       // Bit length of number of elements
#  123|->     uint64_t bit_length = (uint64_t) number_of_elements * (uint64_t) source_bit_width;
#  124|   
#  125|       // Extracted elements from source_ptr vector

Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c: scope_hint: In function ‘own_expand’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:274:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_prle.h:16: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:12: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:101:5: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:13: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:37:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:38:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:38:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
#  272|           if (!mask_ptr[i]) {
#  273|               // Store zero
#  274|->             destination_ptr[i] = 0U;
#  275|           } else {
#  276|               // Check length

Error: GCC_ANALYZER_WARNING (CWE-476): [#def44]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:282:32: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:101:5: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:37:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:38:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:38:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
#  280|   
#  281|               // Store value
#  282|->             destination_ptr[i] = source_ptr[element_index++];
#  283|           }
#  284|       }

Error: COMPILER_WARNING (CWE-563): [#def45]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c: scope_hint: In function ‘own_expand_output_to_format’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand.c:304:10: warning[-Wunused-variable]: unused variable ‘input_be’
#  304 |     bool input_be = (bool) (qpl_p_be_packed_array == qpl_job_ptr->parser);
#      |          ^~~~~~~~
#  302|   
#  303|       // Input LE or BE
#  304|->     bool input_be = (bool) (qpl_p_be_packed_array == qpl_job_ptr->parser);
#  305|   
#  306|       // Output LE or BE

Error: COMPILER_WARNING (CWE-1164): [#def46]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c: scope_hint: At top level
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c:107:21: warning[-Wunused-function]: ‘own_get_number_of_repetitions_prle’ declared ‘static’ but never defined
#  107 | REF_INLINE uint32_t own_get_number_of_repetitions_prle(const uint8_t *const source_ptr, uint32_t source_length);
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  105|    * @return
#  106|    */
#  107|-> REF_INLINE uint32_t own_get_number_of_repetitions_prle(const uint8_t *const source_ptr, uint32_t source_length);
#  108|   
#  109|   /** @} */

Error: COMPILER_WARNING (CWE-563): [#def47]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c: scope_hint: In function ‘own_expand_rle_prle’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c:154:14: warning[-Wunused-variable]: unused variable ‘available_bytes_mask’
#  154 |     uint32_t available_bytes_mask = qpl_job_ptr->available_src2;
#      |              ^~~~~~~~~~~~~~~~~~~~
#  152|   
#  153|       // Number of bytes available in source_mask_ptr
#  154|->     uint32_t available_bytes_mask = qpl_job_ptr->available_src2;
#  155|   
#  156|       // Src2 input format - LE (0) or BE (>0)

Error: COMPILER_WARNING (CWE-563): [#def48]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c: scope_hint: In function ‘own_expand_rle_le_be’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c:383:14: warning[-Wunused-variable]: unused variable ‘available_bytes_mask’
#  383 |     uint32_t available_bytes_mask = qpl_job_ptr->available_src2;
#      |              ^~~~~~~~~~~~~~~~~~~~
#  381|   
#  382|       // Number of bytes available in source_mask_ptr
#  383|->     uint32_t available_bytes_mask = qpl_job_ptr->available_src2;
#  384|   
#  385|       // Src2 input format - LE (0) or BE (>0)

Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c: scope_hint: In function ‘own_expand_rle’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c:494:47: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_prle.h:16: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c:12: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_expand_rle.c:393:5: note: in expansion of macro ‘REF_BAD_ARG_RET’
#  492|               }
#  493|   
#  494|->             destination_ptr[destinationIndex] = elementToRepeat;
#  495|               destinationIndex++;
#  496|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_extract.c:272:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘results_ptr’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_extract.c: scope_hint: In function ‘own_extract_le_be’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_count.h:19: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_extract.c:13: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_extract.c:125:5: note: in expansion of macro ‘REF_BAD_ARG_RET’
#  270|   
#  271|       for (uint32_t i = first_index; i < last_index; ++i) {
#  272|->         destination_ptr[index++] = source_ptr[i];
#  273|       }
#  274|   

Error: COMPILER_WARNING: [#def51]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_own_scan.c:15:12: warning[-Wenum-int-mismatch]: conflicting types for ‘ref_store_result’ due to enum/integer mismatch; have ‘qpl_status(uint32_t,  uint32_t,  uint8_t **, uint8_t *, uint32_t *, uint32_t)’ {aka ‘qpl_status(unsigned int,  unsigned int,  unsigned char **, unsigned char *, unsigned int *, unsigned int)’}
#   15 | qpl_status ref_store_result(uint32_t dst_buf,
#      |            ^~~~~~~~~~~~~~~~
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_own_scan.c:13: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_scan.h:35:12: note: previous declaration of ‘ref_store_result’ with type ‘qpl_status(uint32_t,  uint32_t,  uint8_t **, uint8_t *, uint32_t *, qpl_out_format)’ {aka ‘qpl_status(unsigned int,  unsigned int,  unsigned char **, unsigned char *, unsigned int *, qpl_out_format)’}
#   35 | qpl_status ref_store_result(uint32_t dst_buf,
#      |            ^~~~~~~~~~~~~~~~
#   13|   #include "ref_scan.h"
#   14|   
#   15|-> qpl_status ref_store_result(uint32_t dst_buf,
#   16|                               uint32_t bit_idx,
#   17|                               uint8_t **pp_dst,

Error: COMPILER_WARNING: [#def52]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_own_scan.c:152:12: warning[-Wenum-int-mismatch]: conflicting types for ‘ref_store_1_bit’ due to enum/integer mismatch; have ‘qpl_status(uint32_t,  uint32_t,  uint8_t ** const,  const uint8_t * const,  uint32_t * const,  const uint32_t)’ {aka ‘qpl_status(unsigned int,  unsigned int,  unsigned char ** const,  const unsigned char * const,  unsigned int * const,  const unsigned int)’}
#  152 | qpl_status ref_store_1_bit(uint32_t destination_buffer,
#      |            ^~~~~~~~~~~~~~~
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_scan.h:58:12: note: previous declaration of ‘ref_store_1_bit’ with type ‘qpl_status(uint32_t,  uint32_t,  uint8_t ** const,  const uint8_t * const,  uint32_t * const,  const qpl_out_format)’ {aka ‘qpl_status(unsigned int,  unsigned int,  unsigned char ** const,  const unsigned char * const,  unsigned int * const,  const qpl_out_format)’}
#   58 | qpl_status ref_store_1_bit(uint32_t destination_buffer,
#      |            ^~~~~~~~~~~~~~~
#  150|   }
#  151|   
#  152|-> qpl_status ref_store_1_bit(uint32_t destination_buffer,
#  153|                              uint32_t bit_index,
#  154|                              uint8_t **const pp_destination,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c: scope_hint: In function ‘own_compare’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c:280:28: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_scan.h:15: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c:13: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c:120:5: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c: scope_hint: In function ‘own_compare’
#  278|               }
#  279|           }
#  280|->         destination_ptr[i] = comparison_result;
#  281|       }
#  282|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def54]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c:300:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘source_ptr’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:71:26: note: in definition of macro ‘QPL_MIN’
#  298|   
#  299|       for (uint32_t i = 0U; i < number_of_elements; ++i) {
#  300|->         status = ref_store_result(current_ptr[i],
#  301|                                     i,
#  302|                                     &destination_ptr,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def55]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c: scope_hint: In function ‘own_compare_output_to_format’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_scan.c:300:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:71:26: note: in definition of macro ‘QPL_MIN’
#  298|   
#  299|       for (uint32_t i = 0U; i < number_of_elements; ++i) {
#  300|->         status = ref_store_result(current_ptr[i],
#  301|                                     i,
#  302|                                     &destination_ptr,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_select.c: scope_hint: In function ‘own_select’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_select.c:294:38: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘destination_ptr’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_copy.h:20: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_select.c:12: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:143:29: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_select.c:213:5: note: in expansion of macro ‘REF_BAD_SIZE_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_select.c:14: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:37:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:38:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/own_ref_defs.h:113:30: note: in expansion of macro ‘REF_BAD_ARG_RET’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/include/ref_mask.h:38:5: note: in expansion of macro ‘REF_BAD_PTR_RET’
#  292|       for (uint32_t i = 0U; i < number_of_elements; ++i) {
#  293|           if (mask_ptr[i]) {
#  294|->             destination_ptr[index++] = source_ptr[i];
#  295|           }
#  296|       }

Error: COMPILER_WARNING (CWE-563): [#def57]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_select.c: scope_hint: In function ‘own_select_output_to_format’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/ref/ref_select.c:328:10: warning[-Wunused-variable]: unused variable ‘input_be’
#  328 |     bool input_be = (bool) (qpl_p_be_packed_array == qpl_job_ptr->parser);
#      |          ^~~~~~~~
#  326|   
#  327|       // Input LE or BE
#  328|->     bool input_be = (bool) (qpl_p_be_packed_array == qpl_job_ptr->parser);
#  329|   
#  330|       // Output LE or BE

Error: COMPILER_WARNING (CWE-1164): [#def58]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/analytic_fixture.hpp: scope_hint: At global scope
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/analytic_fixture.hpp:59:26: warning[-Wunused-function]: ‘std::ostream& qpl::test::operator<<(std::ostream&, const AnalyticTestCase&)’ defined but not used
#   59 |     static std::ostream &operator<<(std::ostream &os, const AnalyticTestCase &test_case)
#      |                          ^~~~~~~~
#   57|       }
#   58|   
#   59|->     static std::ostream &operator<<(std::ostream &os, const AnalyticTestCase &test_case)
#   60|       {
#   61|           os << "Operation: " << OperationToString(test_case.operation) << std::endl;

Error: COMPILER_WARNING (CWE-563): [#def59]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/run_operation.cpp: scope_hint: In function ‘qpl_status qpl::test::run_decompress_op(qpl_path_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/run_operation.cpp:24:24: warning[-Wunused-variable]: unused variable ‘source_size’
#   24 |     constexpr uint32_t source_size = 64U;
#      |                        ^~~~~~~~~~~
#   22|   
#   23|   qpl_status run_decompress_op(qpl_path_t execution_path) {
#   24|->     constexpr uint32_t source_size = 64U;
#   25|   
#   26|       std::vector<uint8_t> source;

Error: COMPILER_WARNING (CWE-563): [#def60]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/run_operation.cpp:32:16: warning[-Wunused-but-set-variable]: variable ‘generator_status’ set but not used
#   32 |     GenStatus  generator_status = GEN_OK;
#      |                ^~~~~~~~~~~~~~~~
#   30|       std::vector<uint8_t> decoded_data_buffer(0);
#   31|   
#   32|->     GenStatus  generator_status = GEN_OK;
#   33|       TestFactor test_factor;
#   34|       test_factor.seed = 0;

Error: COMPILER_WARNING (CWE-563): [#def61]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/run_operation.cpp:37:42: warning[-Wunused-variable]: unused variable ‘data_generator’
#   37 |     const gz_generator::InflateGenerator data_generator;
#      |                                          ^~~~~~~~~~~~~~
#   35|       test_factor.type = NO_ERR_FIXED_BLOCK;
#   36|   
#   37|->     const gz_generator::InflateGenerator data_generator;
#   38|   
#   39|       generator_status = gz_generator::InflateGenerator::generate(encoded_data_buffer,

Error: COMPILER_WARNING (CWE-563): [#def62]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/run_operation.cpp: scope_hint: In function ‘qpl_status qpl::test::run_scan_op(qpl_path_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/run_operation.cpp:158:17: warning[-Wunused-variable]: unused variable ‘indices’
#  158 |     const auto *indices = reinterpret_cast<const uint32_t *>(destination.data());
#      |                 ^~~~~~~
#  156|       std::unique_ptr<uint8_t[]> job_buffer;
#  157|       uint32_t   size     = 0U;
#  158|->     const auto *indices = reinterpret_cast<const uint32_t *>(destination.data());
#  159|   
#  160|       qpl_status status = qpl_get_job_size(execution_path, &size);

Error: COMPILER_WARNING (CWE-563): [#def63]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/async_test.cpp:27:24: warning[-Wunused-variable]: unused variable ‘source_size’
#   27 |     constexpr uint32_t source_size      = 111261U;
#      |                        ^~~~~~~~~~~
#   25|   
#   26|   QPL_LOW_LEVEL_API_ALGORITHMIC_TEST(async_multiple_jobs_submit, default_compression_decompression) {
#   27|->     constexpr uint32_t source_size      = 111261U;
#   28|       constexpr uint32_t number_of_copies = 7U;
#   29|   

Error: COMPILER_WARNING (CWE-195): [#def64]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/async_test.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_c_api_async_multiple_jobs_submit_default_compression_decompression_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/async_test.cpp:34:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’}
#   34 |     for (int i = 0; i < number_of_copies; i++) {
#      |                     ~~^~~~~~~~~~~~~~~~~~
#   32|   
#   33|       std::vector<std::vector<uint8_t>> source(number_of_copies);
#   34|->     for (int i = 0; i < number_of_copies; i++) {
#   35|           source[i] = dataset.get_data().begin()->second;
#   36|       }

Error: COMPILER_WARNING (CWE-195): [#def65]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/async_test.cpp:50:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’}
#   50 |     for (int i = 0; i < number_of_copies; i++) {
#      |                     ~~^~~~~~~~~~~~~~~~~~
#   48|       std::vector<qpl_job *> job(number_of_copies);
#   49|   
#   50|->     for (int i = 0; i < number_of_copies; i++) {
#   51|           job_buffer[i] = std::make_unique<uint8_t[]>(size);
#   52|           job[i] = reinterpret_cast<qpl_job *>(job_buffer[i].get());

Error: COMPILER_WARNING (CWE-195): [#def66]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/async_test.cpp:69:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’}
#   69 |     for (int i = 0; i < number_of_copies; i++) {
#      |                     ~~^~~~~~~~~~~~~~~~~~
#   67|       }
#   68|   
#   69|->     for (int i = 0; i < number_of_copies; i++) {
#   70|           status = qpl_wait_job(job[i]);
#   71|           ASSERT_EQ(QPL_STS_OK, status);

Error: COMPILER_WARNING (CWE-195): [#def67]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/async_test.cpp:74:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’}
#   74 |     for (int i = 0; i < number_of_copies; i++) {
#      |                     ~~^~~~~~~~~~~~~~~~~~
#   72|       }
#   73|   
#   74|->     for (int i = 0; i < number_of_copies; i++) {
#   75|           destination[i].resize(job[i]->total_out);
#   76|   

Error: COMPILER_WARNING (CWE-195): [#def68]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/async_test.cpp:88:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’}
#   88 |     for (int i = 0; i < number_of_copies; i++) {
#      |                     ~~^~~~~~~~~~~~~~~~~~
#   86|       }
#   87|   
#   88|->     for (int i = 0; i < number_of_copies; i++) {
#   89|           status = qpl_wait_job(job[i]);
#   90|           ASSERT_EQ(QPL_STS_OK, status);

Error: COMPILER_WARNING (CWE-563): [#def69]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/canned_deflate_inflate_in_loops.cpp:72:33: warning[-Wunused-variable]: unused variable ‘huffman_table’
#   72 |             qpl_huffman_table_t huffman_table = nullptr;
#      |                                 ^~~~~~~~~~~~~
#   70|           // Submit deflate and inflate jobs in loops using the same job object
#   71|           for (int loop = 0; loop < 10; loop++) {
#   72|->             qpl_huffman_table_t huffman_table = nullptr;
#   73|               auto ht_destroy_status = QPL_STS_OK;
#   74|   

Error: COMPILER_WARNING (CWE-563): [#def70]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/canned_deflate_inflate_in_loops.cpp:73:18: warning[-Wunused-variable]: unused variable ‘ht_destroy_status’
#   73 |             auto ht_destroy_status = QPL_STS_OK;
#      |                  ^~~~~~~~~~~~~~~~~
#   71|           for (int loop = 0; loop < 10; loop++) {
#   72|               qpl_huffman_table_t huffman_table = nullptr;
#   73|->             auto ht_destroy_status = QPL_STS_OK;
#   74|   
#   75|               const unique_huffman_table table(deflate_huffman_table_maker(combined_table_type,

Error: COMPILER_WARNING (CWE-195): [#def71]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/canned_deflate_inflate_in_loops.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_c_api_deflate_inflate_canned_in_loops_default_level_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/canned_deflate_inflate_in_loops.cpp:127:35: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’
#  127 |             if (decompressed_size != -1) {
#      |                 ~~~~~~~~~~~~~~~~~~^~~~~
#  125|   
#  126|               // Check if the decompressed size is the same as in the previous loop
#  127|->             if (decompressed_size != -1) {
#  128|                   EXPECT_EQ(decompressed_size, comp_decomp_job_ptr->total_out) << "File: " + dataset.first;
#  129|               }

Error: COMPILER_WARNING (CWE-563): [#def72]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/dictionary_utility_functions.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_c_api_dictionary_get_existing_dictionary_size_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/dictionary_utility_functions.cpp:19:32: warning[-Wunused-variable]: unused variable ‘hw_compr_level’
#   19 |     const hw_compression_level hw_compr_level = hw_compression_level::HW_NONE;
#      |                                ^~~~~~~~~~~~~~
#   17|   QPL_LOW_LEVEL_API_ALGORITHMIC_TEST(dictionary, get_existing_dictionary_size) {
#   18|   
#   19|->     const hw_compression_level hw_compr_level = hw_compression_level::HW_NONE;
#   20|   
#   21|       for (auto &dataset: util::TestEnvironment::GetInstance().GetAlgorithmicDataset().get_data()) {

Error: COMPILER_WARNING (CWE-563): [#def73]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/expand.cpp: scope_hint: In member function ‘void qpl::test::ta_c_api_expand_force_array_output_modification_Test::RunSingleIteration()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/expand.cpp:136:30: warning[-Wunused-variable]: unused variable ‘source_size’
#  136 |         const uint32_t       source_size         = 5U;
#      |                              ^~~~~~~~~~~
#  134|   
#  135|           // Constants
#  136|->         const uint32_t       source_size         = 5U;
#  137|           const uint32_t       mask_byte_length    = 1U;
#  138|           const uint32_t       input_vector_width  = 1U;

Error: COMPILER_WARNING (CWE-195): [#def74]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/extract.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_c_api_parquet_extract_bitwidth_mismatch_non_octa_group_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/extract.cpp:294:27: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<unsigned char>::size_type’ {aka ‘long unsigned int’}
#  294 |         for (int i = 0; i < reference_vector.size(); i++) {
#      |                         ~~^~~~~~~~~~~~~~~~~~~~~~~~~
#  292|   
#  293|           // Packing 8-bit numbers into 4-bit width literals
#  294|->         for (int i = 0; i < reference_vector.size(); i++) {
#  295|               if (i % 2 == 0) {
#  296|                   source[2 + i / 2] |= reference_vector[i];

Error: COMPILER_WARNING (CWE-563): [#def75]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/inflate.cpp: scope_hint: In member function ‘void qpl::test::Inflate::SetSourceFromGenerator(TestType)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/inflate.cpp:145:46: warning[-Wunused-variable]: unused variable ‘data_generator’
#  145 |         const gz_generator::InflateGenerator data_generator;
#      |                                              ^~~~~~~~~~~~~~
#  143|           }
#  144|   
#  145|->         const gz_generator::InflateGenerator data_generator;
#  146|   
#  147|           generator_status = gz_generator::InflateGenerator::generate(encoded_data_buffer,

Error: COMPILER_WARNING (CWE-563): [#def76]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/inflate_stop_conditions.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_c_api_inflate_stop_conditions_stop_on_eob_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/inflate_stop_conditions.cpp:119:14: warning[-Wunused-variable]: unused variable ‘source_size’
#  119 |         auto source_size = static_cast<uint32_t>(source.size());
#      |              ^~~~~~~~~~~
#  117|           destination.resize(compressed_source.size() * 2);
#  118|   
#  119|->         auto source_size = static_cast<uint32_t>(source.size());
#  120|           qpl::test::random random(0U, 0U, GetSeed());
#  121|   

Error: COMPILER_WARNING (CWE-563): [#def77]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/select.cpp: scope_hint: In member function ‘void qpl::test::ta_c_api_select_force_array_output_modification_Test::RunSingleIteration()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/select.cpp:144:34: warning[-Wunused-variable]: unused variable ‘byte_bit_length’
#  144 |         constexpr const uint32_t byte_bit_length            = 8;
#      |                                  ^~~~~~~~~~~~~~~
#  142|           constexpr const uint32_t input_vector_width         = 8;
#  143|           constexpr const uint32_t select_output_vector_width = 1;
#  144|->         constexpr const uint32_t byte_bit_length            = 8;
#  145|           constexpr const uint64_t reference                  = 16045690984062438142ULL;  // Reference value for select
#  146|   

Error: COMPILER_WARNING: [#def78]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/utility_triplets_functions.cpp:24:43: warning[-Wodr]: ‘own_huffman_table_get_compression_table’ violates the C++ One Definition Rule
#   24 | extern "C" qpl_compression_huffman_table *own_huffman_table_get_compression_table(const qpl_huffman_table_t table);
#      |                                           ^
intel-qpl-1.6.0-build/qpl-1.6.0/sources/c_api/compression_operations/huffman_table.cpp:220:32: note: return value type mismatch
#  220 | qpl_compression_huffman_table *own_huffman_table_get_compression_table(const qpl_huffman_table_t table) {
#      |                                ^
intel-qpl-1.6.0-build/qpl-1.6.0/sources/middle-layer/compression/huffman_table/huffman_table_utils.hpp:56:8: note: type name ‘qpl_compression_huffman_table’ should match type name ‘qpl::test::qpl_compression_huffman_table’
#   56 | struct qpl_compression_huffman_table {
#      |        ^
intel-qpl-1.6.0-build/qpl-1.6.0/sources/c_api/compression_operations/huffman_table.cpp:220:32: note: ‘own_huffman_table_get_compression_table’ was previously declared here
#  220 | qpl_compression_huffman_table *own_huffman_table_get_compression_table(const qpl_huffman_table_t table) {
#      |                                ^
#   22|   typedef struct qpl_compression_huffman_table qpl_compression_huffman_table;
#   23|   
#   24|-> extern "C" qpl_compression_huffman_table *own_huffman_table_get_compression_table(const qpl_huffman_table_t table);
#   25|   
#   26|   class triplets_fixture : public JobFixture {

Error: COMPILER_WARNING (CWE-563): [#def79]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/main.cpp: scope_hint: In function ‘int test_init_with_fork()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/main.cpp:133:16: warning[-Wunused-but-set-variable]: variable ‘status’ set but not used
#  133 |     qpl_status status = QPL_STS_OK;
#      |                ^~~~~~
#  131|   
#  132|   int test_init_with_fork() {
#  133|->     qpl_status status = QPL_STS_OK;
#  134|   
#  135|       // create a child process with fork()

Error: COMPILER_WARNING (CWE-563): [#def80]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/negative_tests/low_level_api/inflate_errors.cpp: scope_hint: In member function ‘qpl_status qpl::test::InflateErrorsTest::InflateRunBrokenStream(TestType)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/negative_tests/low_level_api/inflate_errors.cpp:37:50: warning[-Wunused-variable]: unused variable ‘data_generator’
#   37 |             const gz_generator::InflateGenerator data_generator;
#      |                                                  ^~~~~~~~~~~~~~
#   35|               test_factor.type = test_type;
#   36|   
#   37|->             const gz_generator::InflateGenerator data_generator;
#   38|   
#   39|               generator_status = gz_generator::InflateGenerator::generate(encoded_data_buffer,

Error: COMPILER_WARNING (CWE-195): [#def81]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/negative_tests/low_level_api/submission_errors.cpp: scope_hint: In member function ‘virtual void qpl::test::tn_c_api_submission_work_queues_are_busy_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/negative_tests/low_level_api/submission_errors.cpp:69:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’}
#   69 |     for(job_index = 0; job_index < number_of_jobs; job_index++) {
#      |                        ~~~~~~~~~~^~~~~~~~~~~~~~~~
#   67|   
#   68|       int job_index;
#   69|->     for(job_index = 0; job_index < number_of_jobs; job_index++) {
#   70|           job_buffer[job_index] = std::make_unique<uint8_t[]>(size);
#   71|           qpl_job *job = reinterpret_cast<qpl_job *>(job_buffer[job_index].get());

Error: COMPILER_WARNING (CWE-1164): [#def82]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp:31:13: warning[-Wunused-function]: ‘void fill_buffer_16u(uint8_t*, uint8_t*, uint32_t)’ defined but not used
#   31 | static void fill_buffer_16u(uint8_t* src, uint8_t* dst, uint32_t length) {
#      |             ^~~~~~~~~~~~~~~
#   29|   }
#   30|   
#   31|-> static void fill_buffer_16u(uint8_t* src, uint8_t* dst, uint32_t length) {
#   32|       uint16_t* p_src_16u = (uint16_t*)src;
#   33|       uint16_t* p_dst_16u = (uint16_t*)dst;

Error: COMPILER_WARNING (CWE-1164): [#def83]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp: scope_hint: At global scope
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp:38:13: warning[-Wunused-function]: ‘void fill_buffer_32u(uint8_t*, uint8_t*, uint32_t)’ defined but not used
#   38 | static void fill_buffer_32u(uint8_t* src, uint8_t* dst, uint32_t length) {
#      |             ^~~~~~~~~~~~~~~
#   36|   }
#   37|   
#   38|-> static void fill_buffer_32u(uint8_t* src, uint8_t* dst, uint32_t length) {
#   39|       uint32_t* p_src_32u = (uint32_t*)src;
#   40|       uint32_t* p_dst_32u = (uint32_t*)dst;

Error: COMPILER_WARNING (CWE-563): [#def84]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_unit_api_qplc_expand_8u_base_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp:121:65: warning[-Wunused-variable]: unused variable ‘buffer_src’
#  121 |     const std::array<uint8_t, TEST_BUFFER_SIZE*sizeof(uint8_t)> buffer_src{};
#      |                                                                 ^~~~~~~~~~
#  119|   using randomizer = qpl::test::random;
#  120|   QPL_UNIT_API_ALGORITHMIC_TEST(qplc_expand_8u, base) {
#  121|->     const std::array<uint8_t, TEST_BUFFER_SIZE*sizeof(uint8_t)> buffer_src{};
#  122|       std::array < uint8_t, TEST_BUFFER_SIZE > buffer_mask{};
#  123|       std::array<uint8_t, TEST_BUFFER_SIZE * sizeof(uint8_t)> source{};

Error: COMPILER_WARNING (CWE-563): [#def85]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_unit_api_qplc_expand_16u_base_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp:240:68: warning[-Wunused-variable]: unused variable ‘buffer_src’
#  240 |     const std::array<uint8_t, TEST_BUFFER_SIZE * sizeof(uint16_t)> buffer_src{};
#      |                                                                    ^~~~~~~~~~
#  238|   
#  239|   QPL_UNIT_API_ALGORITHMIC_TEST(qplc_expand_16u, base) {
#  240|->     const std::array<uint8_t, TEST_BUFFER_SIZE * sizeof(uint16_t)> buffer_src{};
#  241|       std::array < uint8_t, TEST_BUFFER_SIZE > buffer_mask{};
#  242|       std::array<uint8_t, TEST_BUFFER_SIZE * sizeof(uint16_t)> source{};

Error: COMPILER_WARNING (CWE-563): [#def86]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_unit_api_qplc_expand_32u_base_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_expand.cpp:358:68: warning[-Wunused-variable]: unused variable ‘buffer_src’
#  358 |     const std::array<uint8_t, TEST_BUFFER_SIZE * sizeof(uint32_t)> buffer_src{};
#      |                                                                    ^~~~~~~~~~
#  356|   
#  357|   QPL_UNIT_API_ALGORITHMIC_TEST(qplc_expand_32u, base) {
#  358|->     const std::array<uint8_t, TEST_BUFFER_SIZE * sizeof(uint32_t)> buffer_src{};
#  359|       std::array < uint8_t, TEST_BUFFER_SIZE > buffer_mask{};
#  360|       std::array<uint8_t, TEST_BUFFER_SIZE * sizeof(uint32_t)> source{};

Error: COMPILER_WARNING (CWE-195): [#def87]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_pack_16u.cpp: scope_hint: In function ‘void ref_qplc_pack_16unu(const uint8_t*, uint32_t, uint8_t*, uint32_t, uint32_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_pack_16u.cpp:41:28: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int32_t’ {aka ‘int’}
#   41 |         if (OWN_WORD_WIDTH <= bits_in_buf) {
#      |                            ^
#   39|   
#   40|       while (0U < num_elements) {
#   41|->         if (OWN_WORD_WIDTH <= bits_in_buf) {
#   42|               *dst_16u_ptr = (uint16_t)(src);
#   43|               dst_16u_ptr++;

Error: COMPILER_WARNING (CWE-195): [#def88]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_pack_32u.cpp: scope_hint: In function ‘void ref_qplc_pack_32unu(const uint8_t*, uint32_t, uint8_t*, uint32_t, uint32_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_pack_32u.cpp:40:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int32_t’ {aka ‘int’}
#   40 |             if (OWN_DWORD_WIDTH <= bits_in_buf) {
#      |                                 ^
#   38|   
#   39|           while (0U < num_elements) {
#   40|->             if (OWN_DWORD_WIDTH <= bits_in_buf) {
#   41|                   *dst_32u_ptr = (uint32_t)(src);
#   42|                   dst_32u_ptr++;

Error: COMPILER_WARNING (CWE-563): [#def89]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_unit_api_qplc_unpack_prle_8u_base_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:552:36: warning[-Wunused-variable]: unused variable ‘index’
#  552 |                     const uint32_t index = 0U;
#      |                                    ^~~~~
#  550|                       uint32_t* p_value = (uint32_t*)value.data();
#  551|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  552|->                     const uint32_t index = 0U;
#  553|                       const uint32_t ref_index = 0U;
#  554|   

Error: COMPILER_WARNING (CWE-563): [#def90]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:553:36: warning[-Wunused-variable]: unused variable ‘ref_index’
#  553 |                     const uint32_t ref_index = 0U;
#      |                                    ^~~~~~~~~
#  551|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  552|                       const uint32_t index = 0U;
#  553|->                     const uint32_t ref_index = 0U;
#  554|   
#  555|                       int32_t count_current = count;

Error: COMPILER_WARNING (CWE-563): [#def91]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:594:36: warning[-Wunused-variable]: unused variable ‘index’
#  594 |                     const uint32_t index = 0U;
#      |                                    ^~~~~
#  592|                       uint32_t* p_value = (uint32_t*)value.data();
#  593|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  594|->                     const uint32_t index = 0U;
#  595|                       const uint32_t ref_index = 0U;
#  596|   

Error: COMPILER_WARNING (CWE-563): [#def92]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:595:36: warning[-Wunused-variable]: unused variable ‘ref_index’
#  595 |                     const uint32_t ref_index = 0U;
#      |                                    ^~~~~~~~~
#  593|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  594|                       const uint32_t index = 0U;
#  595|->                     const uint32_t ref_index = 0U;
#  596|   
#  597|                       int32_t count_current = count;

Error: COMPILER_WARNING (CWE-563): [#def93]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_unit_api_qplc_unpack_prle_16u_base_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:646:36: warning[-Wunused-variable]: unused variable ‘index’
#  646 |                     const uint32_t index = 0U;
#      |                                    ^~~~~
#  644|                       uint32_t* p_value = (uint32_t*)value.data();
#  645|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  646|->                     const uint32_t index = 0U;
#  647|                       const uint32_t ref_index = 0U;
#  648|   

Error: COMPILER_WARNING (CWE-563): [#def94]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:647:36: warning[-Wunused-variable]: unused variable ‘ref_index’
#  647 |                     const uint32_t ref_index = 0U;
#      |                                    ^~~~~~~~~
#  645|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  646|                       const uint32_t index = 0U;
#  647|->                     const uint32_t ref_index = 0U;
#  648|   
#  649|                       int32_t count_current = count;

Error: COMPILER_WARNING (CWE-563): [#def95]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:688:36: warning[-Wunused-variable]: unused variable ‘index’
#  688 |                     const uint32_t index = 0U;
#      |                                    ^~~~~
#  686|                       uint32_t* p_value = (uint32_t*)value.data();
#  687|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  688|->                     const uint32_t index = 0U;
#  689|                       const uint32_t ref_index = 0U;
#  690|   

Error: COMPILER_WARNING (CWE-563): [#def96]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:689:36: warning[-Wunused-variable]: unused variable ‘ref_index’
#  689 |                     const uint32_t ref_index = 0U;
#      |                                    ^~~~~~~~~
#  687|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  688|                       const uint32_t index = 0U;
#  689|->                     const uint32_t ref_index = 0U;
#  690|   
#  691|                       int32_t count_current = count;

Error: COMPILER_WARNING (CWE-563): [#def97]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_unit_api_qplc_unpack_prle_32u_base_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:742:36: warning[-Wunused-variable]: unused variable ‘index’
#  742 |                     const uint32_t index = 0U;
#      |                                    ^~~~~
#  740|                       uint32_t* p_value = (uint32_t*)value.data();
#  741|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  742|->                     const uint32_t index = 0U;
#  743|                       const uint32_t ref_index = 0U;
#  744|   

Error: COMPILER_WARNING (CWE-563): [#def98]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:743:36: warning[-Wunused-variable]: unused variable ‘ref_index’
#  743 |                     const uint32_t ref_index = 0U;
#      |                                    ^~~~~~~~~
#  741|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  742|                       const uint32_t index = 0U;
#  743|->                     const uint32_t ref_index = 0U;
#  744|   
#  745|                       int32_t count_current = count;

Error: COMPILER_WARNING (CWE-563): [#def99]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:785:36: warning[-Wunused-variable]: unused variable ‘index’
#  785 |                     const uint32_t index = 0U;
#      |                                    ^~~~~
#  783|                       uint32_t* p_value = (uint32_t*)value.data();
#  784|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  785|->                     const uint32_t index = 0U;
#  786|                       const uint32_t ref_index = 0U;
#  787|   

Error: COMPILER_WARNING (CWE-563): [#def100]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/core_unpack_prle.cpp:786:36: warning[-Wunused-variable]: unused variable ‘ref_index’
#  786 |                     const uint32_t ref_index = 0U;
#      |                                    ^~~~~~~~~
#  784|                       uint32_t* p_ref_value = (uint32_t*)ref_value.data();
#  785|                       const uint32_t index = 0U;
#  786|->                     const uint32_t ref_index = 0U;
#  787|   
#  788|                       int32_t count_current = count;

Error: COMPILER_WARNING (CWE-563): [#def101]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/fallback.cpp: scope_hint: In member function ‘virtual void qpl::test::ta_unit_api_fallback_others_Test::TestBody()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/unit_tests/algorithmic/fallback.cpp:159:13: warning[-Wunused-but-set-variable]: variable ‘job’ set but not used
#  159 |     qpl_job job;
#      |             ^~~
#  157|   
#  158|   QPL_UNIT_API_ALGORITHMIC_TEST(fallback, others) {
#  159|->     qpl_job job;
#  160|   
#  161|       // @todo call to middle layer

Error: COMPILER_WARNING (CWE-195): [#def102]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/negative_tests/low_level_api/submission_errors.cpp:12: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/dispatcher_checks.hpp: scope_hint: In function ‘bool qpl::test::are_workqueues_available(int32_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/dispatcher_checks.hpp:25:56: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’}
#   25 |             if(dispatcher.device(device_idx).numa_id() != numa_id){
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
#   23|       if (dispatcher.is_hw_support()) {
#   24|           for (size_t device_idx = 0; device_idx < dispatcher.device_count(); device_idx++) {
#   25|->             if(dispatcher.device(device_idx).numa_id() != numa_id){
#   26|                   continue;
#   27|               }

Error: COMPILER_WARNING (CWE-195): [#def103]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/dispatcher_checks.hpp: scope_hint: In function ‘uint64_t qpl::test::max_descriptor_submissions(int32_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/dispatcher_checks.hpp:58:56: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’}
#   58 |             if(dispatcher.device(device_idx).numa_id() != numa_id){
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
#   56|       if (dispatcher.is_hw_support()) {
#   57|           for (size_t device_idx = 0; device_idx < dispatcher.device_count(); device_idx++) {
#   58|->             if(dispatcher.device(device_idx).numa_id() != numa_id){
#   59|                   continue;
#   60|               }

Error: COMPILER_WARNING (CWE-1164): [#def104]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/deflate_huffman_only.cpp:16: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/huffman_table_unique.hpp: scope_hint: At global scope
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/huffman_table_unique.hpp:15:21: warning[-Wunused-function]: ‘qpl_huffman_table* qpl::test::deflate_huffman_table_maker(qpl_huffman_table_type_e, qpl_path_t, allocator_t)’ defined but not used
#   15 | qpl_huffman_table_t deflate_huffman_table_maker(const qpl_huffman_table_type_e type,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#   13|   namespace qpl::test {
#   14|   static
#   15|-> qpl_huffman_table_t deflate_huffman_table_maker(const qpl_huffman_table_type_e type,
#   16|                                                   const qpl_path_t path,
#   17|                                                   const allocator_t allocator) {

Error: COMPILER_WARNING (CWE-1164): [#def105]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/canned_deflate_inflate_in_loops.cpp:13: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/huffman_table_unique.hpp: scope_hint: At global scope
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/huffman_table_unique.hpp:25:21: warning[-Wunused-function]: ‘qpl_huffman_table* qpl::test::huffman_only_huffman_table_maker(qpl_huffman_table_type_e, qpl_path_t, allocator_t)’ defined but not used
#   25 | qpl_huffman_table_t huffman_only_huffman_table_maker(const qpl_huffman_table_type_e type,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#   23|   
#   24|   static
#   25|-> qpl_huffman_table_t huffman_only_huffman_table_maker(const qpl_huffman_table_type_e type,
#   26|                                                        const qpl_path_t path,
#   27|                                                        const allocator_t allocator) {

Error: COMPILER_WARNING (CWE-195): [#def106]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/negative_tests/low_level_api/opcfg.cpp:12: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/opcfg_checks.hpp: scope_hint: In function ‘bool qpl::test::is_operation_disabled_on_all_wq_on_node(qpl_test_opcodes)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/opcfg_checks.hpp:55:56: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’}
#   55 |             if(dispatcher.device(device_idx).numa_id() != numa_id){
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
#   53|       if (dispatcher.is_hw_support()) {
#   54|           for (size_t device_idx = 0; device_idx < dispatcher.device_count(); device_idx++) {
#   55|->             if(dispatcher.device(device_idx).numa_id() != numa_id){
#   56|                   continue;
#   57|               }

Error: COMPILER_WARNING (CWE-195): [#def107]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.cpp: scope_hint: In static member function ‘static void qpl::test::source_provider::store_prle_header(std::vector<unsigned char>::iterator&, uint32_t, prle_encoding_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.cpp:95:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘long unsigned int’
#   95 |             if (bits_in_buffer >= BIT_BUF_LEN_HALF)
#   93|               }
#   94|   
#   95|->             if (bits_in_buffer >= BIT_BUF_LEN_HALF)
#   96|               {
#   97|                   auto source32_ptr = reinterpret_cast<uint32_t *>(&(*source_it));

Error: COMPILER_WARNING (CWE-195): [#def108]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.cpp: scope_hint: In member function ‘void qpl::test::source_provider::store_parquet_group(std::vector<unsigned char>::iterator&, std::vector<unsigned char>::iterator, uint32_t, const std::vector<unsigned int>&) const’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.cpp:128:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘long unsigned int’
#  128 |             if (bits_in_buffer >= BIT_BUF_LEN_HALF)
#  126|               bits_in_buffer += m_bit_width;
#  127|   
#  128|->             if (bits_in_buffer >= BIT_BUF_LEN_HALF)
#  129|               {
#  130|                   auto source32_ptr = reinterpret_cast<uint32_t *>(&(*source_it));

Error: COMPILER_WARNING (CWE-569): [#def109]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.cpp: scope_hint: In member function ‘std::vector<unsigned char> qpl::test::source_provider::generate_expand_rle_prle_stream()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.cpp:293:57: warning[-Wparentheses]: suggest parentheses around ‘&&’ within ‘||’
#  293 |             if (elements_remain >= PRLE_OCTA_GROUP_SIZE && uint32_t(num_generator) % 2 == 0U ||
#      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  291|           while (elements_remain > 0U)
#  292|           {
#  293|->             if (elements_remain >= PRLE_OCTA_GROUP_SIZE && uint32_t(num_generator) % 2 == 0U ||
#  294|                   (accumulate_values && elements_remain >= PRLE_OCTA_GROUP_SIZE))
#  295|               {

Error: COMPILER_WARNING (CWE-665): [#def110]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.hpp:33:9: warning[-Wreorder]:   when initialized here
#   33 |         source_provider(uint32_t number_of_elements,
#      |         ^~~~~~~~~~~~~~~
#   31|       {
#   32|       public:
#   33|->         source_provider(uint32_t number_of_elements,
#   34|                           uint32_t bit_width,
#   35|                           uint32_t seed,

Error: COMPILER_WARNING (CWE-665): [#def111]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.hpp:79:23: warning[-Wreorder]:   ‘uint32_t qpl::test::source_provider::m_seed’
#   79 |         uint32_t      m_seed;
#      |                       ^~~~~~
#   77|           static auto bit_reverse32(uint32_t input) -> uint32_t;
#   78|   
#   79|->         uint32_t      m_seed;
#   80|           uint32_t      m_number_of_elements;
#   81|           uint32_t      m_count_number_expand_rle = 0;

Error: COMPILER_WARNING (CWE-665): [#def112]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/analytic_fixture.hpp:26: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/aggregates.cpp:9: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.hpp: scope_hint: In constructor ‘qpl::test::source_provider::source_provider(uint32_t, uint32_t, uint32_t, qpl_parser)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/source_provider.hpp:82:23: warning[-Wreorder]: ‘qpl::test::source_provider::m_bit_width’ will be initialized after
#   82 |         uint32_t      m_bit_width;
#      |                       ^~~~~~~~~~~
#   80|           uint32_t      m_number_of_elements;
#   81|           uint32_t      m_count_number_expand_rle = 0;
#   82|->         uint32_t      m_bit_width;
#   83|           uint32_t      m_byte_length;
#   84|           qpl_parser     m_parser;

Error: COMPILER_WARNING (CWE-1164): [#def113]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/functional/algorithmic_tests/low_level_api/crc64.cpp:22: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/system_info.hpp:108:22: warning[-Wunused-function]: ‘std::ostream& qpl::test::operator<<(std::ostream&, const extended_info_t&)’ defined but not used
#  108 | static std::ostream &operator<<(std::ostream &os, const extended_info_t &info)
#      |                      ^~~~~~~~
#  106|   }
#  107|   
#  108|-> static std::ostream &operator<<(std::ostream &os, const extended_info_t &info)
#  109|   {
#  110|       /* Benchmarks output for system configuration details */

Error: COMPILER_WARNING (CWE-1164): [#def114]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:69:27: warning[-Wunused-function]: ‘std::ostream& qpl::test::operator<<(std::ostream&, const hw_accelerator_status&)’ defined but not used
#   69 |     static std::ostream & operator<<(std::ostream &strm, hw_accelerator_status const &status_ex)
#      |                           ^~~~~~~~
#   67|       };
#   68|   
#   69|->     static std::ostream & operator<<(std::ostream &strm, hw_accelerator_status const &status_ex)
#   70|       {
#   71|           const ::qpl_test_hw_accelerator_status status = status_ex;

Error: COMPILER_WARNING (CWE-1164): [#def115]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:106:21: warning[-Wunused-function]: ‘uint32_t qpl::test::bits_to_bytes(uint32_t)’ defined but not used
#  106 |     static uint32_t bits_to_bytes(uint32_t bits_count) {
#      |                     ^~~~~~~~~~~~~
#  104|       }
#  105|   
#  106|->     static uint32_t bits_to_bytes(uint32_t bits_count) {
#  107|           const uint32_t bytes_count = (bits_count + max_bit_index) >> bit_to_byte_shift_offset;
#  108|           return bytes_count;

Error: COMPILER_WARNING (CWE-1164): [#def116]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:111:24: warning[-Wunused-function]: ‘std::string qpl::test::OperationToString(qpl_operation)’ defined but not used
#  111 |     static std::string OperationToString(qpl_operation operation)
#      |                        ^~~~~~~~~~~~~~~~~
#  109|       }
#  110|   
#  111|->     static std::string OperationToString(qpl_operation operation)
#  112|       {
#  113|           switch (operation)

Error: COMPILER_WARNING (CWE-1164): [#def117]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:162:24: warning[-Wunused-function]: ‘std::string qpl::test::ParserToString(qpl_parser)’ defined but not used
#  162 |     static std::string ParserToString(qpl_parser parser)
#      |                        ^~~~~~~~~~~~~~
#  160|       }
#  161|   
#  162|->     static std::string ParserToString(qpl_parser parser)
#  163|       {
#  164|           switch (parser)

Error: COMPILER_WARNING (CWE-1164): [#def118]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:180:21: warning[-Wunused-function]: ‘uint8_t* qpl::test::set_format_count(uint32_t, uint32_t, uint8_t*)’ defined but not used
#  180 |     static uint8_t *set_format_count(uint32_t format, uint32_t count, uint8_t *destination_ptr)
#      |                     ^~~~~~~~~~~~~~~~
#  178|       }
#  179|   
#  180|->     static uint8_t *set_format_count(uint32_t format, uint32_t count, uint8_t *destination_ptr)
#  181|       {
#  182|           uint8_t value;

Error: COMPILER_WARNING (CWE-1164): [#def119]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:234:21: warning[-Wunused-function]: ‘uint32_t qpl::test::qpl_output_to_uint(qpl_out_format)’ defined but not used
#  234 |     static uint32_t qpl_output_to_uint(qpl_out_format output)
#      |                     ^~~~~~~~~~~~~~~~~~
#  232|       }
#  233|   
#  234|->     static uint32_t qpl_output_to_uint(qpl_out_format output)
#  235|       {
#  236|           switch (output)

Error: COMPILER_WARNING (CWE-1164): [#def120]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:255:27: warning[-Wunused-function]: ‘qpl_out_format qpl::test::uint_to_qpl_output(uint32_t)’ defined but not used
#  255 |     static qpl_out_format uint_to_qpl_output(uint32_t output)
#      |                           ^~~~~~~~~~~~~~~~~~
#  253|       }
#  254|   
#  255|->     static qpl_out_format uint_to_qpl_output(uint32_t output)
#  256|       {
#  257|           switch (output)

Error: COMPILER_WARNING (CWE-1164): [#def121]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/tests/common/analytic_fixture.hpp:25: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp: scope_hint: At global scope
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/common/util.hpp:277:21: warning[-Wunused-function]: ‘uint32_t qpl::test::get_second_source_bit_length(qpl_operation, uint32_t, uint32_t)’ defined but not used
#  277 |     static uint32_t get_second_source_bit_length(qpl_operation operation,
#      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  275|   
#  276|   
#  277|->     static uint32_t get_second_source_bit_length(qpl_operation operation,
#  278|                                                    uint32_t first_source_bit_width,
#  279|                                                    uint32_t first_source_number_of_elements)

Error: COMPILER_WARNING (CWE-665): [#def122]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/base_configurator.hpp:50:31: warning[-Wreorder]:   ‘qpl::test::random gz_generator::TestConfigurator::m_randomMatch’
#   50 |             qpl::test::random m_randomMatch;
#      |                               ^~~~~~~~~~~~~
#   48|   
#   49|               qpl::test::random m_random;
#   50|->             qpl::test::random m_randomMatch;
#   51|               qpl::test::random m_randomLiteralCode;
#   52|   

Error: COMPILER_WARNING (CWE-665): [#def123]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/indexed_stream/index_base.hpp:10: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/indexed_stream/base_index.cpp:7: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/base_configurator.hpp: scope_hint: In constructor ‘gz_generator::TestConfigurator::TestConfigurator(Gen32u)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/base_configurator.hpp:53:31: warning[-Wreorder]: ‘gz_generator::TestConfigurator::m_randomOffset’ will be initialized after
#   53 |             qpl::test::random m_randomOffset;
#      |                               ^~~~~~~~~~~~~~
#   51|               qpl::test::random m_randomLiteralCode;
#   52|   
#   53|->             qpl::test::random m_randomOffset;
#   54|               qpl::test::random m_randomTokenCount;
#   55|   

Error: COMPILER_WARNING (CWE-665): [#def124]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/base_configurator.hpp:89:13: warning[-Wreorder]:   when initialized here
#   89 |             TestConfigurator(Gen32u seed)
#      |             ^~~~~~~~~~~~~~~~
#   87|               
#   88|           public:
#   89|->             TestConfigurator(Gen32u seed)
#   90|                   :m_seed(seed),
#   91|                    m_random(0u, 1u, m_seed),

Error: COMPILER_WARNING (CWE-665): [#def125]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/indexed_stream/index_base.hpp:20:31: warning[-Wreorder]:   ‘const Gen32u gz_generator::ConfiguratorDecompressIndex::m_miniBlockSize’
#   20 |             const Gen32u      m_miniBlockSize;
#      |                               ^~~~~~~~~~~~~~~
#   18|           protected:
#   19|               float             m_literalProbability;
#   20|->             const Gen32u      m_miniBlockSize;
#   21|               IndexTable *m_pIndexTable;
#   22|   

Error: COMPILER_WARNING (CWE-665): [#def126]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/indexed_stream/index_base.hpp: scope_hint: In constructor ‘gz_generator::ConfiguratorDecompressIndex::ConfiguratorDecompressIndex(Gen32u, SpecialTestOptions&)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/indexed_stream/index_base.hpp:21:25: warning[-Wreorder]: ‘gz_generator::ConfiguratorDecompressIndex::m_pIndexTable’ will be initialized after
#   21 |             IndexTable *m_pIndexTable;
#      |                         ^~~~~~~~~~~~~
#   19|               float             m_literalProbability;
#   20|               const Gen32u      m_miniBlockSize;
#   21|->             IndexTable *m_pIndexTable;
#   22|   
#   23|               void getIndex();

Error: COMPILER_WARNING (CWE-665): [#def127]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/configurators/indexed_stream/index_base.hpp:27:13: warning[-Wreorder]:   when initialized here
#   27 |             ConfiguratorDecompressIndex(Gen32u seed, SpecialTestOptions &testOptions)
#      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
#   25|   
#   26|           public:
#   27|->             ConfiguratorDecompressIndex(Gen32u seed, SpecialTestOptions &testOptions)
#   28|                   : TestConfigurator(seed),
#   29|                     m_pIndexTable(testOptions.index_table),

Error: COMPILER_WARNING (CWE-665): [#def128]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/bitbuffer.cpp:9:1: warning[-Wreorder]:   when initialized here
#    9 | gz_generator::BitBuffer::BitBuffer(std::vector<uint8_t> *data)
#      | ^~~~~~~~~~~~
#    7|   #include "bitbuffer.h"
#    8|   
#    9|-> gz_generator::BitBuffer::BitBuffer(std::vector<uint8_t> *data)
#   10|       : m_totalBitWritten(0U), m_bigEndian16(false), m_data(data)
#   11|   {

Error: COMPILER_WARNING (CWE-195): [#def129]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/gen.cpp: scope_hint: In member function ‘void gz_generator::gen_c::proc_lit(int)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/gen.cpp:21:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘const uint32_t’ {aka ‘const unsigned int’}
#   21 |         if (lit == USE_RAND)
#      |             ~~~~^~~~~~~~~~~
#   19|           if (!m_state.in_block)
#   20|               die("Literal found when not in block");
#   21|->         if (lit == USE_RAND)
#   22|               lit = 0xFF & rand();
#   23|           else if ((lit == 286) || (lit == 287))

Error: COMPILER_WARNING (CWE-665): [#def130]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/include/bitbuffer.h:43:20: warning[-Wreorder]:   ‘bool gz_generator::BitBuffer::m_bigEndian16’
#   43 |             bool   m_bigEndian16;
#      |                    ^~~~~~~~~~~~~
#   41|           private:
#   42|   
#   43|->             bool   m_bigEndian16;
#   44|               uint32_t m_totalBitWritten;
#   45|               struct

Error: COMPILER_WARNING (CWE-665): [#def131]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/bitbuffer.cpp:7: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/include/bitbuffer.h: scope_hint: In constructor ‘gz_generator::BitBuffer::BitBuffer(std::vector<unsigned char>*)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/include/bitbuffer.h:44:22: warning[-Wreorder]: ‘gz_generator::BitBuffer::m_totalBitWritten’ will be initialized after
#   44 |             uint32_t m_totalBitWritten;
#      |                      ^~~~~~~~~~~~~~~~~
#   42|   
#   43|               bool   m_bigEndian16;
#   44|->             uint32_t m_totalBitWritten;
#   45|               struct
#   46|               {

Error: COMPILER_WARNING (CWE-1164): [#def132]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/include/heap_alt.h:35:13: warning[-Wunused-function]: ‘void build_heap32(uint32_t*, uint32_t)’ defined but not used
#   35 | static void build_heap32(uint32_t *heap, uint32_t n)
#      |             ^~~~~~~~~~~~
#   33|   }
#   34|   
#   35|-> static void build_heap32(uint32_t *heap, uint32_t n)
#   36|   {
#   37|       uint32_t i;

Error: COMPILER_WARNING (CWE-1164): [#def133]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/include/heap_alt.h:45:13: warning[-Wunused-function]: ‘void replace_min32(uint32_t*, uint32_t, uint32_t)’ defined but not used
#   45 | static void replace_min32(uint32_t *heap, uint32_t n, uint32_t new_val)
#      |             ^~~~~~~~~~~~~
#   43|   }
#   44|   
#   45|-> static void replace_min32(uint32_t *heap, uint32_t n, uint32_t new_val)
#   46|   {
#   47|       heap[ 1 ] = new_val;

Error: COMPILER_WARNING (CWE-1164): [#def134]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/huff_codes.cpp:13: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/include/heap_alt.h:98:13: warning[-Wunused-function]: ‘void replace_min64(uint64_t*, uint32_t, uint64_t)’ defined but not used
#   98 | static void replace_min64(uint64_t *heap, uint32_t n, uint64_t new_val)
#      |             ^~~~~~~~~~~~~
#   96|   } while (0)
#   97|   
#   98|-> static void replace_min64(uint64_t *heap, uint32_t n, uint64_t new_val)
#   99|   {
#  100|       heap[ 1 ] = new_val;

Error: COMPILER_WARNING (CWE-1164): [#def135]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/huffman.cpp:11: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/deflate_generator/include/myintrin.h:30:12: warning[-Wunused-function]: ‘int bsf(int)’ defined but not used
#   30 | static int bsf(int val)
#      |            ^~~
#   28|       return (31 - __builtin_clz(val));
#   29|   }
#   30|-> static int bsf(int val)
#   31|   {
#   32|       if (val == 0) return 0;

Error: COMPILER_WARNING (CWE-195): [#def136]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/index_table.cpp: scope_hint: In member function ‘void IndexTable::fillOffsets(std::vector<unsigned int>)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/index_table.cpp:114:24: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Index>::size_type’ {aka ‘long unsigned int’}
#  114 |     for (auto i = 0; i < m_indices.size() && i < vector.size(); i++)
#      |                      ~~^~~~~~~~~~~~~~~~~~
#  112|   void IndexTable::fillOffsets(std::vector<uint32_t> vector)
#  113|   {
#  114|->     for (auto i = 0; i < m_indices.size() && i < vector.size(); i++)
#  115|       {
#  116|           m_indices[i].bit_offset = vector[i];

Error: COMPILER_WARNING (CWE-195): [#def137]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/index_table.cpp:114:48: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<unsigned int>::size_type’ {aka ‘long unsigned int’}
#  114 |     for (auto i = 0; i < m_indices.size() && i < vector.size(); i++)
#      |                                              ~~^~~~~~~~~~~~~~~
#  112|   void IndexTable::fillOffsets(std::vector<uint32_t> vector)
#  113|   {
#  114|->     for (auto i = 0; i < m_indices.size() && i < vector.size(); i++)
#  115|       {
#  116|           m_indices[i].bit_offset = vector[i];

Error: COMPILER_WARNING (CWE-195): [#def138]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/prle_generator.cpp: scope_hint: In function ‘std::vector<unsigned char> qpl::test::create_prle_header(prle_encoding_t, uint32_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/prle_generator.cpp:67:28: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘const uint32_t’ {aka ‘const unsigned int’}
#   67 |         if (bits_in_buffer >= bit_half_buffer_length)
#      |             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#   65|           }
#   66|   
#   67|->         if (bits_in_buffer >= bit_half_buffer_length)
#   68|           {
#   69|               auto source32_ptr = reinterpret_cast<uint32_t *>(&(*source_it));

Error: COMPILER_WARNING (CWE-195): [#def139]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/prle_generator.cpp: scope_hint: In function ‘std::vector<unsigned char> qpl::test::create_parquet_group(parquet_element_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/prle_generator.cpp:160:28: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘const uint32_t’ {aka ‘const unsigned int’}
#  160 |         if (bits_in_buffer >= bit_half_buffer_length)
#      |             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
#  158|           bits_in_buffer += parquet_element.bit_width;
#  159|   
#  160|->         if (bits_in_buffer >= bit_half_buffer_length)
#  161|           {
#  162|               auto source32_ptr = reinterpret_cast<uint32_t *>(&(*source_it));

Error: COMPILER_WARNING (CWE-665): [#def140]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/random_generator.cpp:15:1: warning[-Wreorder]:   when initialized here
#   15 | qpl::test::random_base::random_base(double mpy, double add, uint32_t seed)
#      | ^~~
#   13|   /* ------ gzRandU ------ */
#   14|   
#   15|-> qpl::test::random_base::random_base(double mpy, double add, uint32_t seed)
#   16|   : s1n3(41U), s1n2(18467U), s1n1(6334U), c(1U), s2n1(seed), m_seed(seed), m_mpy(mpy), m_add(add)
#   17|   {

Error: COMPILER_WARNING (CWE-9001): [#def141]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/random_generator.cpp: scope_hint: In member function ‘double qpl::test::random_base::gen()’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/random_generator.cpp:44:30: warning[-Wstrict-aliasing]: dereferencing type-punned pointer will break strict-aliasing rules
#   44 |    *((uint32_t*)(&cnst2in31) + 0U) = 0x00000000;
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
#   42|   {
#   43|      double cnst2in31 = NAN;// exact number for 0.4656613e-9 == 2^-31
#   44|->    *((uint32_t*)(&cnst2in31) + 0U) = 0x00000000;
#   45|      *((uint32_t*)(&cnst2in31) + 1U) = 0x3e000000;
#   46|   

Error: COMPILER_WARNING (CWE-665): [#def142]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/random_generator.h:54:18: warning[-Wreorder]:   ‘double qpl::test::random_base::m_add’
#   54 |         double   m_add;
#      |                  ^~~~~
#   52|           uint32_t s1n3, s1n2, s1n1, c, s2n1;
#   53|           uint32_t m_seed;
#   54|->         double   m_add;
#   55|           double   m_mpy;
#   56|           double   m_valMax, m_valMin;

Error: COMPILER_WARNING (CWE-665): [#def143]
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/random_generator.cpp:10: included_from: Included from here.
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/random_generator.h: scope_hint: In constructor ‘qpl::test::random_base::random_base(double, double, uint32_t)’
intel-qpl-1.6.0-build/qpl-1.6.0/tools/utils/generators/random_generator.h:55:18: warning[-Wreorder]: ‘qpl::test::random_base::m_mpy’ will be initialized after
#   55 |         double   m_mpy;
#      |                  ^~~~~
#   53|           uint32_t m_seed;
#   54|           double   m_add;
#   55|->         double   m_mpy;
#   56|           double   m_valMax, m_valMin;
#   57|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-189.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameintel-qpl-1.6.0-1.fc42
store-results-to/tmp/tmp1919rs9u/intel-qpl-1.6.0-1.fc42.tar.xz
time-created2024-11-13 00:21:19
time-finished2024-11-13 00:25:31
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp1919rs9u/intel-qpl-1.6.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp1919rs9u/intel-qpl-1.6.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9