aom-3.9.0-1.fc41

List of Defects

Error: CPPCHECK_WARNING (CWE-758): [#def1]
aom-3.9.0-build/aom-3.9.0/aom_dsp/aom_dsp_common.h:92: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
#   90|   // negative value is undefined by C standards and implementation defined,
#   91|   static INLINE unsigned int negative_to_zero(int value) {
#   92|->   return value & ~(value >> (sizeof(value) * 8 - 1));
#   93|   }
#   94|   

Error: CPPCHECK_WARNING: [#def2]
aom-3.9.0-build/aom-3.9.0/aom_dsp/blend_a64_mask.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def3]
aom-3.9.0-build/aom-3.9.0/aom_dsp/fft.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def4]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/fft_avx2.c:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/fft_avx2.c: scope_hint: In function ‘aom_fft1d_8_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/fft_common.h:150:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/fft_avx2.c:23:1: note: in expansion of macro ‘GEN_FFT_8’
#  148|   #define GEN_FFT_8(ret, suffix, T, T_VEC, load, store, constant, add, sub, mul) \
#  149|     ret aom_fft1d_8_##suffix(const T *input, T *output, int stride) {            \
#  150|->     const T_VEC kWeight0 = constant(0.0f);                                     \
#  151|       const T_VEC kWeight2 = constant(0.707107f);                                \
#  152|       const T_VEC i0 = load(input + 0 * stride);                                 \

Error: COMPILER_WARNING: [#def5]
aom-3.9.0-build/aom-3.9.0/aom_dsp/flow_estimation/x86/corner_match_avx2.c: scope_hint: In function ‘aom_compute_mean_stddev_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/flow_estimation/x86/corner_match_avx2.c:45:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   43|                                     int y, double *mean,
#   44|                                     double *one_over_stddev) {
#   45|->   __m256i sum_vec = _mm256_setzero_si256();
#   46|     __m256i sumsq_vec = _mm256_setzero_si256();
#   47|   

Error: CPPCHECK_WARNING: [#def6]
aom-3.9.0-build/aom-3.9.0/aom_dsp/fwd_txfm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
aom-3.9.0-build/aom-3.9.0/aom_dsp/grain_table.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING (CWE-252): [#def8]
aom-3.9.0-build/aom-3.9.0/aom_dsp/grain_table.c: scope_hint: In function ‘grain_table_entry_read’
aom-3.9.0-build/aom-3.9.0/aom_dsp/grain_table.c:145:11: warning[-Wunused-result]: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’
#  145 |     (void)fscanf(file, "\n");
#      |           ^~~~~~~~~~~~~~~~~~
#  143|         }
#  144|       }
#  145|->     (void)fscanf(file, "\n");
#  146|     }
#  147|   }

Error: CPPCHECK_WARNING: [#def9]
aom-3.9.0-build/aom-3.9.0/aom_dsp/quantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def10]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:289: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  287|   
#  288|   // 128x128
#  289|-> HIGHBD_SADMXN(128, 128)
#  290|   HIGHBD_SAD_MXNX4D(128, 128)
#  291|   HIGHBD_SAD_MXNX3D(128, 128)

Error: CPPCHECK_WARNING (CWE-457): [#def11]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:294: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  292|   
#  293|   // 128x64
#  294|-> HIGHBD_SADMXN(128, 64)
#  295|   HIGHBD_SAD_MXNX4D(128, 64)
#  296|   HIGHBD_SAD_MXNX3D(128, 64)

Error: CPPCHECK_WARNING (CWE-457): [#def12]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:299: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  297|   
#  298|   // 64x128
#  299|-> HIGHBD_SADMXN(64, 128)
#  300|   HIGHBD_SAD_MXNX4D(64, 128)
#  301|   HIGHBD_SAD_MXNX3D(64, 128)

Error: CPPCHECK_WARNING (CWE-457): [#def13]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:304: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  302|   
#  303|   // 64x64
#  304|-> HIGHBD_SADMXN(64, 64)
#  305|   HIGHBD_SAD_MXNX4D(64, 64)
#  306|   HIGHBD_SAD_MXNX3D(64, 64)

Error: CPPCHECK_WARNING (CWE-457): [#def14]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:309: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  307|   
#  308|   // 64x32
#  309|-> HIGHBD_SADMXN(64, 32)
#  310|   HIGHBD_SAD_MXNX4D(64, 32)
#  311|   HIGHBD_SAD_MXNX3D(64, 32)

Error: CPPCHECK_WARNING (CWE-457): [#def15]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:314: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  312|   
#  313|   // 32x64
#  314|-> HIGHBD_SADMXN(32, 64)
#  315|   HIGHBD_SAD_MXNX4D(32, 64)
#  316|   HIGHBD_SAD_MXNX3D(32, 64)

Error: CPPCHECK_WARNING (CWE-457): [#def16]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:319: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  317|   
#  318|   // 32x32
#  319|-> HIGHBD_SADMXN(32, 32)
#  320|   HIGHBD_SAD_MXNX4D(32, 32)
#  321|   HIGHBD_SAD_MXNX3D(32, 32)

Error: CPPCHECK_WARNING (CWE-457): [#def17]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:324: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  322|   
#  323|   // 32x16
#  324|-> HIGHBD_SADMXN(32, 16)
#  325|   HIGHBD_SAD_MXNX4D(32, 16)
#  326|   HIGHBD_SAD_MXNX3D(32, 16)

Error: CPPCHECK_WARNING (CWE-457): [#def18]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:329: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  327|   
#  328|   // 16x32
#  329|-> HIGHBD_SADMXN(16, 32)
#  330|   HIGHBD_SAD_MXNX4D(16, 32)
#  331|   HIGHBD_SAD_MXNX3D(16, 32)

Error: CPPCHECK_WARNING (CWE-457): [#def19]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:334: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  332|   
#  333|   // 16x16
#  334|-> HIGHBD_SADMXN(16, 16)
#  335|   HIGHBD_SAD_MXNX4D(16, 16)
#  336|   HIGHBD_SAD_MXNX3D(16, 16)

Error: CPPCHECK_WARNING (CWE-457): [#def20]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:339: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  337|   
#  338|   // 16x8
#  339|-> HIGHBD_SADMXN(16, 8)
#  340|   HIGHBD_SAD_MXNX4D(16, 8)
#  341|   HIGHBD_SAD_MXNX3D(16, 8)

Error: CPPCHECK_WARNING (CWE-457): [#def21]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:344: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  342|   
#  343|   // 8x16
#  344|-> HIGHBD_SADMXN(8, 16)
#  345|   HIGHBD_SAD_MXNX4D(8, 16)
#  346|   HIGHBD_SAD_MXNX3D(8, 16)

Error: CPPCHECK_WARNING (CWE-457): [#def22]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:349: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  347|   
#  348|   // 8x8
#  349|-> HIGHBD_SADMXN(8, 8)
#  350|   HIGHBD_SAD_MXNX4D(8, 8)
#  351|   HIGHBD_SAD_MXNX3D(8, 8)

Error: CPPCHECK_WARNING (CWE-457): [#def23]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:354: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  352|   
#  353|   // 8x4
#  354|-> HIGHBD_SADMXN(8, 4)
#  355|   HIGHBD_SAD_MXNX4D(8, 4)
#  356|   HIGHBD_SAD_MXNX3D(8, 4)

Error: CPPCHECK_WARNING (CWE-457): [#def24]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:359: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  357|   
#  358|   // 4x8
#  359|-> HIGHBD_SADMXN(4, 8)
#  360|   HIGHBD_SAD_MXNX4D(4, 8)
#  361|   HIGHBD_SAD_MXNX3D(4, 8)

Error: CPPCHECK_WARNING (CWE-457): [#def25]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:364: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  362|   
#  363|   // 4x4
#  364|-> HIGHBD_SADMXN(4, 4)
#  365|   HIGHBD_SAD_MXNX4D(4, 4)
#  366|   HIGHBD_SAD_MXNX3D(4, 4)

Error: CPPCHECK_WARNING (CWE-457): [#def26]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:368: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  366|   HIGHBD_SAD_MXNX3D(4, 4)
#  367|   
#  368|-> HIGHBD_SADMXN(4, 16)
#  369|   HIGHBD_SAD_MXNX4D(4, 16)
#  370|   HIGHBD_SADMXN(16, 4)

Error: CPPCHECK_WARNING (CWE-457): [#def27]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:370: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  368|   HIGHBD_SADMXN(4, 16)
#  369|   HIGHBD_SAD_MXNX4D(4, 16)
#  370|-> HIGHBD_SADMXN(16, 4)
#  371|   HIGHBD_SAD_MXNX4D(16, 4)
#  372|   HIGHBD_SADMXN(8, 32)

Error: CPPCHECK_WARNING (CWE-457): [#def28]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:372: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  370|   HIGHBD_SADMXN(16, 4)
#  371|   HIGHBD_SAD_MXNX4D(16, 4)
#  372|-> HIGHBD_SADMXN(8, 32)
#  373|   HIGHBD_SAD_MXNX4D(8, 32)
#  374|   HIGHBD_SADMXN(32, 8)

Error: CPPCHECK_WARNING (CWE-457): [#def29]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:374: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  372|   HIGHBD_SADMXN(8, 32)
#  373|   HIGHBD_SAD_MXNX4D(8, 32)
#  374|-> HIGHBD_SADMXN(32, 8)
#  375|   HIGHBD_SAD_MXNX4D(32, 8)
#  376|   HIGHBD_SADMXN(16, 64)

Error: CPPCHECK_WARNING (CWE-457): [#def30]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:376: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  374|   HIGHBD_SADMXN(32, 8)
#  375|   HIGHBD_SAD_MXNX4D(32, 8)
#  376|-> HIGHBD_SADMXN(16, 64)
#  377|   HIGHBD_SAD_MXNX4D(16, 64)
#  378|   HIGHBD_SADMXN(64, 16)

Error: CPPCHECK_WARNING (CWE-457): [#def31]
aom-3.9.0-build/aom-3.9.0/aom_dsp/sad.c:378: error[legacyUninitvar]: Uninitialized variable: comp_pred
#  376|   HIGHBD_SADMXN(16, 64)
#  377|   HIGHBD_SAD_MXNX4D(16, 64)
#  378|-> HIGHBD_SADMXN(64, 16)
#  379|   HIGHBD_SAD_MXNX4D(64, 16)
#  380|   

Error: CPPCHECK_WARNING: [#def32]
aom-3.9.0-build/aom-3.9.0/aom_dsp/vmaf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def33]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/adaptive_quantize_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def34]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/adaptive_quantize_avx2.c: scope_hint: In function ‘load_coefficients_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/adaptive_quantize_avx2.c:39:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/adaptive_quantize_avx2.c: scope_hint: In function ‘calculate_dqcoeff_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/adaptive_quantize_avx2.c:83:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   37|   }
#   38|   
#   39|-> static INLINE __m256i load_coefficients_avx2(const tran_low_t *coeff_ptr) {
#   40|     const __m256i coeff1 = _mm256_load_si256((__m256i *)(coeff_ptr));
#   41|     const __m256i coeff2 = _mm256_load_si256((__m256i *)(coeff_ptr + 8));

Error: CPPCHECK_WARNING: [#def35]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/adaptive_quantize_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def36]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_asm_stubs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def37]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_convolve_copy_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def38]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_convolve_copy_avx2.c: scope_hint: In function ‘aom_convolve_copy_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_convolve_copy_avx2.c:83:12: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   81|       do {
#   82|         __m256i s[2];
#   83|->       s[0] = _mm256_loadu_si256((__m256i *)src);
#   84|         src += src_stride;
#   85|         s[1] = _mm256_loadu_si256((__m256i *)src);

Error: CPPCHECK_WARNING: [#def39]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_convolve_copy_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def40]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_quantize_avx.c: scope_hint: In function ‘aom_quantize_b_avx’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_quantize_avx.c:39:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   37|                           const int16_t *iscan) {
#   38|     const __m128i zero = _mm_setzero_si128();
#   39|->   const __m256i big_zero = _mm256_setzero_si256();
#   40|     int index;
#   41|   

Error: CPPCHECK_WARNING: [#def41]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_subpixel_8t_intrin_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def42]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/avg_intrin_avx2.c:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/bitdepth_conversion_avx2.h: scope_hint: In function ‘load_tran_low’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/bitdepth_conversion_avx2.h:18:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/bitdepth_conversion_avx2.h: scope_hint: In function ‘store_tran_low’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/bitdepth_conversion_avx2.h:24:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   16|   #include "aom_dsp/aom_dsp_common.h"
#   17|   
#   18|-> static INLINE __m256i load_tran_low(const tran_low_t *a) {
#   19|     const __m256i a_low = _mm256_loadu_si256((const __m256i *)a);
#   20|     const __m256i a_high = _mm256_loadu_si256((const __m256i *)(a + 8));

Error: COMPILER_WARNING: [#def43]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/blk_sse_sum_avx2.c: scope_hint: In function ‘sse_sum_wd4_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/blk_sse_sum_avx2.c:51:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/blk_sse_sum_avx2.c: scope_hint: In function ‘accumulate_sse_sum’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/blk_sse_sum_avx2.c:16:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   49|         temp_buffer1, temp_buffer2, row_sum_buffer, row_sse_buffer;
#   50|     const int16_t *data_tmp = data;
#   51|->   __m256i one = _mm256_set1_epi16(1);
#   52|     regx_sum = _mm256_setzero_si256();
#   53|     regx2_sum = regx_sum;

Error: COMPILER_WARNING: [#def44]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/aom_subpixel_8t_intrin_avx2.c:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/convolve_avx2.h: scope_hint: In function ‘convolve_lowbd’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/convolve_avx2.h:725:38: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  723|   
#  724|   static INLINE __m256i convolve_lowbd(const __m256i *const s,
#  725|->                                      const __m256i *const coeffs) {
#  726|     const __m256i res_01 = _mm256_maddubs_epi16(s[0], coeffs[0]);
#  727|     const __m256i res_23 = _mm256_maddubs_epi16(s[1], coeffs[1]);

Error: CPPCHECK_WARNING: [#def45]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_adaptive_quantize_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def46]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_adaptive_quantize_avx2.c: scope_hint: In function ‘highbd_calculate_dqcoeff_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_adaptive_quantize_avx2.c:87:53: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_adaptive_quantize_avx2.c:86:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   85|   
#   86|   static INLINE __m256i highbd_calculate_dqcoeff_avx2(__m256i qcoeff,
#   87|->                                                     __m256i dequant) {
#   88|     return _mm256_mullo_epi32(qcoeff, dequant);
#   89|   }

Error: CPPCHECK_WARNING: [#def47]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_adaptive_quantize_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def48]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_loopfilter_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def49]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘mm256_mul_shift_epi32’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_quantize_intrin_avx2.c:63:45: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘get_max_lane_eob’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_quantize_intrin_avx2.c:78:33: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   61|   // and right shift 16.  The output, 16 int32_t is save in *p.
#   62|   static INLINE __m256i mm256_mul_shift_epi32(const __m256i *x,
#   63|->                                             const __m256i *y) {
#   64|     __m256i prod_lo = _mm256_mul_epi32(*x, *y);
#   65|     __m256i prod_hi = _mm256_srli_epi64(*x, 32);

Error: CPPCHECK_WARNING: [#def50]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_quantize_intrin_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def51]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_sad_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def52]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_subtract_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_subtract_sse2.c: scope_hint: In function ‘aom_highbd_subtract_block_sse2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_subtract_sse2.c:265:3: warning[-Wanalyzer-jump-through-null]: jump through null pointer
#  263|   
#  264|     func = getSubtractFunc(rows, cols);
#  265|->   func(diff, diff_stride, src, src_stride, pred, pred_stride);
#  266|   }

Error: CPPCHECK_WARNING: [#def54]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_variance_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def55]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_variance_avx2.c: scope_hint: In function ‘highbd_calc16x16var_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_variance_avx2.c:659:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  657|                                        const uint16_t *ref, int ref_stride,
#  658|                                        uint32_t *sse, int *sum) {
#  659|->   __m256i v_sum_d = _mm256_setzero_si256();
#  660|     __m256i v_sse_d = _mm256_setzero_si256();
#  661|     const __m256i one = _mm256_set1_epi16(1);

Error: CPPCHECK_WARNING (CWE-457): [#def56]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_variance_sse4.c:171: error[legacyUninitvar]: Uninitialized variable: temp3
#  169|                                                   bilinear_filters_2t[yoffset]);
#  170|   
#  171|->   aom_highbd_comp_avg_pred(CONVERT_TO_BYTEPTR(temp3), second_pred, 4, 4,
#  172|                              CONVERT_TO_BYTEPTR(temp2), 4);
#  173|   

Error: CPPCHECK_WARNING (CWE-457): [#def57]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_variance_sse4.c:191: error[legacyUninitvar]: Uninitialized variable: temp3
#  189|                                                   bilinear_filters_2t[yoffset]);
#  190|   
#  191|->   aom_highbd_comp_avg_pred(CONVERT_TO_BYTEPTR(temp3), second_pred, 4, 4,
#  192|                              CONVERT_TO_BYTEPTR(temp2), 4);
#  193|   

Error: CPPCHECK_WARNING (CWE-457): [#def58]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/highbd_variance_sse4.c:211: error[legacyUninitvar]: Uninitialized variable: temp3
#  209|                                                   bilinear_filters_2t[yoffset]);
#  210|   
#  211|->   aom_highbd_comp_avg_pred(CONVERT_TO_BYTEPTR(temp3), second_pred, 4, 4,
#  212|                              CONVERT_TO_BYTEPTR(temp2), 4);
#  213|   

Error: COMPILER_WARNING: [#def59]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/intrapred_avx2.c: scope_hint: In function ‘dc_sum_64’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/intrapred_avx2.c:19:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   17|   #include "aom_dsp/x86/lpf_common_sse2.h"
#   18|   
#   19|-> static INLINE __m256i dc_sum_64(const uint8_t *ref) {
#   20|     const __m256i x0 = _mm256_loadu_si256((const __m256i *)ref);
#   21|     const __m256i x1 = _mm256_loadu_si256((const __m256i *)(ref + 32));

Error: COMPILER_WARNING: [#def60]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/loopfilter_avx2.c: scope_hint: In function ‘aom_lpf_horizontal_6_quad_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/loopfilter_avx2.c:38:10: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   36|     const __m128i ff = _mm_cmpeq_epi8(zero, zero);
#   37|   
#   38|->   p256_2 =
#   39|         _mm256_castpd_si256(_mm256_broadcast_pd((__m128d const *)(s - 3 * p)));
#   40|     p256_1 =

Error: COMPILER_WARNING: [#def61]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/masked_sad_intrin_avx2.c: scope_hint: In function ‘xx_loadu2_m128i’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/masked_sad_intrin_avx2.c:70:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   68|   }
#   69|   
#   70|-> static INLINE __m256i xx_loadu2_m128i(const void *hi, const void *lo) {
#   71|     __m128i a0 = _mm_lddqu_si128((const __m128i *)(lo));
#   72|     __m128i a1 = _mm_lddqu_si128((const __m128i *)(hi));

Error: COMPILER_WARNING: [#def62]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/obmc_sad_avx2.c: scope_hint: In function ‘obmc_sad_w8n_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/obmc_sad_avx2.c:76:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   74|     const int pre_step = pre_stride - width;
#   75|     int n = 0;
#   76|->   __m256i v_sad_d = _mm256_setzero_si256();
#   77|     const __m256i v_bias_d = _mm256_set1_epi32((1 << 12) >> 1);
#   78|     assert(width >= 8);

Error: COMPILER_WARNING: [#def63]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/obmc_variance_avx2.c: scope_hint: In function ‘obmc_variance_w16n’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/obmc_variance_avx2.c:92:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   90|     __m128i res0;
#   91|     const uint8_t *pre_temp;
#   92|->   const __m256i v_bias_d = _mm256_set1_epi32((1 << 12) >> 1);
#   93|     __m256i v_sum_d = _mm256_setzero_si256();
#   94|     __m256i v_sse_d = _mm256_setzero_si256();

Error: COMPILER_WARNING: [#def64]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/quantize_avx2.c: scope_hint: In function ‘load_coefficients_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/quantize_avx2.c:52:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/quantize_avx2.c: scope_hint: In function ‘store_coefficients_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/quantize_avx2.c:58:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   50|   }
#   51|   
#   52|-> static INLINE __m256i load_coefficients_avx2(const tran_low_t *coeff_ptr) {
#   53|     const __m256i coeff1 = _mm256_load_si256((__m256i *)coeff_ptr);
#   54|     const __m256i coeff2 = _mm256_load_si256((__m256i *)(coeff_ptr + 8));

Error: COMPILER_WARNING: [#def65]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/sad_avx2.c: scope_hint: In function ‘sad64xh_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/sad_avx2.c:22:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   20|     int i;
#   21|     __m256i sad1_reg, sad2_reg, ref1_reg, ref2_reg;
#   22|->   __m256i sum_sad = _mm256_setzero_si256();
#   23|     __m256i sum_sad_h;
#   24|     __m128i sum_sad128;

Error: COMPILER_WARNING: [#def66]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/sad_impl_avx2.c: scope_hint: In function ‘sad32x32’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/sad_impl_avx2.c:19:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   17|                                const uint8_t *ref_ptr, int ref_stride) {
#   18|     __m256i s1, s2, r1, r2;
#   19|->   __m256i sum = _mm256_setzero_si256();
#   20|     __m128i sum_i128;
#   21|     int i;

Error: COMPILER_WARNING: [#def67]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/subtract_avx2.c: scope_hint: In function ‘subtract_block_16xn_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/subtract_avx2.c:36:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   34|       __m128i s = _mm_lddqu_si128((__m128i *)(src_ptr));
#   35|       __m128i p = _mm_lddqu_si128((__m128i *)(pred_ptr));
#   36|->     __m256i s_0 = _mm256_cvtepu8_epi16(s);
#   37|       __m256i p_0 = _mm256_cvtepu8_epi16(p);
#   38|       const __m256i d_0 = _mm256_sub_epi16(s_0, p_0);

Error: CPPCHECK_WARNING: [#def68]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/sum_squares_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def69]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/sum_squares_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def70]
aom-3.9.0-build/aom-3.9.0/aom_dsp/flow_estimation/x86/disflow_avx2.c:19: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/synonyms_avx2.h: scope_hint: In function ‘yy_load_256’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/synonyms_avx2.h:30:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   28|   // Loads and stores to do away with the tedium of casting the address
#   29|   // to the right type.
#   30|-> static INLINE __m256i yy_load_256(const void *a) {
#   31|     return _mm256_load_si256((const __m256i *)a);
#   32|   }

Error: COMPILER_WARNING: [#def71]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/av1_inv_txfm_avx2.h:22: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/x86/av1_inv_txfm_avx2.c:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/txfm_common_avx2.h: scope_hint: In function ‘pair_set_w16_epi16’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/txfm_common_avx2.h:23:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/common/x86/av1_inv_txfm_avx2.c: scope_hint: In function ‘idct64_stage4_high32_avx2’
aom-3.9.0-build/aom-3.9.0/av1/common/x86/av1_inv_txfm_avx2.c:885:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   21|   #endif
#   22|   
#   23|-> static INLINE __m256i pair_set_w16_epi16(int16_t a, int16_t b) {
#   24|     return _mm256_set1_epi32(
#   25|         (int32_t)(((uint16_t)(a)) | (((uint32_t)(b)) << 16)));

Error: CPPCHECK_WARNING: [#def72]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def73]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_avx2.c: scope_hint: In function ‘sum_to_32bit_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_avx2.c:86:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_avx2.c: scope_hint: In function ‘variance_kernel_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_avx2.c:29:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   84|   }
#   85|   
#   86|-> static INLINE __m256i sum_to_32bit_avx2(const __m256i sum) {
#   87|     const __m256i sum_lo = _mm256_cvtepi16_epi32(_mm256_castsi256_si128(sum));
#   88|     const __m256i sum_hi =

Error: CPPCHECK_WARNING: [#def74]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_impl_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def75]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_impl_avx2.c: scope_hint: In function ‘aom_sub_pixel_variance32x64_imp_avx2’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_impl_avx2.c:178:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_impl_avx2.c:366:1: note: in expansion of macro ‘MAKE_SUB_PIXEL_VAR_32XH’
#  176|       __m256i zero_reg;                                                         \
#  177|       int i, sum;                                                               \
#  178|->     sum_reg = _mm256_setzero_si256();                                         \
#  179|       sse_reg = _mm256_setzero_si256();                                         \
#  180|       zero_reg = _mm256_setzero_si256();                                        \

Error: CPPCHECK_WARNING: [#def76]
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/variance_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
aom-3.9.0-build/aom-3.9.0/aom_mem/aom_mem.c:47:25: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
aom-3.9.0-build/aom-3.9.0/aom_mem/aom_mem.c: scope_hint: In function ‘aom_memalign’
aom-3.9.0-build/aom-3.9.0/aom_mem/aom_mem.c: scope_hint: In function ‘aom_memalign’
aom-3.9.0-build/aom-3.9.0/aom_mem/aom_mem.c:12: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_mem/aom_mem.c:61:9: note: in expansion of macro ‘aom_align_addr’
#   45|                                      const void *const malloc_addr) {
#   46|     size_t *const malloc_addr_location = GetMallocAddressLocation(mem);
#   47|->   *malloc_addr_location = (size_t)malloc_addr;
#   48|   }
#   49|   

Error: CPPCHECK_WARNING: [#def78]
aom-3.9.0-build/aom-3.9.0/aom_scale/generic/aom_scale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def79]
aom-3.9.0-build/aom-3.9.0/aom_scale/generic/yv12config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def80]
aom-3.9.0-build/aom-3.9.0/apps/aomdec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def81]
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe_utils.c:14: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/reconintra.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_common_int.h:1772:3: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
# 1770|     if (subsize == bsize) return PARTITION_NONE;
# 1771|   
# 1772|->   const int bhigh = mi_size_high[bsize];
# 1773|     const int bwide = mi_size_wide[bsize];
# 1774|     const int sshigh = mi_size_high[subsize];

Error: GCC_ANALYZER_WARNING (CWE-476): [#def82]
aom-3.9.0-build/aom-3.9.0/av1/common/av1_inv_txfm2d.c: scope_hint: In function ‘inv_txfm2d_add_c’
aom-3.9.0-build/aom-3.9.0/av1/common/av1_inv_txfm2d.c:284:7: warning[-Wanalyzer-jump-through-null]: jump through null pointer
aom-3.9.0-build/aom-3.9.0/redhat-linux-build/config/av1_rtcd.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_inv_txfm2d.c:13: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_inv_txfm2d.c:17: included_from: Included from here.
#  282|         }
#  283|         clamp_buf(temp_in, txfm_size_col, bd + 8);
#  284|->       txfm_func_row(temp_in, buf_ptr, cos_bit_row, stage_range_row);
#  285|       }
#  286|       av1_round_shift_array(buf_ptr, txfm_size_col, -shift[0]);

Error: CLANG_WARNING: [#def83]
aom-3.9.0-build/aom-3.9.0/av1/common/av1_loopfilter.c:162:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  160|       for (seg_id = 0; seg_id < MAX_SEGMENTS; seg_id++) {
#  161|         for (int dir = 0; dir < 2; ++dir) {
#  162|->         int lvl_seg = (dir == 0) ? filt_lvl[plane] : filt_lvl_r[plane];
#  163|           const int seg_lf_feature_id = seg_lvl_lf_lut[plane][dir];
#  164|           if (segfeature_active(seg, seg_id, seg_lf_feature_id)) {

Error: CLANG_WARNING: [#def84]
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe_utils.c:14: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/reconintra.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_common_int.h:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/redhat-linux-build/config/av1_rtcd.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_txfm.h:22: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/blockd.h:1502:35: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<=' is a garbage value due to array index out of bounds
# 1500|     assert(sb_type < BLOCK_SIZES_ALL);
# 1501|     return allow_screen_content_tools &&
# 1502|->          block_size_wide[sb_type] <= MAX_PALETTE_BLOCK_WIDTH &&
# 1503|            block_size_high[sb_type] <= MAX_PALETTE_BLOCK_HEIGHT &&
# 1504|            sb_type >= BLOCK_8X8;

Error: CLANG_WARNING: [#def85]
aom-3.9.0-build/aom-3.9.0/av1/common/convolve.c:231:27: warning[core.UndefinedBinaryOperatorResult]: The right operand of '+' is a garbage value
#  229|       for (int x = 0; x < w; ++x) {
#  230|         const int32_t sum =
#  231|->           (1 << (bd + 2)) + src_vert[x] + src_vert[im_stride + x];
#  232|         assert(0 <= sum && sum < (1 << (bd + 4)));
#  233|         const int16_t res =

Error: CLANG_WARNING: [#def86]
aom-3.9.0-build/aom-3.9.0/av1/common/convolve.c:841:50: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
#  839|       for (int x = 0; x < w; ++x) {
#  840|         const int32_t sum =
#  841|->           (1 << offset_bits) + 64 * (src_vert[x] + src_vert[im_stride + x]);
#  842|         assert(0 <= sum && sum < (1 << (offset_bits + 2)));
#  843|         const int32_t res = ROUND_POWER_OF_TWO(sum, conv_params->round_1) -

Error: CPPCHECK_WARNING (CWE-457): [#def87]
aom-3.9.0-build/aom-3.9.0/av1/common/convolve.h:99: error[uninitvar]: Uninitialized variables: conv_params.fwd_offset, conv_params.bck_offset
#   97|     // in a compound mode.
#   98|     conv_params.do_average = cmp_index;
#   99|->   return conv_params;
#  100|   }
#  101|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def88]
aom-3.9.0-build/aom-3.9.0/av1/common/convolve.h:99:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.fwd_offset’
aom-3.9.0-build/aom-3.9.0/av1/common/convolve.h: scope_hint: In function ‘warp_error’
#   97|     // in a compound mode.
#   98|     conv_params.do_average = cmp_index;
#   99|->   return conv_params;
#  100|   }
#  101|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def89]
aom-3.9.0-build/aom-3.9.0/av1/common/debugmodes.c: scope_hint: In function ‘log_frame_info’
aom-3.9.0-build/aom-3.9.0/av1/common/debugmodes.c:19:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘f’ where non-null expected
<built-in>: note: argument 2 of ‘__builtin_fputs’ must be non-null
#   17|   
#   18|   static void log_frame_info(AV1_COMMON *cm, const char *str, FILE *f) {
#   19|->   fprintf(f, "%s", str);
#   20|     fprintf(f, "(Frame %u, Show:%d, Q:%d): \n", cm->current_frame.frame_number,
#   21|             cm->show_frame, cm->quant_params.base_qindex);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def90]
aom-3.9.0-build/aom-3.9.0/av1/common/debugmodes.c: scope_hint: In function ‘av1_print_uncompressed_frame_header’
aom-3.9.0-build/aom-3.9.0/av1/common/debugmodes.c:94:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(filename, "w")’ where non-null expected
aom-3.9.0-build/aom-3.9.0/av1/common/debugmodes.c:12: included_from: Included from here.
/usr/include/stdio.h:735:15: note: argument 4 of ‘fwrite’ must be non-null
#   92|                                            const char *filename) {
#   93|     FILE *hdrFile = fopen(filename, "w");
#   94|->   fwrite(data, size, sizeof(uint8_t), hdrFile);
#   95|   
#   96|     // Reset order hints(7bit + a previous bit) to 0, so that all camera frame

Error: GCC_ANALYZER_WARNING (CWE-688): [#def91]
aom-3.9.0-build/aom-3.9.0/av1/common/debugmodes.c: scope_hint: In function ‘av1_print_frame_contexts’
aom-3.9.0-build/aom-3.9.0/av1/common/debugmodes.c:111:36: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘fopen(filename, "w")’ where non-null expected
/usr/include/stdio.h:357:12: note: argument 1 of ‘fprintf’ must be non-null
#  109|     unsigned int i;
#  110|   
#  111|->   for (i = 0; i < n_contexts; ++i) fprintf(fcFile, "%d ", *fcp++);
#  112|     fclose(fcFile);
#  113|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
aom-3.9.0-build/aom-3.9.0/av1/common/filter.h:267:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c: scope_hint: In function ‘aom_upsampled_pred_sse2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c: scope_hint: In function ‘aom_upsampled_pred_sse2’
#  265|   static INLINE const int16_t *av1_get_interp_filter_subpel_kernel(
#  266|       const InterpFilterParams *const filter_params, const int subpel) {
#  267|->   return filter_params->filter_ptr + filter_params->taps * subpel;
#  268|   }
#  269|   

Error: CLANG_WARNING: [#def93]
aom-3.9.0-build/aom-3.9.0/av1/encoder/interp_search.c:12: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/pred_common.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_common_int.h:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/redhat-linux-build/config/av1_rtcd.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_txfm.h:22: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/blockd.h:24: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/entropymode.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/filter.h:294:29: warning[core.BitwiseShift]: Right shift by '252' overflows the capacity of 'int'
#  292|   static INLINE uint8_t get_interp_filter_allowed_mask(
#  293|       uint16_t allow_interp_mask, DUAL_FILTER_TYPE filt_type) {
#  294|->   return (allow_interp_mask >> filt_type) & 1;
#  295|   }
#  296|   

Error: CPPCHECK_WARNING: [#def94]
aom-3.9.0-build/aom-3.9.0/av1/common/frame_buffers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-758): [#def95]
aom-3.9.0-build/aom-3.9.0/av1/common/mv.h:92: error[overlappingWriteUnion]: Overlapping read/write of union is undefined behavior
#   90|   
#   91|   static AOM_INLINE void convert_fullmv_to_mv(int_mv *mv) {
#   92|->   mv->as_mv = get_mv_from_fullmv(&mv->as_fullmv);
#   93|   }
#   94|   

Error: CPPCHECK_WARNING: [#def96]
aom-3.9.0-build/aom-3.9.0/av1/common/obu_util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def97]
aom-3.9.0-build/aom-3.9.0/av1/encoder/intra_mode_search.c:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/intra_mode_search_utils.h:21: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/pred_common.h:194:38: warning[core.UndefinedBinaryOperatorResult]: The left operand of '-' is a garbage value due to array index out of bounds
#  192|   static INLINE int av1_get_palette_bsize_ctx(BLOCK_SIZE bsize) {
#  193|     assert(bsize < BLOCK_SIZES_ALL);
#  194|->   return num_pels_log2_lookup[bsize] - num_pels_log2_lookup[BLOCK_8X8];
#  195|   }
#  196|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
aom-3.9.0-build/aom-3.9.0/av1/common/scale.h:66:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
aom-3.9.0-build/aom-3.9.0/av1/common/reconinter.c: scope_hint: In function ‘av1_setup_build_prediction_by_left_pred’
aom-3.9.0-build/aom-3.9.0/av1/common/reconinter.c: scope_hint: In function ‘av1_setup_build_prediction_by_left_pred’
#   64|   static INLINE int av1_is_valid_scale(const struct scale_factors *sf) {
#   65|     assert(sf != NULL);
#   66|->   return sf->x_scale_fp != REF_INVALID_SCALE &&
#   67|            sf->y_scale_fp != REF_INVALID_SCALE;
#   68|   }

Error: CPPCHECK_WARNING: [#def99]
aom-3.9.0-build/aom-3.9.0/av1/common/seg_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def100]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/cfl_avx2.c: scope_hint: In function ‘predict_unclipped’
aom-3.9.0-build/aom-3.9.0/av1/common/x86/cfl_avx2.c:245:41: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/common/x86/cfl_avx2.c:244:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  243|   
#  244|   static INLINE __m256i predict_unclipped(const __m256i *input, __m256i alpha_q12,
#  245|->                                         __m256i alpha_sign, __m256i dc_q0) {
#  246|     __m256i ac_q3 = _mm256_loadu_si256(input);
#  247|     __m256i ac_sign = _mm256_sign_epi16(alpha_sign, ac_q3);

Error: CLANG_WARNING: [#def101]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:433:56: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
#  431|     if (!do_cols) {
#  432|       const int log_range_out = AOMMAX(16, bd + 6);
#  433|->     const __m256i clamp_lo_out = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
#  434|       const __m256i clamp_hi_out =
#  435|           _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def102]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:468:38: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
#  466|       const int log_range_out = AOMMAX(16, bd + 6);
#  467|       __m256i offset = _mm256_set1_epi32((1 << out_shift) >> 1);
#  468|->     clamp_lo = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
#  469|       clamp_hi = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
#  470|       x = _mm256_add_epi32(offset, x);

Error: CLANG_WARNING: [#def103]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:1145:33: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1143|         const int log_range_out = AOMMAX(16, bd + 6);
# 1144|         const __m256i clamp_lo_out =
# 1145|->           _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 1146|         const __m256i clamp_hi_out =
# 1147|             _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def104]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:1178:40: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1176|       if (!do_cols) {
# 1177|         const int log_range_out = AOMMAX(16, bd + 6);
# 1178|->       clamp_lo = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 1179|         clamp_hi = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 1180|         __m256i offset = _mm256_set1_epi32((1 << out_shift) >> 1);

Error: CLANG_WARNING: [#def105]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:1343:33: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1341|         const int log_range_out = AOMMAX(16, bd + 6);
# 1342|         const __m256i clamp_lo_out =
# 1343|->           _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 1344|         const __m256i clamp_hi_out =
# 1345|             _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def106]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:1526:33: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1524|         const int log_range_out = AOMMAX(16, bd + 6);
# 1525|         const __m256i clamp_lo_out =
# 1526|->           _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 1527|         const __m256i clamp_hi_out =
# 1528|             _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def107]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:2010:33: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2008|         const int log_range_out = AOMMAX(16, bd + 6);
# 2009|         const __m256i clamp_lo_out =
# 2010|->           _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2011|         const __m256i clamp_hi_out =
# 2012|             _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def108]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:2390:33: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2388|         const int log_range_out = AOMMAX(16, bd + 6);
# 2389|         const __m256i clamp_lo_out =
# 2390|->           _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2391|         const __m256i clamp_hi_out =
# 2392|             _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def109]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:2436:38: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2434|       const int log_range_out = AOMMAX(16, bd + 6);
# 2435|       __m256i offset = _mm256_set1_epi32((1 << out_shift) >> 1);
# 2436|->     clamp_lo = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2437|       clamp_hi = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2438|       x = _mm256_add_epi32(x, offset);

Error: CLANG_WARNING: [#def110]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:2554:56: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2552|     if (!do_cols) {
# 2553|       const int log_range_out = AOMMAX(16, bd + 6);
# 2554|->     const __m256i clamp_lo_out = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2555|       const __m256i clamp_hi_out =
# 2556|           _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def111]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:2807:56: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2805|     } else {
# 2806|       const int log_range_out = AOMMAX(16, bd + 6);
# 2807|->     const __m256i clamp_lo_out = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2808|       const __m256i clamp_hi_out =
# 2809|           _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def112]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_avx2.c:2985:40: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2983|       if (!do_cols) {
# 2984|         const int log_range_out = AOMMAX(16, bd + 6);
# 2985|->       clamp_lo = _mm256_set1_epi32(-(1 << (log_range_out - 1)));
# 2986|         clamp_hi = _mm256_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2987|         if (out_shift != 0) {

Error: CLANG_WARNING: [#def113]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:425:53: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
#  423|     if (!do_cols) {
#  424|       const int log_range_out = AOMMAX(16, bd + 6);
#  425|->     const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
#  426|       const __m128i clamp_hi_out = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
#  427|       for (int i = 0; i < 32; i += 8) {

Error: CLANG_WARNING: [#def114]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:1492:35: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1490|     if (!do_cols) {
# 1491|       const int log_range_out = AOMMAX(16, bd + 6);
# 1492|->     clamp_lo = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 1493|       clamp_hi = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 1494|   

Error: CLANG_WARNING: [#def115]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:1615:53: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1613|     if (!do_cols) {
# 1614|       const int log_range_out = AOMMAX(16, bd + 6);
# 1615|->     const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 1616|       const __m128i clamp_hi_out = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 1617|   

Error: CLANG_WARNING: [#def116]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:1870:53: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1868|     } else {
# 1869|       const int log_range_out = AOMMAX(16, bd + 6);
# 1870|->     const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 1871|       const __m128i clamp_hi_out = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 1872|   

Error: CLANG_WARNING: [#def117]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:1906:35: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 1904|     if (!do_cols) {
# 1905|       log_range = AOMMAX(16, bd + 6);
# 1906|->     clamp_lo = _mm_set1_epi32(-(1 << (log_range - 1)));
# 1907|       clamp_hi = _mm_set1_epi32((1 << (log_range - 1)) - 1);
# 1908|       if (out_shift != 0) {

Error: CLANG_WARNING: [#def118]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:2070:53: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2068|     if (!do_cols) {
# 2069|       const int log_range_out = AOMMAX(16, bd + 6);
# 2070|->     const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2071|       const __m128i clamp_hi_out = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2072|       round_shift_8x8(out, out_shift);

Error: CLANG_WARNING: [#def119]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:2544:53: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2542|     } else {
# 2543|       const int log_range_out = AOMMAX(16, bd + 6);
# 2544|->     const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2545|       const __m128i clamp_hi_out = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 2546|   

Error: CLANG_WARNING: [#def120]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:2739:55: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 2737|       if (!do_cols) {
# 2738|         const int log_range_out = AOMMAX(16, bd + 6);
# 2739|->       const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 2740|         const __m128i clamp_hi_out =
# 2741|             _mm_set1_epi32((1 << (log_range_out - 1)) - 1);

Error: CLANG_WARNING: [#def121]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:3103:53: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3101|     } else {
# 3102|       const int log_range_out = AOMMAX(16, bd + 6);
# 3103|->     const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3104|       const __m128i clamp_hi_out = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3105|   

Error: CLANG_WARNING: [#def122]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:3320:37: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 3318|       if (!do_cols) {
# 3319|         const int log_range_out = AOMMAX(16, bd + 6);
# 3320|->       clamp_lo = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 3321|         clamp_hi = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 3322|         if (out_shift != 0) {

Error: CLANG_WARNING: [#def123]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:4445:35: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 4443|     } else {
# 4444|       const int log_range_out = AOMMAX(16, bd + 6);
# 4445|->     clamp_lo = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 4446|       clamp_hi = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 4447|       if (out_shift != 0) {

Error: CLANG_WARNING: [#def124]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_inv_txfm_sse4.c:5120:53: warning[core.BitwiseShift]: Left shift overflows the capacity of 'int'
# 5118|     if (!do_cols) {
# 5119|       const int log_range_out = AOMMAX(16, bd + 6);
# 5120|->     const __m128i clamp_lo_out = _mm_set1_epi32(-(1 << (log_range_out - 1)));
# 5121|       const __m128i clamp_hi_out = _mm_set1_epi32((1 << (log_range_out - 1)) - 1);
# 5122|       round_shift_8x8(out, out_shift);

Error: COMPILER_WARNING: [#def125]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_warp_affine_avx2.c: scope_hint: In function ‘av1_highbd_warp_affine_avx2’
aom-3.9.0-build/aom-3.9.0/av1/common/x86/highbd_warp_affine_avx2.c:42:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   40|     assert(bd + FILTER_BITS + 2 - conv_params->round_0 <= 16);
#   41|   
#   42|->   const __m256i clip_pixel =
#   43|         _mm256_set1_epi16(bd == 10 ? 1023 : (bd == 12 ? 4095 : 255));
#   44|     const __m128i reduce_bits_vert_shift = _mm_cvtsi32_si128(reduce_bits_vert);

Error: COMPILER_WARNING: [#def126]
aom-3.9.0-build/aom-3.9.0/av1/common/x86/warp_plane_avx2.c: scope_hint: In function ‘av1_warp_affine_avx2’
aom-3.9.0-build/aom-3.9.0/av1/common/x86/warp_plane_avx2.c:1042:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/common/x86/warp_plane_avx2.c: scope_hint: In function ‘horizontal_filter_avx2’
aom-3.9.0-build/aom-3.9.0/av1/common/x86/warp_plane_avx2.c:254:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 1040|   
# 1041|     const int offset_bits_vert = bd + 2 * FILTER_BITS - reduce_bits_horiz;
# 1042|->   const __m256i reduce_bits_vert_const =
# 1043|         _mm256_set1_epi32(((1 << reduce_bits_vert) >> 1));
# 1044|     const __m256i res_add_const = _mm256_set1_epi32(1 << offset_bits_vert);

Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
aom-3.9.0-build/aom-3.9.0/av1/decoder/decodeframe.c: scope_hint: In function ‘av1_decode_frame_headers_and_setup’
aom-3.9.0-build/aom-3.9.0/av1/decoder/decodeframe.c:5229:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 5227|       *cm->fc = *cm->default_frame_context;
# 5228|     } else {
# 5229|->     *cm->fc = get_primary_ref_frame_buf(cm)->frame_context;
# 5230|     }
# 5231|     if (!cm->fc->initialized)

Error: COMPILER_WARNING (CWE-457): [#def128]
aom-3.9.0-build/aom-3.9.0/av1/decoder/decodemv.c: scope_hint: In function ‘read_inter_block_mode_info’
aom-3.9.0-build/aom-3.9.0/av1/decoder/decodemv.c:1352:10: warning[-Wmaybe-uninitialized]: ‘nearestmv’ may be used uninitialized
# 1352 |   int_mv ref_mv[2] = { nearestmv[0], nearestmv[1] };
#      |          ^
aom-3.9.0-build/aom-3.9.0/av1/decoder/decodemv.c:1280:10: note: ‘nearestmv’ declared here
# 1280 |   int_mv nearestmv[2], nearmv[2];
#      |          ^
# 1350|     }
# 1351|   
# 1352|->   int_mv ref_mv[2] = { nearestmv[0], nearestmv[1] };
# 1353|   
# 1354|     if (is_compound) {

Error: CPPCHECK_WARNING: [#def129]
aom-3.9.0-build/aom-3.9.0/av1/decoder/grain_synthesis.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING: [#def130]
aom-3.9.0-build/aom-3.9.0/av1/encoder/av1_quantize.c: scope_hint: In function ‘av1_set_qmatrix’
aom-3.9.0-build/aom-3.9.0/av1/encoder/av1_quantize.c:759:5: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
aom-3.9.0-build/aom-3.9.0/aom_dsp/odintrin.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/entcode.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/prob.h:21: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/seg_common.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/quant_common.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/blockd.h:22: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/redhat-linux-build/config/aom_dsp_rtcd.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/av1_quantize.c:14: included_from: Included from here.
/usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers
#  757|     for (int i = 0; i < MAX_MB_PLANE; ++i) {
#  758|       const int qmlevel = qmlevel_ls[i];
#  759|->     memcpy(&xd->plane[i].seg_qmatrix[segment_id],
#  760|              quant_params->gqmatrix[qmlevel][i],
#  761|              sizeof(quant_params->gqmatrix[qmlevel][i]));

Error: GCC_ANALYZER_WARNING: [#def131]
aom-3.9.0-build/aom-3.9.0/av1/encoder/av1_quantize.c:762:5: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
/usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers
#  760|              quant_params->gqmatrix[qmlevel][i],
#  761|              sizeof(quant_params->gqmatrix[qmlevel][i]));
#  762|->     memcpy(&xd->plane[i].seg_iqmatrix[segment_id],
#  763|              quant_params->giqmatrix[qmlevel][i],
#  764|              sizeof(quant_params->giqmatrix[qmlevel][i]));

Error: CLANG_WARNING: [#def132]
aom-3.9.0-build/aom-3.9.0/av1/encoder/bitstream.c:4000:5: warning[deadcode.DeadStores]: Value stored to 'res' is never read
# 3998|     if (new_payload_size != payload_size) {
# 3999|       size_t new_length_field_size;
# 4000|->     res = aom_uleb_encode(new_payload_size, length_field_size,
# 4001|                             dst + obu_header_size, &new_length_field_size);
# 4002|       assert(res == 0);

Error: CLANG_WARNING: [#def133]
aom-3.9.0-build/aom-3.9.0/av1/encoder/cost.c:13: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/cost.h:41:36: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value due to array index out of bounds
#   39|     const int prob = get_prob(p15 << shift, CDF_PROB_TOP);
#   40|     assert(prob >= 128);
#   41|->   return av1_prob_cost[prob - 128] + av1_cost_literal(shift);
#   42|   }
#   43|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def134]
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe.c: scope_hint: In function ‘get_skip_mode_ref_offsets’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe.c:1576:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 1574|     assert(buf_0 != NULL && buf_1 != NULL);
# 1575|   
# 1576|->   ref_order_hint[0] = buf_0->order_hint;
# 1577|     ref_order_hint[1] = buf_1->order_hint;
# 1578|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def135]
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe.c:1577:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
aom-3.9.0-build/aom-3.9.0/av1/common/cfl.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe.c:31: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe.c: scope_hint: In function ‘get_skip_mode_ref_offsets’
# 1575|   
# 1576|     ref_order_hint[0] = buf_0->order_hint;
# 1577|->   ref_order_hint[1] = buf_1->order_hint;
# 1578|   }
# 1579|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def136]
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe.c:53: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe_utils.h: scope_hint: In function ‘get_num_refs_to_disable’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe_utils.h:530:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe_utils.h: scope_hint: In function ‘get_num_refs_to_disable’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encodeframe_utils.h: scope_hint: In function ‘get_num_refs_to_disable’
#  528|           const FIRSTPASS_STATS *const this_frame_stats =
#  529|               read_one_frame_stats(&cpi->ppi->twopass, cur_frame_display_index);
#  530|->         const double coded_error_per_mb = this_frame_stats->coded_error;
#  531|           // Disable LAST2_FRAME if the coded error of the current frame based on
#  532|           // first pass stats is very low.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder_utils.c: scope_hint: In function ‘av1_scale_references’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder_utils.c:801:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder_utils.c:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/bitstream.h:19: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder_utils.c:14: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder.h: scope_hint: In function ‘av1_scale_references’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder_utils.c: scope_hint: In function ‘av1_scale_references’
#  799|           buf->buf.y_crop_height = ref->y_crop_height;
#  800|           cpi->scaled_ref_buf[ref_frame - 1] = buf;
#  801|->         ++buf->ref_count;
#  802|         }
#  803|       } else {

Error: CLANG_WARNING: [#def138]
aom-3.9.0-build/aom-3.9.0/av1/encoder/interp_search.c:353:25: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  351|     if (pred_filt_type == INTERP_HORZ_EQ_VERT_NEQ) {
#  352|       // pred_filter_search = 1: Only horizontal filter is matching
#  353|->     allowed_interp_mask =
#  354|           av1_interp_dual_filt_mask[pred_filt_type - 1][af->as_filters.x_filter];
#  355|     } else if (pred_filt_type == INTERP_HORZ_NEQ_VERT_EQ) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def139]
aom-3.9.0-build/aom-3.9.0/av1/encoder/motion_search_facade.c: scope_hint: In function ‘av1_joint_motion_search’
aom-3.9.0-build/aom-3.9.0/av1/encoder/motion_search_facade.c:617:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.fwd_offset’
aom-3.9.0-build/aom-3.9.0/av1/common/scale.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/blockd.h:26: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_txfm.h:22: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/redhat-linux-build/config/av1_rtcd.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_common_int.h:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/reconinter.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/motion_search_facade.c:12: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/motion_search_facade.c: scope_hint: In function ‘av1_joint_motion_search’
aom-3.9.0-build/aom-3.9.0/av1/common/reconinter.h: scope_hint: In function ‘av1_joint_motion_search’
aom-3.9.0-build/aom-3.9.0/av1/encoder/motion_search_facade.c: scope_hint: In function ‘av1_joint_motion_search’
#  615|                             mi_col * MI_SIZE, 0, 0, xd->bd, is_cur_buf_hbd(xd), 0,
#  616|                             &cm->sf_identity, &ref_yv12[!id], interp_filters);
#  617|->     inter_pred_params.conv_params = get_conv_params(0, 0, xd->bd);
#  618|   
#  619|       // Since we have scaled the reference frames to match the size of the

Error: GCC_ANALYZER_WARNING (CWE-457): [#def140]
aom-3.9.0-build/aom-3.9.0/av1/encoder/motion_search_facade.c: scope_hint: In function ‘build_second_inter_pred’
aom-3.9.0-build/aom-3.9.0/av1/encoder/motion_search_facade.c:876:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.fwd_offset’
#  874|                           is_cur_buf_hbd(xd), 0, &sf, &ref_yv12,
#  875|                           mbmi->interp_filters);
#  876|->   inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd);
#  877|   
#  878|     // Get the prediction block from the 'other' reference frame.

Error: CLANG_WARNING: [#def141]
aom-3.9.0-build/aom-3.9.0/av1/encoder/mv_prec.c:275:39: warning[core.UndefinedBinaryOperatorResult]: The left operand of '/' is a garbage value due to array index out of bounds
#  273|     const BLOCK_SIZE subsize = get_partition_subsize(bsize, partition);
#  274|   
#  275|->   const int hbs = mi_size_wide[bsize] / 2;
#  276|     const int qbs = mi_size_wide[bsize] / 4;
#  277|     switch (partition) {

Error: CLANG_WARNING: [#def142]
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_opt.c:441:28: warning[core.NullDereference]: Access to field 'scan' results in a dereference of a null pointer (loaded from variable 'scan_order')
#  439|         av1_quantize_lp(low_coeff, tx_wd * tx_wd, p->round_fp_QTX,
#  440|                         p->quant_fp_QTX, low_qcoeff, low_dqcoeff, p->dequant_QTX,
#  441|->                       eob, scan_order->scan, scan_order->iscan);
#  442|         assert(*eob <= 1024);
#  443|         update_yrd_loop_vars(x, &temp_skippable, step, *eob, low_coeff,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def143]
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c: scope_hint: In function ‘is_same_gf_and_last_scale’
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c:1676:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c: scope_hint: In function ‘is_same_gf_and_last_scale’
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c: scope_hint: In function ‘is_same_gf_and_last_scale’
# 1674|     struct scale_factors *const sf_golden =
# 1675|         get_ref_scale_factors(cm, GOLDEN_FRAME);
# 1676|->   return ((sf_last->x_scale_fp == sf_golden->x_scale_fp) &&
# 1677|             (sf_last->y_scale_fp == sf_golden->y_scale_fp));
# 1678|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def144]
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c:1676:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c: scope_hint: In function ‘is_same_gf_and_last_scale’
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c: scope_hint: In function ‘is_same_gf_and_last_scale’
# 1674|     struct scale_factors *const sf_golden =
# 1675|         get_ref_scale_factors(cm, GOLDEN_FRAME);
# 1676|->   return ((sf_last->x_scale_fp == sf_golden->x_scale_fp) &&
# 1677|             (sf_last->y_scale_fp == sf_golden->y_scale_fp));
# 1678|   }

Error: CLANG_WARNING: [#def145]
aom-3.9.0-build/aom-3.9.0/av1/encoder/partition_strategy.c:654:3: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  652|   
#  653|     // Get model parameters
#  654|->   const NN_CONFIG *nn_config =
#  655|         av1_simple_motion_search_prune_rect_nn_config[bsize_idx];
#  656|     const float *ml_mean = av1_simple_motion_search_prune_rect_mean[bsize_idx],

Error: CLANG_WARNING: [#def146]
aom-3.9.0-build/aom-3.9.0/av1/encoder/pickcdef.c:68:21: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#   66|         assert(pri_idx < REDUCED_PRI_STRENGTHS_LVL4);
#   67|         assert(sec_idx < REDUCED_SEC_STRENGTHS_LVL5);
#   68|->       *pri_strength = priconv_lvl5[pri_idx];
#   69|         *sec_strength = secconv_lvl5[sec_idx];
#   70|         break;

Error: CLANG_WARNING: [#def147]
aom-3.9.0-build/aom-3.9.0/av1/encoder/pickrst.c:983:35: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
#  981|       assert(idx == wiener_win2);
#  982|       for (k = 0; k < wiener_win2; ++k) {
#  983|->       M_int32[k] += (int32_t)Y[k] * X;
#  984|         for (l = k; l < wiener_win2; ++l) {
#  985|           // H is a symmetric matrix, so we only need to fill out the upper

Error: CLANG_WARNING: [#def148]
aom-3.9.0-build/aom-3.9.0/av1/encoder/pickrst.c:988:55: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value
#  986|           // triangle here. We can copy it down to the lower triangle outside
#  987|           // the (i, j) loops.
#  988|->         H_int32[k * wiener_win2 + l] += (int32_t)Y[k] * Y[l];
#  989|         }
#  990|       }

Error: CLANG_WARNING: [#def149]
aom-3.9.0-build/aom-3.9.0/av1/encoder/pickrst.c:1080:31: warning[core.UndefinedBinaryOperatorResult]: The left operand of '*' is a garbage value
# 1078|         assert(idx == wiener_win2);
# 1079|         for (k = 0; k < wiener_win2; ++k) {
# 1080|->         M[k] += (int64_t)Y[k] * X;
# 1081|           for (l = k; l < wiener_win2; ++l) {
# 1082|             // H is a symmetric matrix, so we only need to fill out the upper

Error: CLANG_WARNING: [#def150]
aom-3.9.0-build/aom-3.9.0/av1/encoder/pickrst.c:1085:51: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value
# 1083|             // triangle here. We can copy it down to the lower triangle outside
# 1084|             // the (i, j) loops.
# 1085|->           H[k * wiener_win2 + l] += (int64_t)Y[k] * Y[l];
# 1086|           }
# 1087|         }

Error: CLANG_WARNING: [#def151]
aom-3.9.0-build/aom-3.9.0/av1/encoder/ratectrl.c:1242:29: warning[core.NullDereference]: Array access (from variable 'rtc_minq') results in a null pointer dereference
# 1240|           (current_frame->frame_number > 1) ? INTER_FRAME : KEY_FRAME;
# 1241|       if (p_rc->avg_frame_qindex[frame_type] < active_worst_quality)
# 1242|->       active_best_quality = rtc_minq[p_rc->avg_frame_qindex[frame_type]];
# 1243|       else
# 1244|         active_best_quality = rtc_minq[active_worst_quality];

Error: CLANG_WARNING: [#def152]
aom-3.9.0-build/aom-3.9.0/av1/encoder/ratectrl.c:1244:29: warning[core.NullDereference]: Array access (from variable 'rtc_minq') results in a null pointer dereference
# 1242|         active_best_quality = rtc_minq[p_rc->avg_frame_qindex[frame_type]];
# 1243|       else
# 1244|->       active_best_quality = rtc_minq[active_worst_quality];
# 1245|     }
# 1246|     return active_best_quality;

Error: GCC_ANALYZER_WARNING (CWE-126): [#def153]
aom-3.9.0-build/aom-3.9.0/av1/encoder/rdopt_utils.h:245:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
aom-3.9.0-build/aom-3.9.0/av1/encoder/interp_search.c: scope_hint: In function ‘swap_dst_buf’
aom-3.9.0-build/aom-3.9.0/av1/encoder/interp_search.c: scope_hint: In function ‘swap_dst_buf’
aom-3.9.0-build/aom-3.9.0/av1/encoder/mcomp.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/speed_features.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/context_tree.h:19: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder.h:39: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/interp_search.h:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/rdopt_utils.h:245:37: note: read of 8 bytes from after the end of ‘dst’
#                                           └───────────────────────────────────┘
#                                                             ^
#  243|                                          const int num_planes) {
#  244|     for (int i = 0; i < num_planes; i++) {
#  245|->     xd->plane[i].dst.buf = dst.plane[i];
#  246|       xd->plane[i].dst.stride = dst.stride[i];
#  247|     }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def154]
aom-3.9.0-build/aom-3.9.0/av1/encoder/rdopt_utils.h:246:41: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
aom-3.9.0-build/aom-3.9.0/av1/encoder/interp_search.c: scope_hint: In function ‘swap_dst_buf’
aom-3.9.0-build/aom-3.9.0/av1/encoder/interp_search.c: scope_hint: In function ‘swap_dst_buf’
aom-3.9.0-build/aom-3.9.0/av1/encoder/rdopt_utils.h:246:41: note: read of 4 bytes from after the end of ‘dst’
#                                           └─────────────────────────────┘
#                                                          ^
#  244|     for (int i = 0; i < num_planes; i++) {
#  245|       xd->plane[i].dst.buf = dst.plane[i];
#  246|->     xd->plane[i].dst.stride = dst.stride[i];
#  247|     }
#  248|   }

Error: GCC_ANALYZER_WARNING: [#def155]
aom-3.9.0-build/aom-3.9.0/av1/encoder/rdopt_utils.h:771:3: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c: scope_hint: In function ‘setup_compound_prediction’
aom-3.9.0-build/aom-3.9.0/aom_dsp/odintrin.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/redhat-linux-build/config/av1_rtcd.h:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_common_int.h:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/reconinter.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/nonrd_pickmode.c:18: included_from: Included from here.
/usr/include/string.h: scope_hint: In function ‘setup_compound_prediction’
/usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers
#  769|     memcpy(mbmi_ext->weight[ref_frame], xd->weight[ref_frame],
#  770|            USABLE_REF_MV_STACK_SIZE * sizeof(xd->weight[0][0]));
#  771|->   memcpy(mbmi_ext->ref_mv_stack[ref_frame], xd->ref_mv_stack[ref_frame],
#  772|            USABLE_REF_MV_STACK_SIZE * sizeof(xd->ref_mv_stack[0][0]));
#  773|   }

Error: GCC_ANALYZER_WARNING (CWE-126): [#def156]
aom-3.9.0-build/aom-3.9.0/av1/encoder/reconinter_enc.c: scope_hint: In function ‘setup_address_for_obmc’
aom-3.9.0-build/aom-3.9.0/av1/encoder/reconinter_enc.c:147:5: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
aom-3.9.0-build/aom-3.9.0/av1/encoder/reconinter_enc.c:26: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/obmc.h: scope_hint: In function ‘setup_address_for_obmc’
aom-3.9.0-build/aom-3.9.0/av1/encoder/reconinter_enc.c:27: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/reconinter_enc.c:147:5: note: read of 4 bytes from after the end of ‘dst_stride1’
aom-3.9.0-build/aom-3.9.0/av1/encoder/reconinter_enc.c:147:5: note: valid subscripts for ‘dst_stride1’ are ‘[0]’ to ‘[2]’
#                                                 └───────────────────────┘
#                                                             ^
#  145|     for (int plane = 0; plane < num_planes; ++plane) {
#  146|       struct macroblockd_plane *const pd = &xd->plane[plane];
#  147|->     setup_pred_plane(&pd->dst, ref_bsize, ctxt->tmp_buf[plane],
#  148|                        ctxt->tmp_width[plane], ctxt->tmp_height[plane],
#  149|                        ctxt->tmp_stride[plane], mi_row_offset, mi_col_offset,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def157]
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.c: scope_hint: In function ‘tf_build_predictor’
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.c:443:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.fwd_offset’
aom-3.9.0-build/aom-3.9.0/av1/encoder/encoder.h:52: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.c:32: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.c: scope_hint: In function ‘tf_build_predictor’
aom-3.9.0-build/aom-3.9.0/av1/common/scale.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/blockd.h:26: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_txfm.h:22: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/redhat-linux-build/config/av1_rtcd.h:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_common_int.h:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.c:27: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.c:29: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/reconinter.h: scope_hint: In function ‘tf_build_predictor’
aom-3.9.0-build/aom-3.9.0/av1/common/reconinter.h: scope_hint: In function ‘tf_build_predictor’
#  441|                                 subsampling_y, bit_depth, is_high_bitdepth,
#  442|                                 is_intrabc, scale, &ref_buf, interp_filters);
#  443|->         inter_pred_params.conv_params = get_conv_params(0, plane, bit_depth);
#  444|           av1_enc_build_one_inter_predictor(&pred[plane_offset + i * plane_w + j],
#  445|                                             plane_w, &mv, &inter_pred_params);

Error: GCC_ANALYZER_WARNING (CWE-126): [#def158]
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.h:450:44: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
aom-3.9.0-build/aom-3.9.0/av1/encoder/ethread.c: scope_hint: In function ‘tf_worker_hook’
aom-3.9.0-build/aom-3.9.0/aom/internal/aom_codec_internal.h:368: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/av1_loopfilter.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/thread_common.h:17: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/ethread.c:18: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/ethread.c: scope_hint: In function ‘tf_worker_hook’
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.h:450:44: note: read of 8 bytes from after the end of ‘input_buffer’
aom-3.9.0-build/aom-3.9.0/av1/encoder/temporal_filter.h:450:44: note: valid subscripts for ‘input_buffer’ are ‘[0]’ to ‘[2]’
#                                           └─────────────────────────────┘
#                                                          ^
#  448|                                       uint8_t **input_buffer, int num_planes) {
#  449|     for (int i = 0; i < num_planes; i++) {
#  450|->     mbd->plane[i].pre[0].buf = input_buffer[i];
#  451|     }
#  452|     mbd->mi = input_mbmi;

Error: CLANG_WARNING: [#def159]
aom-3.9.0-build/aom-3.9.0/av1/encoder/tokenize.c:272:17: warning[core.NullDereference]: Array access (via field 'color_map') results in a null pointer dereference
#  270|     get_color_map_params(x, plane, bsize, tx_size, type, &color_map_params);
#  271|     // The first color index does not use context or entropy.
#  272|->   (*t)->token = color_map_params.color_map[0];
#  273|     (*t)->color_ctx = -1;
#  274|     ++(*t);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def160]
aom-3.9.0-build/aom-3.9.0/av1/encoder/tpl_model.c: scope_hint: In function ‘av1_compute_mv_difference’
aom-3.9.0-build/aom-3.9.0/av1/encoder/tpl_model.c:2466:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘up_mv_diff.as_mv.row’
# 2464|     // Return the MV with the minimum distance from current.
# 2465|     if (up_error < left_error && up_error < current_mv_magnitude) {
# 2466|->     return up_mv_diff;
# 2467|     } else if (left_error < up_error && left_error < current_mv_magnitude) {
# 2468|       return left_mv_diff;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def161]
aom-3.9.0-build/aom-3.9.0/av1/encoder/tpl_model.c:2468:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘left_mv_diff.as_mv.row’
# 2466|       return up_mv_diff;
# 2467|     } else if (left_error < up_error && left_error < current_mv_magnitude) {
# 2468|->     return left_mv_diff;
# 2469|     }
# 2470|     return current_mv;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
aom-3.9.0-build/aom-3.9.0/av1/encoder/tune_vmaf.c: scope_hint: In function ‘motion_search’
aom-3.9.0-build/aom-3.9.0/av1/encoder/tune_vmaf.c:66:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ref_mv’
aom-3.9.0-build/aom-3.9.0/av1/common/common.h:20: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/entropy.h:20: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/quant_common.h:19: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/blockd.h:22: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_mem/aom_mem.h:69:13: note: in definition of macro ‘AOM_CHECK_MEM_ERROR’
aom-3.9.0-build/aom-3.9.0/av1/encoder/tune_vmaf.c:158:5: note: in expansion of macro ‘CHECK_MEM_ERROR’
aom-3.9.0-build/aom-3.9.0/av1/common/common.h:51:3: note: in expansion of macro ‘AOM_CHECK_MEM_ERROR’
aom-3.9.0-build/aom-3.9.0/av1/encoder/tune_vmaf.c:158:5: note: in expansion of macro ‘CHECK_MEM_ERROR’
aom-3.9.0-build/aom-3.9.0/av1/common/common.h:51:3: note: in expansion of macro ‘AOM_CHECK_MEM_ERROR’
aom-3.9.0-build/aom-3.9.0/av1/encoder/tune_vmaf.c:158:5: note: in expansion of macro ‘CHECK_MEM_ERROR’
#   64|     // Do motion search.
#   65|     // Only do full search on the entire block.
#   66|->   av1_make_default_fullpel_ms_params(&full_ms_params, cpi, mb, block_size,
#   67|                                        &baseline_mv, *ref_mv, search_site_cfg,
#   68|                                        search_method,

Error: COMPILER_WARNING: [#def163]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_highbd_quantize_avx2.c: scope_hint: In function ‘av1_highbd_quantize_fp_avx2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_highbd_quantize_avx2.c:103:9: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  101|   
#  102|     init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, qp);
#  103|->   coeff = _mm256_loadu_si256((const __m256i *)coeff_ptr);
#  104|   
#  105|     __m256i eob = _mm256_setzero_si256();

Error: COMPILER_WARNING: [#def164]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_k_means_avx2.c: scope_hint: In function ‘av1_calc_indices_dim1_avx2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_k_means_avx2.c:29:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_k_means_avx2.c: scope_hint: In function ‘k_means_horizontal_sum_avx2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_k_means_avx2.c:16:16: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   27|                                   uint8_t *indices, int64_t *total_dist, int n,
#   28|                                   int k) {
#   29|->   const __m256i v_zero = _mm256_setzero_si256();
#   30|     __m256i sum = _mm256_setzero_si256();
#   31|     __m256i cents[PALETTE_MAX_SIZE];

Error: COMPILER_WARNING: [#def165]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_quantize_avx2.c: scope_hint: In function ‘load_coefficients_avx2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_quantize_avx2.c:64:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_quantize_avx2.c: scope_hint: In function ‘accumulate_eob256’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/av1_quantize_avx2.c:88:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   62|   }
#   63|   
#   64|-> static INLINE __m256i load_coefficients_avx2(const tran_low_t *coeff_ptr) {
#   65|     const __m256i coeff1 = _mm256_load_si256((__m256i *)coeff_ptr);
#   66|     const __m256i coeff2 = _mm256_load_si256((__m256i *)(coeff_ptr + 8));

Error: COMPILER_WARNING: [#def166]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/cnn_avx2.c: scope_hint: In function ‘cnn_convolve_no_maxpool_padding_valid_layer1_avx2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/cnn_avx2.c:378:12: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/cnn_avx2.c: scope_hint: In function ‘perform_convolve_for_8h_2x2_blocks’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/cnn_avx2.c:185:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  376|     const int kSkipHeight = 2;
#  377|     for (int i = start_idx; i < layer_config->out_channels; i += channel_step) {
#  378|->     __m256 bias_reg = _mm256_set1_ps(layer_config->bias[i]);
#  379|       // out_accum registers are used to store the 2x2 convolve outputs
#  380|       // (calculated over input block size), which are accumulated across the

Error: COMPILER_WARNING: [#def167]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/error_intrin_avx2.c: scope_hint: In function ‘av1_block_error_lp_avx2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/error_intrin_avx2.c:131:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#  129|                                   intptr_t num_coeff) {
#  130|     assert(num_coeff % 16 == 0);
#  131|->   __m256i sse_256 = _mm256_setzero_si256();
#  132|     int64_t sse;
#  133|   

Error: COMPILER_WARNING: [#def168]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_block_error_intrin_avx2.c: scope_hint: In function ‘av1_highbd_block_error_avx2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_block_error_intrin_avx2.c:29:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   27|   
#   28|     for (i = 0; i < block_size; i += 16) {
#   29|->     __m256i mm256_coeff = _mm256_loadu_si256((__m256i *)(coeff + i));
#   30|       __m256i mm256_coeff2 = _mm256_loadu_si256((__m256i *)(coeff + i + 8));
#   31|       __m256i mm256_dqcoeff = _mm256_loadu_si256((__m256i *)(dqcoeff + i));

Error: COMPILER_WARNING: [#def169]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_avx2.c: scope_hint: In function ‘highbd_apply_temporal_filter’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:182:13: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_avx2.c: scope_hint: In function ‘xx_mask_and_hadd’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_avx2.c:125:33: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  180|   
#  181|     for (int row = 0; row < block_height - 3; row++) {
#  182|->     __m256i vsum1 = _mm256_add_epi32(vsrc[0], vsrc[1]);
#  183|       __m256i vsum2 = _mm256_add_epi32(vsrc[2], vsrc[3]);
#  184|       __m256i vsum3 = _mm256_add_epi32(vsum1, vsum2);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def170]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_sse2.c: scope_hint: In function ‘highbd_apply_temporal_filter’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_sse2.c:130:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vsrc[3][0]’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_sse2.c: scope_hint: In function ‘highbd_apply_temporal_filter’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_sse2.c: scope_hint: In function ‘highbd_apply_temporal_filter’
#  128|       for (int row = 0; row < block_height - 3; row++) {
#  129|         __m128i vsum11 = _mm_add_epi32(vsrc[0][0], vsrc[1][0]);
#  130|->       __m128i vsum12 = _mm_add_epi32(vsrc[2][0], vsrc[3][0]);
#  131|         __m128i vsum13 = _mm_add_epi32(vsum11, vsum12);
#  132|         __m128i vsum1 = _mm_add_epi32(vsum13, vsrc[4][0]);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def171]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_sse2.c:159:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘vsrc[3][0]’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_sse2.c: scope_hint: In function ‘highbd_apply_temporal_filter’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/highbd_temporal_filter_sse2.c: scope_hint: In function ‘highbd_apply_temporal_filter’
#  157|       for (int row = block_height - 3; row < block_height; row++) {
#  158|         __m128i vsum11 = _mm_add_epi32(vsrc[0][0], vsrc[1][0]);
#  159|->       __m128i vsum12 = _mm_add_epi32(vsrc[2][0], vsrc[3][0]);
#  160|         __m128i vsum13 = _mm_add_epi32(vsum11, vsum12);
#  161|         __m128i vsum1 = _mm_add_epi32(vsum13, vsrc[4][0]);

Error: COMPILER_WARNING: [#def172]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/ml_avx2.c: scope_hint: In function ‘nn_propagate_8to8’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/ml_avx2.c:92:12: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
#   90|     __m256 hadd[4];
#   91|     for (int out = 0; out < num_outputs; out += 8) {
#   92|->     __m256 bias_reg = _mm256_loadu_ps(&bias[out]);
#   93|       __m256 in_result = _mm256_setzero_ps();
#   94|       for (int in = 0; in < num_inputs_to_process; in += 8) {

Error: GCC_ANALYZER_WARNING (CWE-457): [#def173]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c: scope_hint: In function ‘aom_upsampled_pred_sse2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c:57:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.fwd_offset’
aom-3.9.0-build/aom-3.9.0/av1/common/scale.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/blockd.h:26: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c: scope_hint: In function ‘aom_upsampled_pred_sse2’
#   55|   
#   56|         InterPredParams inter_pred_params;
#   57|->       inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd);
#   58|         const int_interpfilters filters =
#   59|             av1_broadcast_interp_filter(EIGHTTAP_REGULAR);

Error: GCC_ANALYZER_WARNING (CWE-457): [#def174]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c: scope_hint: In function ‘aom_highbd_upsampled_pred_sse2’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c:192:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.fwd_offset’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/reconinter_enc_sse2.c: scope_hint: In function ‘aom_highbd_upsampled_pred_sse2’
#  190|   
#  191|         InterPredParams inter_pred_params;
#  192|->       inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd);
#  193|         const int_interpfilters filters =
#  194|             av1_broadcast_interp_filter(EIGHTTAP_REGULAR);

Error: COMPILER_WARNING: [#def175]
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/temporal_filter_avx2.c: scope_hint: In function ‘xx_load_and_pad’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/temporal_filter_avx2.c:296:49: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/temporal_filter_avx2.c: scope_hint: In function ‘xx_mask_and_hadd’
aom-3.9.0-build/aom-3.9.0/av1/encoder/x86/temporal_filter_avx2.c:309:33: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#  294|   
#  295|   static AOM_FORCE_INLINE __m256i xx_load_and_pad(uint16_t *src, int col,
#  296|->                                                 int block_width) {
#  297|     __m128i v128tmp = _mm_loadu_si128((__m128i *)(src));
#  298|     if (col == 0) {

Error: CPPCHECK_WARNING: [#def176]
aom-3.9.0-build/aom-3.9.0/common/args.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
aom-3.9.0-build/aom-3.9.0/common/args.c:32:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file, "r")’
aom-3.9.0-build/aom-3.9.0/common/args.c: scope_hint: In function ‘parse_cfg’
#   30|   
#   31|   static char *ignore_front_spaces(const char *str) {
#   32|->   while (str[0] == ' ' || str[0] == '\t') ++str;
#   33|     return (char *)str;
#   34|   }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
aom-3.9.0-build/aom-3.9.0/common/args.c:32:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file, "r")’
aom-3.9.0-build/aom-3.9.0/common/args.c: scope_hint: In function ‘parse_cfg’
#   30|   
#   31|   static char *ignore_front_spaces(const char *str) {
#   32|->   while (str[0] == ' ' || str[0] == '\t') ++str;
#   33|     return (char *)str;
#   34|   }

Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
aom-3.9.0-build/aom-3.9.0/common/args.c: scope_hint: In function ‘parse_cfg’
aom-3.9.0-build/aom-3.9.0/common/args.c:113:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(file, "r")’
#  111|     }
#  112|   
#  113|->   if (config->super_block_size != 128 && config->super_block_size != 64) {
#  114|       fprintf(stderr, "\n%s", kSbSizeWarningString);
#  115|       exit(-1);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
aom-3.9.0-build/aom-3.9.0/common/args.c:113:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(file, "r")’
#  111|     }
#  112|   
#  113|->   if (config->super_block_size != 128 && config->super_block_size != 64) {
#  114|       fprintf(stderr, "\n%s", kSbSizeWarningString);
#  115|       exit(-1);

Error: CPPCHECK_WARNING: [#def181]
aom-3.9.0-build/aom-3.9.0/common/args_helper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def182]
aom-3.9.0-build/aom-3.9.0/common/av1_config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-562): [#def183]
aom-3.9.0-build/aom-3.9.0/common/av1_config.c:83: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#   81|   static int parse_timing_info(struct aom_read_bit_buffer *reader) {
#   82|     int result = 0;
#   83|->   AV1C_PUSH_ERROR_HANDLER_DATA(result);
#   84|   
#   85|     AV1C_READ_BITS_OR_RETURN_ERROR(num_units_in_display_tick, 32);

Error: CPPCHECK_WARNING (CWE-562): [#def184]
aom-3.9.0-build/aom-3.9.0/common/av1_config.c:115: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  113|   static int parse_decoder_model_info(struct aom_read_bit_buffer *reader) {
#  114|     int result = 0;
#  115|->   AV1C_PUSH_ERROR_HANDLER_DATA(result);
#  116|   
#  117|     AV1C_READ_BITS_OR_RETURN_ERROR(buffer_delay_length_minus_1, 5);

Error: CPPCHECK_WARNING (CWE-562): [#def185]
aom-3.9.0-build/aom-3.9.0/common/av1_config.c:136: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  134|                                              int buffer_delay_length_minus_1) {
#  135|     int result = 0;
#  136|->   AV1C_PUSH_ERROR_HANDLER_DATA(result);
#  137|   
#  138|     const int buffer_delay_length = buffer_delay_length_minus_1 + 1;

Error: CPPCHECK_WARNING (CWE-562): [#def186]
aom-3.9.0-build/aom-3.9.0/common/av1_config.c:152: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  150|                                 Av1Config *config) {
#  151|     int result = 0;
#  152|->   AV1C_PUSH_ERROR_HANDLER_DATA(result);
#  153|   
#  154|     AV1C_READ_BIT_OR_RETURN_ERROR(high_bitdepth);

Error: CPPCHECK_WARNING: [#def187]
aom-3.9.0-build/aom-3.9.0/common/obudec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def188]
aom-3.9.0-build/aom-3.9.0/common/video_reader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def189]
aom-3.9.0-build/aom-3.9.0/common/webmdec.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def190]
aom-3.9.0-build/aom-3.9.0/common/webmenc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def191]
aom-3.9.0-build/aom-3.9.0/common/y4minput.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def192]
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:55: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:7: note: in expansion of macro ‘aom_codec_enc_init’
#  297|       die("Failed to open %s for reading.", infile_arg);
#  298|   
#  299|->   if (aom_codec_enc_init(&ecodec, encoder, &cfg, flags))
#  300|       die("Failed to initialize encoder");
#  301|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:7: note: in expansion of macro ‘aom_codec_enc_init’
#  297|       die("Failed to open %s for reading.", infile_arg);
#  298|   
#  299|->   if (aom_codec_enc_init(&ecodec, encoder, &cfg, flags))
#  300|       die("Failed to initialize encoder");
#  301|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def195]
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:303:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:7: note: in expansion of macro ‘aom_codec_enc_init’
#  301|   
#  302|     // Disable alt_ref.
#  303|->   if (aom_codec_control(&ecodec, AOME_SET_ENABLEAUTOALTREF, 0))
#  304|       die_codec(&ecodec, "Failed to set enable auto alt ref");
#  305|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:303:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:7: note: in expansion of macro ‘aom_codec_enc_init’
#  301|   
#  302|     // Disable alt_ref.
#  303|->   if (aom_codec_control(&ecodec, AOME_SET_ENABLEAUTOALTREF, 0))
#  304|       die_codec(&ecodec, "Failed to set enable auto alt ref");
#  305|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def197]
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:308:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:7: note: in expansion of macro ‘aom_codec_enc_init’
#  306|     if (test_decode) {
#  307|       aom_codec_iface_t *decoder = get_aom_decoder_by_short_name(codec_arg);
#  308|->     if (aom_codec_dec_init(&dcodec, decoder, NULL, 0))
#  309|         die("Failed to initialize decoder.");
#  310|     }

Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:308:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/aom_cx_set_ref.c:299:7: note: in expansion of macro ‘aom_codec_enc_init’
#  306|     if (test_decode) {
#  307|       aom_codec_iface_t *decoder = get_aom_decoder_by_short_name(codec_arg);
#  308|->     if (aom_codec_dec_init(&dcodec, decoder, NULL, 0))
#  309|         die("Failed to initialize decoder.");
#  310|     }

Error: CPPCHECK_WARNING: [#def199]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def200]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:96:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#   94|   
#   95|     aom_codec_iface_t *decoder = get_aom_decoder_by_fourcc(info->codec_fourcc);
#   96|->   if (!decoder) die("Unknown input codec.");
#   97|   
#   98|     printf("Using %s\n", aom_codec_iface_name(decoder));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:96:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#   94|   
#   95|     aom_codec_iface_t *decoder = get_aom_decoder_by_fourcc(info->codec_fourcc);
#   96|->   if (!decoder) die("Unknown input codec.");
#   97|   
#   98|     printf("Using %s\n", aom_codec_iface_name(decoder));

Error: GCC_ANALYZER_WARNING (CWE-775): [#def202]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:101:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#   99|   
#  100|     aom_codec_ctx_t codec;
#  101|->   if (aom_codec_dec_init(&codec, decoder, NULL, 0))
#  102|       die("Failed to initialize decoder");
#  103|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:101:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#   99|   
#  100|     aom_codec_ctx_t codec;
#  101|->   if (aom_codec_dec_init(&codec, decoder, NULL, 0))
#  102|       die("Failed to initialize decoder");
#  103|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def204]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:110:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#  108|       const unsigned char *frame =
#  109|           aom_video_reader_get_frame(reader, &frame_size);
#  110|->     if (aom_codec_decode(&codec, frame, frame_size, NULL))
#  111|         die_codec(&codec, "Failed to decode frame");
#  112|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:110:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#  108|       const unsigned char *frame =
#  109|           aom_video_reader_get_frame(reader, &frame_size);
#  110|->     if (aom_codec_decode(&codec, frame, frame_size, NULL))
#  111|         die_codec(&codec, "Failed to decode frame");
#  112|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def206]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:124:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#  122|   
#  123|     printf("Processed %d frames.\n", frame_cnt);
#  124|->   if (aom_codec_destroy(&codec)) die_codec(&codec, "Failed to destroy codec.");
#  125|   
#  126|     aom_video_reader_close(reader);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
aom-3.9.0-build/aom-3.9.0/examples/decode_to_md5.c:124:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#  122|   
#  123|     printf("Processed %d frames.\n", frame_cnt);
#  124|->   if (aom_codec_destroy(&codec)) die_codec(&codec, "Failed to destroy codec.");
#  125|   
#  126|     aom_video_reader_close(reader);

Error: CPPCHECK_WARNING: [#def208]
aom-3.9.0-build/aom-3.9.0/examples/decode_with_drops.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def209]
aom-3.9.0-build/aom-3.9.0/examples/decode_with_drops.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/decode_with_drops.c:92:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#   90|       die("Failed to open %s for writing.", argv[2]);
#   91|   
#   92|->   n = (int)strtol(argv[3], &nptr, 0);
#   93|     m = (int)strtol(nptr + 1, NULL, 0);
#   94|     is_range = (*nptr == '-');

Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
aom-3.9.0-build/aom-3.9.0/examples/decode_with_drops.c:92:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#   90|       die("Failed to open %s for writing.", argv[2]);
#   91|   
#   92|->   n = (int)strtol(argv[3], &nptr, 0);
#   93|     m = (int)strtol(nptr + 1, NULL, 0);
#   94|     is_range = (*nptr == '-');

Error: CPPCHECK_WARNING: [#def211]
aom-3.9.0-build/aom-3.9.0/examples/encoder_util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def212]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def213]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:288:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*frame_sizes’
aom-3.9.0-build/aom-3.9.0/aom/aom_decoder.h:33: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:43: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:229:3: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:528:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
#  286|     // only once.
#  287|     {
#  288|->     size_t frame_size = frame_sizes[0];
#  289|       const unsigned char *frame = frames[0];
#  290|       pts = num_references;

Error: GCC_ANALYZER_WARNING (CWE-775): [#def214]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:364:46: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tile_list_file, "r")’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:229:3: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:528:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:302:5: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:531:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
#  362|     int num_tiles = 0;
#  363|     TILE_LIST_INFO tiles[MAX_TILES];
#  364|->   while ((fgets(line, 1024, tile_list_fptr)) != NULL) {
#  365|       if (line[0] == 'F' || num_tiles >= MAX_TILES) {
#  366|         // Flush existing tile list and start another, either because we hit a

Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:364:46: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tile_list_file, "r")’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:229:3: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:528:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:302:5: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:531:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
#  362|     int num_tiles = 0;
#  363|     TILE_LIST_INFO tiles[MAX_TILES];
#  364|->   while ((fgets(line, 1024, tile_list_fptr)) != NULL) {
#  365|       if (line[0] == 'F' || num_tiles >= MAX_TILES) {
#  366|         // Flush existing tile list and start another, either because we hit a

Error: GCC_ANALYZER_WARNING (CWE-775): [#def216]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:365:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(tile_list_file, "r")’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:229:3: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:528:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:302:5: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:531:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
#  363|     TILE_LIST_INFO tiles[MAX_TILES];
#  364|     while ((fgets(line, 1024, tile_list_fptr)) != NULL) {
#  365|->     if (line[0] == 'F' || num_tiles >= MAX_TILES) {
#  366|         // Flush existing tile list and start another, either because we hit a
#  367|         // new render frame or because we've hit our max number of tiles per list.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:365:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(tile_list_file, "r")’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:229:3: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:528:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c:302:5: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomdx.h:531:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_bitstream_parsing.c: scope_hint: In function ‘main’
#  363|     TILE_LIST_INFO tiles[MAX_TILES];
#  364|     while ((fgets(line, 1024, tile_list_fptr)) != NULL) {
#  365|->     if (line[0] == 'F' || num_tiles >= MAX_TILES) {
#  366|         // Flush existing tile list and start another, either because we hit a
#  367|         // new render frame or because we've hit our max number of tiles per list.

Error: CPPCHECK_WARNING: [#def218]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def219]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_decoder.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_decoder.c:187:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#  185|       die("Failed to open %s for writing.", argv[2]);
#  186|   
#  187|->   num_references = (int)strtol(argv[3], NULL, 0);
#  188|     tile_list_file = argv[4];
#  189|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_decoder.c:187:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#  185|       die("Failed to open %s for writing.", argv[2]);
#  186|   
#  187|->   num_references = (int)strtol(argv[3], NULL, 0);
#  188|     tile_list_file = argv[4];
#  189|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_encoder.c: scope_hint: In function ‘get_frame_stats’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_encoder.c:84:18: warning[-Wanalyzer-malloc-leak]: leak of ‘stats.buf’
#   82|         const uint8_t *const pkt_buf = pkt->data.twopass_stats.buf;
#   83|         const size_t pkt_size = pkt->data.twopass_stats.sz;
#   84|->       stats->buf = realloc(stats->buf, stats->sz + pkt_size);
#   85|         if (!stats->buf) die("Failed to allocate frame stats buffer.");
#   86|         memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size);

Error: CPPCHECK_WARNING: [#def222]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_tile_list_decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def223]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_tile_list_decoder.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lightfield_tile_list_decoder.c:127:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#  125|       die("Failed to open %s for writing.", argv[2]);
#  126|   
#  127|->   num_references = (int)strtol(argv[3], NULL, 0);
#  128|     num_tile_lists = (int)strtol(argv[4], NULL, 0);
#  129|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
aom-3.9.0-build/aom-3.9.0/examples/lightfield_tile_list_decoder.c:127:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#  125|       die("Failed to open %s for writing.", argv[2]);
#  126|   
#  127|->   num_references = (int)strtol(argv[3], NULL, 0);
#  128|     num_tile_lists = (int)strtol(argv[4], NULL, 0);
#  129|   

Error: CPPCHECK_WARNING: [#def225]
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:112:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:112:7: note: in expansion of macro ‘aom_codec_enc_init’
#  110|       die("Failed to open %s for reading.", argv[3]);
#  111|   
#  112|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  113|       die("Failed to initialize encoder");
#  114|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:112:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:112:7: note: in expansion of macro ‘aom_codec_enc_init’
#  110|       die("Failed to open %s for reading.", argv[3]);
#  111|   
#  112|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  113|       die("Failed to initialize encoder");
#  114|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:115:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:112:7: note: in expansion of macro ‘aom_codec_enc_init’
aom-3.9.0-build/aom-3.9.0/aom/aom_encoder.h:33: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:115:7: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomcx.h:1787:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c: scope_hint: In function ‘main’
#  113|       die("Failed to initialize encoder");
#  114|   
#  115|->   if (AOM_CODEC_CONTROL_TYPECHECKED(&codec, AV1E_SET_LOSSLESS, 1))
#  116|       die_codec(&codec, "Failed to use lossless mode");
#  117|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:115:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:112:7: note: in expansion of macro ‘aom_codec_enc_init’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c:115:7: note: in expansion of macro ‘AOM_CODEC_CONTROL_TYPECHECKED’
aom-3.9.0-build/aom-3.9.0/aom/aomcx.h:1787:1: note: in expansion of macro ‘AOM_CTRL_USE_TYPE’
aom-3.9.0-build/aom-3.9.0/examples/lossless_encoder.c: scope_hint: In function ‘main’
#  113|       die("Failed to initialize encoder");
#  114|   
#  115|->   if (AOM_CODEC_CONTROL_TYPECHECKED(&codec, AV1E_SET_LOSSLESS, 1))
#  116|       die_codec(&codec, "Failed to use lossless mode");
#  117|   

Error: CPPCHECK_WARNING: [#def230]
aom-3.9.0-build/aom-3.9.0/examples/scalable_decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-457): [#def231]
aom-3.9.0-build/aom-3.9.0/examples/scalable_decoder.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/scalable_decoder.c:179:50: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘outfile[i]’
#  177|     if (aom_codec_destroy(&codec)) die_codec(&codec, "Failed to destroy codec");
#  178|   
#  179|->   for (i = 0; i < si.number_spatial_layers; i++) fclose(outfile[i]);
#  180|   
#  181|     fclose(inputfile);

Error: CPPCHECK_WARNING: [#def232]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def233]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:204:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’
#  202|     if (!outfile) die("Failed to open %s for writing.", outfile_arg);
#  203|   
#  204|->   if (!(infile0 = fopen(infile0_arg, "rb")))
#  205|       die("Failed to open %s for reading.", infile0_arg);
#  206|     if (!(infile1 = fopen(infile1_arg, "rb")))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:204:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’
#  202|     if (!outfile) die("Failed to open %s for writing.", outfile_arg);
#  203|   
#  204|->   if (!(infile0 = fopen(infile0_arg, "rb")))
#  205|       die("Failed to open %s for reading.", infile0_arg);
#  206|     if (!(infile1 = fopen(infile1_arg, "rb")))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def235]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:206:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile0_arg, "rb")’
#  204|     if (!(infile0 = fopen(infile0_arg, "rb")))
#  205|       die("Failed to open %s for reading.", infile0_arg);
#  206|->   if (!(infile1 = fopen(infile1_arg, "rb")))
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def236]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:206:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’
#  204|     if (!(infile0 = fopen(infile0_arg, "rb")))
#  205|       die("Failed to open %s for reading.", infile0_arg);
#  206|->   if (!(infile1 = fopen(infile1_arg, "rb")))
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:206:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile0_arg, "rb")’
#  204|     if (!(infile0 = fopen(infile0_arg, "rb")))
#  205|       die("Failed to open %s for reading.", infile0_arg);
#  206|->   if (!(infile1 = fopen(infile1_arg, "rb")))
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:206:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’
#  204|     if (!(infile0 = fopen(infile0_arg, "rb")))
#  205|       die("Failed to open %s for reading.", infile0_arg);
#  206|->   if (!(infile1 = fopen(infile1_arg, "rb")))
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   
#  209|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|     if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   
#  209|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|     if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:76: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   
#  209|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|     if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   
#  209|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|     if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   
#  209|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|     if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  207|       die("Failed to open %s for reading.", infile0_arg);
#  208|   
#  209|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|     if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def245]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:211:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  209|     if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def246]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:211:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  209|     if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def247]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:211:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  209|     if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:211:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  209|     if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:211:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  209|     if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:211:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  209|     if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  210|       die("Failed to initialize encoder");
#  211|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, 8))
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:214:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   
#  214|->   if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|     if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:214:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   
#  214|->   if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|     if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def253]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:214:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   
#  214|->   if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|     if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:214:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   
#  214|->   if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|     if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:214:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   
#  214|->   if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|     if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))

Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:214:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  212|       die_codec(&codec, "Failed to set cpu to 8");
#  213|   
#  214|->   if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|     if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))

Error: GCC_ANALYZER_WARNING (CWE-775): [#def257]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:216:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  214|     if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|->   if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:216:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  214|     if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|->   if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:216:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  214|     if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|->   if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:216:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  214|     if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|->   if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:216:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  214|     if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|->   if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:216:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  214|     if (aom_codec_control(&codec, AV1E_SET_TILE_COLUMNS, 2))
#  215|       die_codec(&codec, "Failed to set tile columns to 2");
#  216|->   if (aom_codec_control(&codec, AV1E_SET_NUM_TG, 3))
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def263]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:219:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile0_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   
#  219|->   if (aom_codec_control(&codec, AOME_SET_NUMBER_SPATIAL_LAYERS, 2))
#  220|       die_codec(&codec, "Failed to set number of spatial layers to 2");
#  221|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:219:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile1_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   
#  219|->   if (aom_codec_control(&codec, AOME_SET_NUMBER_SPATIAL_LAYERS, 2))
#  220|       die_codec(&codec, "Failed to set number of spatial layers to 2");
#  221|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def265]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:219:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   
#  219|->   if (aom_codec_control(&codec, AOME_SET_NUMBER_SPATIAL_LAYERS, 2))
#  220|       die_codec(&codec, "Failed to set number of spatial layers to 2");
#  221|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:219:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’
aom-3.9.0-build/aom-3.9.0/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’
#  217|       die_codec(&codec, "Failed to set num of tile groups to 3");
#  218|   
#  219|->   if (aom_codec_control(&codec, AOME_SET_NUMBER_SPATIAL_LAYERS, 2))
#  220|       die_codec(&codec, "Failed to set number of spatial layers to 2");
#  221|   

Error: CPPCHECK_WARNING: [#def267]
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def268]
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:186:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:50: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:186:7: note: in expansion of macro ‘aom_codec_enc_init’
#  184|       die("Failed to open %s for reading.", argv[4]);
#  185|   
#  186|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  187|       die("Failed to initialize encoder");
#  188|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:186:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:186:7: note: in expansion of macro ‘aom_codec_enc_init’
#  184|       die("Failed to open %s for reading.", argv[4]);
#  185|   
#  186|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  187|       die("Failed to initialize encoder");
#  188|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def270]
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:189:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:186:7: note: in expansion of macro ‘aom_codec_enc_init’
#  187|       die("Failed to initialize encoder");
#  188|   
#  189|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, speed))
#  190|       die_codec(&codec, "Failed to set cpu-used");
#  191|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:189:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "rb")’
aom-3.9.0-build/aom-3.9.0/examples/set_maps.c:186:7: note: in expansion of macro ‘aom_codec_enc_init’
#  187|       die("Failed to initialize encoder");
#  188|   
#  189|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, speed))
#  190|       die_codec(&codec, "Failed to set cpu-used");
#  191|   

Error: CPPCHECK_WARNING: [#def272]
aom-3.9.0-build/aom-3.9.0/examples/simple_decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
aom-3.9.0-build/aom-3.9.0/examples/simple_decoder.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/simple_decoder.c:110:62: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
#  108|     info = aom_video_reader_get_info(reader);
#  109|   
#  110|->   aom_codec_iface_t *decoder = get_aom_decoder_by_fourcc(info->codec_fourcc);
#  111|     if (!decoder) die("Unknown input codec.");
#  112|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
aom-3.9.0-build/aom-3.9.0/examples/simple_decoder.c:110:62: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
#  108|     info = aom_video_reader_get_info(reader);
#  109|   
#  110|->   aom_codec_iface_t *decoder = get_aom_decoder_by_fourcc(info->codec_fourcc);
#  111|     if (!decoder) die("Unknown input codec.");
#  112|   

Error: CPPCHECK_WARNING: [#def275]
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c: scope_hint: In function ‘main’
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:230:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:102: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:230:7: note: in expansion of macro ‘aom_codec_enc_init’
#  228|       die("Failed to open %s for reading.", infile_arg);
#  229|   
#  230|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  231|       die("Failed to initialize encoder");
#  232|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:230:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:230:7: note: in expansion of macro ‘aom_codec_enc_init’
#  228|       die("Failed to open %s for reading.", infile_arg);
#  229|   
#  230|->   if (aom_codec_enc_init(&codec, encoder, &cfg, 0))
#  231|       die("Failed to initialize encoder");
#  232|   

Error: GCC_ANALYZER_WARNING (CWE-775): [#def278]
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:233:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:230:7: note: in expansion of macro ‘aom_codec_enc_init’
#  231|       die("Failed to initialize encoder");
#  232|   
#  233|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, speed))
#  234|       die_codec(&codec, "Failed to set cpu-used");
#  235|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:233:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile_arg, "rb")’
aom-3.9.0-build/aom-3.9.0/examples/simple_encoder.c:230:7: note: in expansion of macro ‘aom_codec_enc_init’
#  231|       die("Failed to initialize encoder");
#  232|   
#  233|->   if (aom_codec_control(&codec, AOME_SET_CPUUSED, speed))
#  234|       die_codec(&codec, "Failed to set cpu-used");
#  235|   

Error: CPPCHECK_WARNING: [#def280]
aom-3.9.0-build/aom-3.9.0/examples/twopass_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
aom-3.9.0-build/aom-3.9.0/examples/twopass_encoder.c: scope_hint: In function ‘get_frame_stats’
aom-3.9.0-build/aom-3.9.0/examples/twopass_encoder.c:85:18: warning[-Wanalyzer-malloc-leak]: leak of ‘stats.buf’
#   83|         const uint8_t *const pkt_buf = pkt->data.twopass_stats.buf;
#   84|         const size_t pkt_size = pkt->data.twopass_stats.sz;
#   85|->       stats->buf = realloc(stats->buf, stats->sz + pkt_size);
#   86|         if (!stats->buf) die("Failed to allocate frame stats buffer.");
#   87|         memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size);

Error: COMPILER_WARNING: [#def282]
aom-3.9.0-build/aom-3.9.0/third_party/SVT-AV1/convolve_avx2.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/third_party/SVT-AV1/convolve_2d_avx2.h:15: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/av1/common/x86/convolve_2d_avx2.c:16: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/third_party/SVT-AV1/EbMemory_AVX2.h: scope_hint: In function ‘load_u8_4x2_avx2’
aom-3.9.0-build/aom-3.9.0/third_party/SVT-AV1/EbMemory_AVX2.h:33:40: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
aom-3.9.0-build/aom-3.9.0/third_party/SVT-AV1/convolve_avx2.h:20: included_from: Included from here.
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/convolve_avx2.h: scope_hint: In function ‘convolve_lowbd_x_4tap’
aom-3.9.0-build/aom-3.9.0/aom_dsp/x86/convolve_avx2.h:836:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
#   31|   
#   32|   static INLINE __m256i load_u8_4x2_avx2(const uint8_t *const src,
#   33|->                                        const ptrdiff_t stride) {
#   34|     __m128i src01;
#   35|     src01 = _mm_cvtsi32_si128(*(int32_t *)(src + 0 * stride));

Error: CPPCHECK_WARNING: [#def283]
aom-3.9.0-build/aom-3.9.0/third_party/fastfeat/fast_9.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def284]
aom-3.9.0-build/aom-3.9.0/third_party/fastfeat/nonmax.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def285]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/common/hdr_util.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def286]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvmuxer/mkvmuxer.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def287]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvmuxer/mkvmuxer.cc:2425:48: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 2425 |   Tag* const tags = new (std::nothrow) Tag[size];  // NOLINT
#      |                                                ^
/usr/include/c++/14/new: scope_hint: In function ‘write_webm_file_header’
/usr/include/c++/14/new:147:26: note: in a call to allocation function ‘operator new []’ declared here
#  147 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
#      |                          ^
# 2423|     const int size = (tags_size_ == 0) ? 1 : 2 * tags_size_;
# 2424|   
# 2425|->   Tag* const tags = new (std::nothrow) Tag[size];  // NOLINT
# 2426|     if (tags == NULL)
# 2427|       return false;

Error: CPPCHECK_WARNING: [#def288]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-475): [#def289]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc:333: error[shiftNegative]: Shifting by a negative value is undefined behaviour
#  331|       const int32 bit_count = byte_count * 8;
#  332|   
#  333|->     const int64 bb = value >> bit_count;
#  334|       const uint8 b = static_cast<uint8>(bb);
#  335|   

Error: CPPCHECK_WARNING: [#def290]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvparser/mkvparser.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def291]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvparser/mkvparser.cc:3306:60: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3306 |   Edition* const editions = new (std::nothrow) Edition[size];
#      |                                                            ^
/usr/include/c++/14/new: scope_hint: In member function ‘Parse’
/usr/include/c++/14/new:147:26: note: in a call to allocation function ‘operator new []’ declared here
#  147 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
#      |                          ^
# 3304|     const int size = (m_editions_size == 0) ? 1 : 2 * m_editions_size;
# 3305|   
# 3306|->   Edition* const editions = new (std::nothrow) Edition[size];
# 3307|   
# 3308|     if (editions == NULL)

Error: COMPILER_WARNING: [#def292]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvparser/mkvparser.cc:3421:51: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3421 |   Atom* const atoms = new (std::nothrow) Atom[size];
#      |                                                   ^
/usr/include/c++/14/new: scope_hint: In member function ‘Parse’
/usr/include/c++/14/new:147:26: note: in a call to allocation function ‘operator new []’ declared here
#  147 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
#      |                          ^
# 3419|     const int size = (m_atoms_size == 0) ? 1 : 2 * m_atoms_size;
# 3420|   
# 3421|->   Atom* const atoms = new (std::nothrow) Atom[size];
# 3422|   
# 3423|     if (atoms == NULL)

Error: COMPILER_WARNING: [#def293]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvparser/mkvparser.cc:3609:60: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3609 |   Display* const displays = new (std::nothrow) Display[size];
#      |                                                            ^
/usr/include/c++/14/new: scope_hint: In member function ‘Parse’
/usr/include/c++/14/new:147:26: note: in a call to allocation function ‘operator new []’ declared here
#  147 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
#      |                          ^
# 3607|     const int size = (m_displays_size == 0) ? 1 : 2 * m_displays_size;
# 3608|   
# 3609|->   Display* const displays = new (std::nothrow) Display[size];
# 3610|   
# 3611|     if (displays == NULL)

Error: COMPILER_WARNING: [#def294]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvparser/mkvparser.cc:3772:48: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3772 |   Tag* const tags = new (std::nothrow) Tag[size];
#      |                                                ^
/usr/include/c++/14/new: scope_hint: In function ‘file_is_webm’
/usr/include/c++/14/new:147:26: note: in a call to allocation function ‘operator new []’ declared here
#  147 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
#      |                          ^
# 3770|     const int size = (m_tags_size == 0) ? 1 : 2 * m_tags_size;
# 3771|   
# 3772|->   Tag* const tags = new (std::nothrow) Tag[size];
# 3773|   
# 3774|     if (tags == NULL)

Error: COMPILER_WARNING: [#def295]
aom-3.9.0-build/aom-3.9.0/third_party/libwebm/mkvparser/mkvparser.cc:3886:64: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3886 |   SimpleTag* const displays = new (std::nothrow) SimpleTag[size];
#      |                                                                ^
/usr/include/c++/14/new: scope_hint: In function ‘file_is_webm’
/usr/include/c++/14/new:147:26: note: in a call to allocation function ‘operator new []’ declared here
#  147 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
#      |                          ^
# 3884|     const int size = (m_simple_tags_size == 0) ? 1 : 2 * m_simple_tags_size;
# 3885|   
# 3886|->   SimpleTag* const displays = new (std::nothrow) SimpleTag[size];
# 3887|   
# 3888|     if (displays == NULL)

Error: CPPCHECK_WARNING: [#def296]
aom-3.9.0-build/aom-3.9.0/third_party/libyuv/source/convert_argb.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def297]
aom-3.9.0-build/aom-3.9.0/third_party/libyuv/source/cpu_id.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def298]
aom-3.9.0-build/aom-3.9.0/third_party/libyuv/source/planar_functions.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def299]
aom-3.9.0-build/aom-3.9.0/third_party/libyuv/source/scale.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def300]
aom-3.9.0-build/aom-3.9.0/third_party/libyuv/source/scale.cc:763:43: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value due to array index out of bounds
#  761|       boxwidth = MIN1((x >> 16) - ix);
#  762|       *dst_ptr++ =
#  763|->         SumPixels(boxwidth, src_ptr + ix) * scaletbl[boxwidth - minboxwidth] >>
#  764|           16;
#  765|     }

Error: CLANG_WARNING: [#def301]
aom-3.9.0-build/aom-3.9.0/third_party/libyuv/source/scale.cc:784:55: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value due to array index out of bounds
#  782|       x += dx;
#  783|       boxwidth = MIN1((x >> 16) - ix);
#  784|->     *dst_ptr++ = SumPixels_16(boxwidth, src_ptr + ix) *
#  785|                        scaletbl[boxwidth - minboxwidth] >>
#  786|                    16;

Error: CPPCHECK_WARNING: [#def302]
aom-3.9.0-build/aom-3.9.0/third_party/libyuv/source/scale_uv.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def303]
aom-3.9.0-build/aom-3.9.0/third_party/vector/vector.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: COMPILER_WARNING: [#def304]
aom-3.9.0-build/aom-3.9.0/tools/dump_obu.cc: scope_hint: In function ‘int main(int, const char**)’
aom-3.9.0-build/aom-3.9.0/tools/dump_obu.cc:115:58: warning[-Wignored-attributes]: ignoring attributes on template argument ‘int (*)(FILE*)’
#  115 |   using FilePtr = std::unique_ptr<FILE, decltype(&fclose)>;
#      |                                                          ^
#  113|     const std::string filename = argv[1];
#  114|   
#  115|->   using FilePtr = std::unique_ptr<FILE, decltype(&fclose)>;
#  116|     FilePtr input_file(fopen(filename.c_str(), "rb"), &fclose);
#  117|     if (input_file.get() == nullptr) {

Error: CPPCHECK_WARNING: [#def305]
aom-3.9.0-build/aom-3.9.0/tools/obu_parser.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-225.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameaom-3.9.0-1.fc41
store-results-to/tmp/tmp2ked_wxd/aom-3.9.0-1.fc41.tar.xz
time-created2024-07-03 12:05:19
time-finished2024-07-03 12:14:32
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp2ked_wxd/aom-3.9.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp2ked_wxd/aom-3.9.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9