Task #259 - fixed.err
back to task #259download
Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/aom/src/aom_image.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING (CWE-457): aom-3.8.2-build/aom-3.8.2/aom_dsp/bitwriter.c: scope_hint: In function ‘aom_stop_encode.isra’ aom-3.8.2-build/aom-3.8.2/aom_dsp/bitwriter.c:27:3: warning[-Wmaybe-uninitialized]: ‘bytes’ may be used uninitialized # 27 | memcpy(w->buffer, data, bytes); # | ^ aom-3.8.2-build/aom-3.8.2/aom_dsp/bitwriter.c:23:12: note: ‘bytes’ was declared here # 23 | uint32_t bytes; # | ^ # 25| data = od_ec_enc_done(&w->ec, &bytes); # 26| nb_bits = od_ec_enc_tell(&w->ec); # 27|-> memcpy(w->buffer, data, bytes); # 28| w->pos = bytes; # 29| od_ec_enc_clear(&w->ec); Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/aom_dsp/x86/highbd_convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/aom_dsp/x86/highbd_convolve_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/aom_dsp/x86/intrapred_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/aom_dsp/x86/intrapred_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/av1_convolve_scale_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/highbd_convolve_2d_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/highbd_convolve_2d_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/highbd_convolve_2d_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/highbd_jnt_convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/jnt_convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/jnt_convolve_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/common/x86/jnt_convolve_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): aom-3.8.2-build/aom-3.8.2/av1/encoder/cnn.c: scope_hint: In function ‘av1_cnn_activate_c’ aom-3.8.2-build/aom-3.8.2/av1/encoder/cnn.c:329:37: warning[-Wanalyzer-jump-through-null]: jump through null pointer aom-3.8.2-build/aom-3.8.2/av1/common/av1_common_int.h:16: included_from: Included from here. aom-3.8.2-build/aom-3.8.2/av1/encoder/cnn.c:17: included_from: Included from here. aom-3.8.2-build/aom-3.8.2/av1/encoder/cnn.c:1190:18: note: in expansion of macro ‘av1_cnn_predict’ aom-3.8.2-build/aom-3.8.2/av1/encoder/cnn.c:1017:7: note: in expansion of macro ‘av1_cnn_activate’ aom-3.8.2-build/aom-3.8.2/av1/encoder/cnn.c:1017:7: note: in expansion of macro ‘av1_cnn_activate’ # 327| for (int i = 0; i < height; ++i) # 328| for (int j = 0; j < width; ++j) # 329|-> output[c][i * stride + j] = activation(output[c][i * stride + j]); # 330| } # 331| } Error: CLANG_WARNING: aom-3.8.2-build/aom-3.8.2/av1/encoder/pass2_strategy.c:32: included_from: Included from here. aom-3.8.2-build/aom-3.8.2/av1/encoder/encoder.h:41: included_from: Included from here. aom-3.8.2-build/aom-3.8.2/av1/encoder/firstpass.h:554:11: warning[core.NullDereference]: Access to field 'frame_avg_wavelet_energy' results in a dereference of a null pointer (loaded from variable 'fp_stats') # 552| const FIRSTPASS_STATS *fp_stats) { # 553| assert(fp_stats != NULL); # 554|-> return (fp_stats->frame_avg_wavelet_energy < 0); # 555| } # 556| Error: GCC_ANALYZER_WARNING (CWE-457): aom-3.8.2-build/aom-3.8.2/av1/encoder/reconinter_enc.c: scope_hint: In function ‘build_obmc_prediction’ aom-3.8.2-build/aom-3.8.2/av1/encoder/reconinter_enc.c:209:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘conv_params.fwd_offset’ aom-3.8.2-build/aom-3.8.2/av1/common/scale.h:15: included_from: Included from here. aom-3.8.2-build/aom-3.8.2/av1/encoder/reconinter_enc.c: scope_hint: In function ‘build_obmc_prediction’ # 207| xd->block_ref_scale_factors[0], pre_buf, # 208| above_mbmi->interp_filters); # 209|-> inter_pred_params.conv_params = get_conv_params(0, j, xd->bd); # 210| # 211| av1_enc_build_one_inter_predictor(pd->dst.buf, pd->dst.stride, &mv, Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/encoder/x86/av1_k_means_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: aom-3.8.2-build/aom-3.8.2/av1/encoder/x86/av1_k_means_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-401): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:219:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile0_arg, "rb")’ aom-3.8.2-build/aom-3.8.2/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): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:219:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile1_arg, "rb")’ aom-3.8.2-build/aom-3.8.2/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): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:228:49: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile1_arg, "rb")’ aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’ # 226| // configure and encode base layer # 227| # 228|-> if (keyframe_interval > 0 && frames_encoded % keyframe_interval == 0) # 229| flags |= AOM_EFLAG_FORCE_KF; # 230| else Error: GCC_ANALYZER_WARNING (CWE-775): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:228:49: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’ aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’ # 226| // configure and encode base layer # 227| # 228|-> if (keyframe_interval > 0 && frames_encoded % keyframe_interval == 0) # 229| flags |= AOM_EFLAG_FORCE_KF; # 230| else Error: GCC_ANALYZER_WARNING (CWE-401): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:228:49: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile1_arg, "rb")’ aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’ # 226| // configure and encode base layer # 227| # 228|-> if (keyframe_interval > 0 && frames_encoded % keyframe_interval == 0) # 229| flags |= AOM_EFLAG_FORCE_KF; # 230| else Error: GCC_ANALYZER_WARNING (CWE-401): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:228:49: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’ aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’ # 226| // configure and encode base layer # 227| # 228|-> if (keyframe_interval > 0 && frames_encoded % keyframe_interval == 0) # 229| flags |= AOM_EFLAG_FORCE_KF; # 230| else Error: GCC_ANALYZER_WARNING (CWE-775): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:279:3: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(outfile_arg, "wb")’ aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’ # 277| fclose(infile0); # 278| fclose(infile1); # 279|-> printf("Processed %d frames.\n", frame_count / 2); # 280| # 281| aom_img_free(&raw0); Error: GCC_ANALYZER_WARNING (CWE-401): aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:279:3: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(outfile_arg, "wb")’ aom-3.8.2-build/aom-3.8.2/examples/scalable_encoder.c:209:7: note: in expansion of macro ‘aom_codec_enc_init’ # 277| fclose(infile0); # 278| fclose(infile1); # 279|-> printf("Processed %d frames.\n", frame_count / 2); # 280| # 281| aom_img_free(&raw0);