libvpx-1.14.0-2.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
libvpx-1.14.0-build/libvpx-1.14.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): [#def2]
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_to_md5.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_to_md5.c:99:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
# 97|
# 98| decoder = get_vpx_decoder_by_fourcc(info->codec_fourcc);
# 99|-> if (!decoder) die("Unknown input codec.");
# 100|
# 101| printf("Using %s\n", vpx_codec_iface_name(decoder->codec_interface()));
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_to_md5.c:99:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
# 97|
# 98| decoder = get_vpx_decoder_by_fourcc(info->codec_fourcc);
# 99|-> if (!decoder) die("Unknown input codec.");
# 100|
# 101| printf("Using %s\n", vpx_codec_iface_name(decoder->codec_interface()));
Error: GCC_ANALYZER_WARNING (CWE-775): [#def4]
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_to_md5.c:101:52: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
# 99| if (!decoder) die("Unknown input codec.");
# 100|
# 101|-> printf("Using %s\n", vpx_codec_iface_name(decoder->codec_interface()));
# 102|
# 103| if (vpx_codec_dec_init(&codec, decoder->codec_interface(), NULL, 0))
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_to_md5.c:101:52: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
# 99| if (!decoder) die("Unknown input codec.");
# 100|
# 101|-> printf("Using %s\n", vpx_codec_iface_name(decoder->codec_interface()));
# 102|
# 103| if (vpx_codec_dec_init(&codec, decoder->codec_interface(), NULL, 0))
Error: CPPCHECK_WARNING: [#def6]
libvpx-1.14.0-build/libvpx-1.14.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): [#def7]
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_with_drops.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_with_drops.c:95:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
# 93| die("Failed to open %s for writing.", argv[2]);
# 94|
# 95|-> n = (int)strtol(argv[3], &nptr, 0);
# 96| m = (int)strtol(nptr + 1, NULL, 0);
# 97| is_range = (*nptr == '-');
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
libvpx-1.14.0-build/libvpx-1.14.0/examples/decode_with_drops.c:95:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
# 93| die("Failed to open %s for writing.", argv[2]);
# 94|
# 95|-> n = (int)strtol(argv[3], &nptr, 0);
# 96| m = (int)strtol(nptr + 1, NULL, 0);
# 97| is_range = (*nptr == '-');
Error: CPPCHECK_WARNING: [#def9]
libvpx-1.14.0-build/libvpx-1.14.0/examples/postproc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
libvpx-1.14.0-build/libvpx-1.14.0/examples/postproc.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/postproc.c:81:43: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
# 79| info = vpx_video_reader_get_info(reader);
# 80|
# 81|-> decoder = get_vpx_decoder_by_fourcc(info->codec_fourcc);
# 82| if (!decoder) die("Unknown input codec.");
# 83|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
libvpx-1.14.0-build/libvpx-1.14.0/examples/postproc.c:81:43: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
# 79| info = vpx_video_reader_get_info(reader);
# 80|
# 81|-> decoder = get_vpx_decoder_by_fourcc(info->codec_fourcc);
# 82| if (!decoder) die("Unknown input codec.");
# 83|
Error: CPPCHECK_WARNING: [#def12]
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c: scope_hint: In function ‘set_roi_map’
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c:88:60: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘roi.roi_map’
# 86|
# 87| roi.roi_map = (uint8_t *)malloc(roi.rows * roi.cols);
# 88|-> for (i = 0; i < roi.rows * roi.cols; ++i) roi.roi_map[i] = i % 4;
# 89|
# 90| if (vpx_codec_control(codec, VP8E_SET_ROI_MAP, &roi))
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c: scope_hint: In function ‘set_active_map’
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c:105:63: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘map.active_map’
# 103|
# 104| map.active_map = (uint8_t *)malloc(map.rows * map.cols);
# 105|-> for (i = 0; i < map.rows * map.cols; ++i) map.active_map[i] = i % 2;
# 106|
# 107| if (vpx_codec_control(codec, VP8E_SET_ACTIVEMAP, &map))
Error: GCC_ANALYZER_WARNING (CWE-775): [#def15]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vp8cx.h:19: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c:49: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c:211:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[4], "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 209| die("Failed to open %s for reading.", argv[4]);
# 210|
# 211|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 212| die("Failed to initialize encoder");
# 213|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
libvpx-1.14.0-build/libvpx-1.14.0/examples/set_maps.c:211:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[4], "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 209| die("Failed to open %s for reading.", argv[4]);
# 210|
# 211|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 212| die("Failed to initialize encoder");
# 213|
Error: CPPCHECK_WARNING: [#def17]
libvpx-1.14.0-build/libvpx-1.14.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): [#def18]
libvpx-1.14.0-build/libvpx-1.14.0/examples/simple_decoder.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/simple_decoder.c:115:43: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[2], "wb")’
# 113| info = vpx_video_reader_get_info(reader);
# 114|
# 115|-> decoder = get_vpx_decoder_by_fourcc(info->codec_fourcc);
# 116| if (!decoder) die("Unknown input codec.");
# 117|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
libvpx-1.14.0-build/libvpx-1.14.0/examples/simple_decoder.c:115:43: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[2], "wb")’
# 113| info = vpx_video_reader_get_info(reader);
# 114|
# 115|-> decoder = get_vpx_decoder_by_fourcc(info->codec_fourcc);
# 116| if (!decoder) die("Unknown input codec.");
# 117|
Error: CPPCHECK_WARNING: [#def20]
libvpx-1.14.0-build/libvpx-1.14.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): [#def21]
libvpx-1.14.0-build/libvpx-1.14.0/examples/simple_encoder.c:102: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/simple_encoder.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/simple_encoder.c:220:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile_arg, "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 218| die("Failed to open %s for reading.", infile_arg);
# 219|
# 220|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 221| die("Failed to initialize encoder");
# 222|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
libvpx-1.14.0-build/libvpx-1.14.0/examples/simple_encoder.c:220:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile_arg, "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 218| die("Failed to open %s for reading.", infile_arg);
# 219|
# 220|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 221| die("Failed to initialize encoder");
# 222|
Error: CPPCHECK_WARNING: [#def23]
libvpx-1.14.0-build/libvpx-1.14.0/examples/svc_encodeframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def24]
libvpx-1.14.0-build/libvpx-1.14.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): [#def25]
libvpx-1.14.0-build/libvpx-1.14.0/examples/twopass_encoder.c: scope_hint: In function ‘get_frame_stats’
libvpx-1.14.0-build/libvpx-1.14.0/examples/twopass_encoder.c:86:18: warning[-Wanalyzer-malloc-leak]: leak of ‘stats.buf’
# 84| const uint8_t *const pkt_buf = pkt->data.twopass_stats.buf;
# 85| const size_t pkt_size = pkt->data.twopass_stats.sz;
# 86|-> stats->buf = realloc(stats->buf, stats->sz + pkt_size);
# 87| if (!stats->buf) die("Failed to reallocate stats buffer.");
# 88| memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size);
Error: CPPCHECK_WARNING: [#def26]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp8cx_set_ref.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vp8cx.h:19: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp8cx_set_ref.c:52: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp8cx_set_ref.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp8cx_set_ref.c:157:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 155| die("Failed to open %s for reading.", argv[3]);
# 156|
# 157|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 158| die("Failed to initialize encoder");
# 159|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp8cx_set_ref.c:157:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 155| die("Failed to open %s for reading.", argv[3]);
# 156|
# 157|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 158| die("Failed to initialize encoder");
# 159|
Error: CPPCHECK_WARNING: [#def29]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9_lossless_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def30]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9_lossless_encoder.c:15: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9_lossless_encoder.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9_lossless_encoder.c:112:41: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(argv[3], "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 110| die("Failed to open %s for reading.", argv[3]);
# 111|
# 112|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 113| die("Failed to initialize encoder");
# 114|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9_lossless_encoder.c:112:41: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(argv[3], "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 110| die("Failed to open %s for reading.", argv[3]);
# 111|
# 112|-> if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0))
# 113| die("Failed to initialize encoder");
# 114|
Error: CPPCHECK_WARNING: [#def32]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9_spatial_svc_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def33]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9cx_set_ref.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def34]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vp8cx.h:19: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9cx_set_ref.c:53: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9cx_set_ref.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9cx_set_ref.c:253:42: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(infile_arg, "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 251| die("Failed to open %s for reading.", infile_arg);
# 252|
# 253|-> if (vpx_codec_enc_init(&ecodec, encoder->codec_interface(), &cfg, 0))
# 254| die("Failed to initialize encoder");
# 255|
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vp9cx_set_ref.c:253:42: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(infile_arg, "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
libvpx-1.14.0-build/libvpx-1.14.0/vpx/vpx_encoder.h:895:31: note: in definition of macro ‘vpx_codec_enc_init’
# 251| die("Failed to open %s for reading.", infile_arg);
# 252|
# 253|-> if (vpx_codec_enc_init(&ecodec, encoder->codec_interface(), &cfg, 0))
# 254| die("Failed to initialize encoder");
# 255|
Error: CPPCHECK_WARNING: [#def36]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vpx_temporal_svc_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def37]
libvpx-1.14.0-build/libvpx-1.14.0/examples/vpx_temporal_svc_encoder.c: scope_hint: In function ‘main’
libvpx-1.14.0-build/libvpx-1.14.0/examples/vpx_temporal_svc_encoder.c:943:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘got_data’
# 941|
# 942| frame_avail = 1;
# 943|-> while (frame_avail || got_data) {
# 944| struct vpx_usec_timer timer;
# 945| vpx_codec_iter_t iter = NULL;
Error: CPPCHECK_WARNING: [#def38]
libvpx-1.14.0-build/libvpx-1.14.0/rate_hist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def39]
libvpx-1.14.0-build/libvpx-1.14.0/test/active_map_refresh_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-562): [#def40]
libvpx-1.14.0-build/libvpx-1.14.0/test/active_map_refresh_test.cc:120: error[danglingLifetime]: Non-local variable 'y4m_holder_' will use pointer to local variable 'video_holder'.
# 118| ::libvpx_test::Y4mVideoSource video_holder("desktop_credits.y4m", 0, 30);
# 119| video_holder.Begin();
# 120|-> y4m_holder_ = &video_holder;
# 121|
# 122| ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
Error: CPPCHECK_WARNING: [#def41]
libvpx-1.14.0-build/libvpx-1.14.0/test/error_resilience_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def42]
libvpx-1.14.0-build/libvpx-1.14.0/test/resize_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def43]
libvpx-1.14.0-build/libvpx-1.14.0/test/svc_datarate_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def44]
libvpx-1.14.0-build/libvpx-1.14.0/test/svc_end_to_end_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def45]
libvpx-1.14.0-build/libvpx-1.14.0/test/svc_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def46]
libvpx-1.14.0-build/libvpx-1.14.0/test/vp9_datarate_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def47]
libvpx-1.14.0-build/libvpx-1.14.0/test/vp9_ext_ratectrl_test.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-562): [#def48]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/googletest/src/include/gtest/gtest-matchers.h:754: error[returnReference]: Reference to local variable returned.
# 752| template <typename T>
# 753| static const T& Unwrap(std::reference_wrapper<T> v) {
# 754|-> return v;
# 755| }
# 756|
Error: CPPCHECK_WARNING (CWE-664): [#def49]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/googletest/src/include/gtest/internal/gtest-param-util.h:152: error[mismatchingContainers]: Iterators of different containers 'impl_' and 'other.impl_' are used together.
# 150| }
# 151| bool operator==(const ParamIterator& other) const {
# 152|-> return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
# 153| }
# 154| bool operator!=(const ParamIterator& other) const {
Error: CPPCHECK_WARNING: [#def50]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/googletest/src/src/gtest-all.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def51]
libvpx-1.14.0-build/libvpx-1.14.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: [#def52]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libwebm/mkvmuxer/mkvmuxer.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def53]
libvpx-1.14.0-build/libvpx-1.14.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): [#def54]
libvpx-1.14.0-build/libvpx-1.14.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: [#def55]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libwebm/mkvparser/mkvparser.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def56]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libwebm/mkvparser/mkvparser.cc:3304:60: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3304 | 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
# | ^
# 3302| const int size = (m_editions_size == 0) ? 1 : 2 * m_editions_size;
# 3303|
# 3304|-> Edition* const editions = new (std::nothrow) Edition[size];
# 3305|
# 3306| if (editions == NULL)
Error: COMPILER_WARNING: [#def57]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libwebm/mkvparser/mkvparser.cc:3419:51: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3419 | 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
# | ^
# 3417| const int size = (m_atoms_size == 0) ? 1 : 2 * m_atoms_size;
# 3418|
# 3419|-> Atom* const atoms = new (std::nothrow) Atom[size];
# 3420|
# 3421| if (atoms == NULL)
Error: COMPILER_WARNING: [#def58]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libwebm/mkvparser/mkvparser.cc:3607:60: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3607 | 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
# | ^
# 3605| const int size = (m_displays_size == 0) ? 1 : 2 * m_displays_size;
# 3606|
# 3607|-> Display* const displays = new (std::nothrow) Display[size];
# 3608|
# 3609| if (displays == NULL)
Error: COMPILER_WARNING: [#def59]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libwebm/mkvparser/mkvparser.cc:3770:48: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3770 | Tag* const tags = new (std::nothrow) Tag[size];
# | ^
/usr/include/c++/14/new: scope_hint: In member function ‘Begin’
/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
# | ^
# 3768| const int size = (m_tags_size == 0) ? 1 : 2 * m_tags_size;
# 3769|
# 3770|-> Tag* const tags = new (std::nothrow) Tag[size];
# 3771|
# 3772| if (tags == NULL)
Error: COMPILER_WARNING: [#def60]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libwebm/mkvparser/mkvparser.cc:3884:64: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
# 3884 | SimpleTag* const displays = new (std::nothrow) SimpleTag[size];
# | ^
/usr/include/c++/14/new: scope_hint: In member function ‘Begin’
/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
# | ^
# 3882| const int size = (m_simple_tags_size == 0) ? 1 : 2 * m_simple_tags_size;
# 3883|
# 3884|-> SimpleTag* const displays = new (std::nothrow) SimpleTag[size];
# 3885|
# 3886| if (displays == NULL)
Error: CPPCHECK_WARNING: [#def61]
libvpx-1.14.0-build/libvpx-1.14.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: [#def62]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libyuv/source/scale.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def63]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libyuv/source/scale.cc:713:43: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value due to array index out of bounds
# 711| boxwidth = MIN1((x >> 16) - ix);
# 712| *dst_ptr++ =
# 713|-> SumPixels(boxwidth, src_ptr + ix) * scaletbl[boxwidth - minboxwidth] >>
# 714| 16;
# 715| }
Error: CLANG_WARNING: [#def64]
libvpx-1.14.0-build/libvpx-1.14.0/third_party/libyuv/source/scale.cc:734:55: warning[core.UndefinedBinaryOperatorResult]: The right operand of '*' is a garbage value due to array index out of bounds
# 732| x += dx;
# 733| boxwidth = MIN1((x >> 16) - ix);
# 734|-> *dst_ptr++ = SumPixels_16(boxwidth, src_ptr + ix) *
# 735| scaletbl[boxwidth - minboxwidth] >>
# 736| 16;
Error: CPPCHECK_WARNING: [#def65]
libvpx-1.14.0-build/libvpx-1.14.0/tools/tiny_ssim.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-401): [#def66]
libvpx-1.14.0-build/libvpx-1.14.0/tools/tiny_ssim.c:450: error[memleakOnRealloc]: Common realloc mistake: 'ssimy' nulled but not freed upon failure
# 448| if (n_frames == allocated_frames) {
# 449| allocated_frames = allocated_frames == 0 ? 1024 : allocated_frames * 2;
# 450|-> ssimy = realloc(ssimy, allocated_frames * sizeof(*ssimy));
# 451| ssimu = realloc(ssimu, allocated_frames * sizeof(*ssimu));
# 452| ssimv = realloc(ssimv, allocated_frames * sizeof(*ssimv));
Error: CPPCHECK_WARNING (CWE-401): [#def67]
libvpx-1.14.0-build/libvpx-1.14.0/tools/tiny_ssim.c:451: error[memleakOnRealloc]: Common realloc mistake: 'ssimu' nulled but not freed upon failure
# 449| allocated_frames = allocated_frames == 0 ? 1024 : allocated_frames * 2;
# 450| ssimy = realloc(ssimy, allocated_frames * sizeof(*ssimy));
# 451|-> ssimu = realloc(ssimu, allocated_frames * sizeof(*ssimu));
# 452| ssimv = realloc(ssimv, allocated_frames * sizeof(*ssimv));
# 453| psnry = realloc(psnry, allocated_frames * sizeof(*psnry));
Error: CPPCHECK_WARNING (CWE-401): [#def68]
libvpx-1.14.0-build/libvpx-1.14.0/tools/tiny_ssim.c:452: error[memleakOnRealloc]: Common realloc mistake: 'ssimv' nulled but not freed upon failure
# 450| ssimy = realloc(ssimy, allocated_frames * sizeof(*ssimy));
# 451| ssimu = realloc(ssimu, allocated_frames * sizeof(*ssimu));
# 452|-> ssimv = realloc(ssimv, allocated_frames * sizeof(*ssimv));
# 453| psnry = realloc(psnry, allocated_frames * sizeof(*psnry));
# 454| psnru = realloc(psnru, allocated_frames * sizeof(*psnru));
Error: CPPCHECK_WARNING (CWE-401): [#def69]
libvpx-1.14.0-build/libvpx-1.14.0/tools/tiny_ssim.c:453: error[memleakOnRealloc]: Common realloc mistake: 'psnry' nulled but not freed upon failure
# 451| ssimu = realloc(ssimu, allocated_frames * sizeof(*ssimu));
# 452| ssimv = realloc(ssimv, allocated_frames * sizeof(*ssimv));
# 453|-> psnry = realloc(psnry, allocated_frames * sizeof(*psnry));
# 454| psnru = realloc(psnru, allocated_frames * sizeof(*psnru));
# 455| psnrv = realloc(psnrv, allocated_frames * sizeof(*psnrv));
Error: CPPCHECK_WARNING (CWE-401): [#def70]
libvpx-1.14.0-build/libvpx-1.14.0/tools/tiny_ssim.c:454: error[memleakOnRealloc]: Common realloc mistake: 'psnru' nulled but not freed upon failure
# 452| ssimv = realloc(ssimv, allocated_frames * sizeof(*ssimv));
# 453| psnry = realloc(psnry, allocated_frames * sizeof(*psnry));
# 454|-> psnru = realloc(psnru, allocated_frames * sizeof(*psnru));
# 455| psnrv = realloc(psnrv, allocated_frames * sizeof(*psnrv));
# 456| if (!(ssimy && ssimu && ssimv && psnry && psnru && psnrv)) {
Error: CPPCHECK_WARNING (CWE-401): [#def71]
libvpx-1.14.0-build/libvpx-1.14.0/tools/tiny_ssim.c:455: error[memleakOnRealloc]: Common realloc mistake: 'psnrv' nulled but not freed upon failure
# 453| psnry = realloc(psnry, allocated_frames * sizeof(*psnry));
# 454| psnru = realloc(psnru, allocated_frames * sizeof(*psnru));
# 455|-> psnrv = realloc(psnrv, allocated_frames * sizeof(*psnrv));
# 456| if (!(ssimy && ssimu && ssimv && psnry && psnru && psnrv)) {
# 457| fprintf(stderr, "Error allocating SSIM/PSNR data.\n");
Error: CPPCHECK_WARNING: [#def72]
libvpx-1.14.0-build/libvpx-1.14.0/tools_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c: scope_hint: In function ‘vpx_video_reader_open’
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:38:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
# 36| }
# 37|
# 38|-> if (fread(header, 1, 32, file) != 32) {
# 39| fprintf(stderr, "File header on %s can't be read.\n",
# 40| filename); // Can't read file header
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:38:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
# 36| }
# 37|
# 38|-> if (fread(header, 1, 32, file) != 32) {
# 39| fprintf(stderr, "File header on %s can't be read.\n",
# 40| filename); // Can't read file header
Error: CPPCHECK_WARNING (CWE-404): [#def75]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:41: error[resourceLeak]: Resource leak: file
# 39| fprintf(stderr, "File header on %s can't be read.\n",
# 40| filename); // Can't read file header
# 41|-> return NULL;
# 42| }
# 43| if (memcmp(kIVFSignature, header, 4) != 0) {
Error: GCC_ANALYZER_WARNING (CWE-775): [#def76]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:43:6: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
# 41| return NULL;
# 42| }
# 43|-> if (memcmp(kIVFSignature, header, 4) != 0) {
# 44| fprintf(stderr, "The IVF signature on %s is wrong.\n",
# 45| filename); // Wrong IVF signature
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:43:6: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
# 41| return NULL;
# 42| }
# 43|-> if (memcmp(kIVFSignature, header, 4) != 0) {
# 44| fprintf(stderr, "The IVF signature on %s is wrong.\n",
# 45| filename); // Wrong IVF signature
Error: CPPCHECK_WARNING (CWE-404): [#def78]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:47: error[resourceLeak]: Resource leak: file
# 45| filename); // Wrong IVF signature
# 46|
# 47|-> return NULL;
# 48| }
# 49| if (mem_get_le16(header + 4) != 0) {
Error: CPPCHECK_WARNING (CWE-404): [#def79]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:53: error[resourceLeak]: Resource leak: file
# 51| filename); // Wrong IVF version
# 52|
# 53|-> return NULL;
# 54| }
# 55|
Error: CPPCHECK_WARNING (CWE-404): [#def80]
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:62: error[resourceLeak]: Resource leak: file
# 60| "Can't allocate VpxVideoReader\n"); // Can't allocate VpxVideoReader
# 61|
# 62|-> return NULL;
# 63| }
# 64|
Error: GCC_ANALYZER_WARNING (CWE-775): [#def81]
libvpx-1.14.0-build/libvpx-1.14.0/video_writer.c: scope_hint: In function ‘vpx_video_writer_open’
libvpx-1.14.0-build/libvpx-1.14.0/video_writer.c:45:8: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "wb")’
# 43| }
# 44| writer = malloc(sizeof(*writer));
# 45|-> if (!writer) {
# 46| fprintf(stderr, "Can't allocate VpxVideoWriter.\n");
# 47| return NULL;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
libvpx-1.14.0-build/libvpx-1.14.0/video_writer.c:45:8: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "wb")’
# 43| }
# 44| writer = malloc(sizeof(*writer));
# 45|-> if (!writer) {
# 46| fprintf(stderr, "Can't allocate VpxVideoWriter.\n");
# 47| return NULL;
Error: CPPCHECK_WARNING (CWE-404): [#def83]
libvpx-1.14.0-build/libvpx-1.14.0/video_writer.c:47: error[resourceLeak]: Resource leak: file
# 45| if (!writer) {
# 46| fprintf(stderr, "Can't allocate VpxVideoWriter.\n");
# 47|-> return NULL;
# 48| }
# 49| writer->frame_count = 0;
Error: CPPCHECK_WARNING: [#def84]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/extend.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def85]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/findnearmv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def86]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/idctllm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def87]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/mfqe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def88]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/postproc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def89]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:147: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 145|
# 146| /* calc uv motion vectors */
# 147|-> mv_row += 1 | (mv_row >> (sizeof(int) * CHAR_BIT - 1));
# 148| mv_col += 1 | (mv_col >> (sizeof(int) * CHAR_BIT - 1));
# 149| mv_row /= 2;
Error: CPPCHECK_WARNING (CWE-758): [#def90]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:148: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 146| /* calc uv motion vectors */
# 147| mv_row += 1 | (mv_row >> (sizeof(int) * CHAR_BIT - 1));
# 148|-> mv_col += 1 | (mv_col >> (sizeof(int) * CHAR_BIT - 1));
# 149| mv_row /= 2;
# 150| mv_col /= 2;
Error: CPPCHECK_WARNING (CWE-758): [#def91]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:189: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 187| x->block[yoffset + 5].bmi.mv.as_mv.row;
# 188|
# 189|-> temp += 4 + ((temp >> (sizeof(temp) * CHAR_BIT - 1)) * 8);
# 190|
# 191| x->block[uoffset].bmi.mv.as_mv.row = (temp / 8) & x->fullpixel_mask;
Error: CPPCHECK_WARNING (CWE-758): [#def92]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:198: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 196| x->block[yoffset + 5].bmi.mv.as_mv.col;
# 197|
# 198|-> temp += 4 + ((temp >> (sizeof(temp) * CHAR_BIT - 1)) * 8);
# 199|
# 200| x->block[uoffset].bmi.mv.as_mv.col = (temp / 8) & x->fullpixel_mask;
Error: CPPCHECK_WARNING (CWE-758): [#def93]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:328: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 326| /* calc uv motion vectors */
# 327| _16x16mv.as_mv.row +=
# 328|-> 1 | (_16x16mv.as_mv.row >> (sizeof(int) * CHAR_BIT - 1));
# 329| _16x16mv.as_mv.col +=
# 330| 1 | (_16x16mv.as_mv.col >> (sizeof(int) * CHAR_BIT - 1));
Error: CPPCHECK_WARNING (CWE-758): [#def94]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:330: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 328| 1 | (_16x16mv.as_mv.row >> (sizeof(int) * CHAR_BIT - 1));
# 329| _16x16mv.as_mv.col +=
# 330|-> 1 | (_16x16mv.as_mv.col >> (sizeof(int) * CHAR_BIT - 1));
# 331| _16x16mv.as_mv.row /= 2;
# 332| _16x16mv.as_mv.col /= 2;
Error: CPPCHECK_WARNING (CWE-758): [#def95]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:472: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 470| x->mode_info_context->bmi[yoffset + 5].mv.as_mv.row;
# 471|
# 472|-> temp += 4 + ((temp >> (sizeof(temp) * CHAR_BIT - 1)) * 8);
# 473|
# 474| x->block[uoffset].bmi.mv.as_mv.row = (temp / 8) & x->fullpixel_mask;
Error: CPPCHECK_WARNING (CWE-758): [#def96]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/reconinter.c:481: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 479| x->mode_info_context->bmi[yoffset + 5].mv.as_mv.col;
# 480|
# 481|-> temp += 4 + ((temp >> (sizeof(temp) * CHAR_BIT - 1)) * 8);
# 482|
# 483| x->block[uoffset].bmi.mv.as_mv.col = (temp / 8) & x->fullpixel_mask;
Error: CPPCHECK_WARNING: [#def97]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/vp8_loopfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def98]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/common/vp8_skin_detection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def99]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/decoder/dboolhuff.c: scope_hint: In function ‘vp8dx_bool_decoder_fill’
libvpx-1.14.0-build/libvpx-1.14.0/vp8/decoder/dboolhuff.c:63:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bufptr’
# 61| while (shift >= loop_end) {
# 62| count += CHAR_BIT;
# 63|-> value |= (VP8_BD_VALUE)*bufptr << shift;
# 64| ++bufptr;
# 65| ++br->user_buffer;
Error: CPPCHECK_WARNING: [#def100]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/decoder/decodeframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def101]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/decoder/decodemv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def102]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/decoder/threading.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def103]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/bitstream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def104]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/denoising.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def105]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/encodeframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def106]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/encodemb.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-786): [#def107]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/encodemv.c:133: error[negativeIndex]: Array 'mvcost[2]' accessed at index mvcost[*][-2], which is out of bounds.
# 131|
# 132| mvcost[0][i] = cost0 + vp8_cost_zero(mvc[0].prob[MVPsign]);
# 133|-> mvcost[0][-i] = cost0 + vp8_cost_one(mvc[0].prob[MVPsign]);
# 134| } while (++i <= mv_max);
# 135| }
Error: CPPCHECK_WARNING (CWE-786): [#def108]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/encodemv.c:146: error[negativeIndex]: Array 'mvcost[2]' accessed at index mvcost[*][-2], which is out of bounds.
# 144|
# 145| mvcost[1][i] = cost1 + vp8_cost_zero(mvc[1].prob[MVPsign]);
# 146|-> mvcost[1][-i] = cost1 + vp8_cost_one(mvc[1].prob[MVPsign]);
# 147| } while (++i <= mv_max);
# 148| }
Error: CPPCHECK_WARNING: [#def109]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/ethreading.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def110]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/firstpass.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def111]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/lookahead.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def112]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/mcomp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def113]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/onyx_if.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-786): [#def114]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/onyx_if.c:1737: error[negativeIndex]: Array 'mvsadcost[2]' accessed at index mvsadcost[*][-2], which is out of bounds.
# 1735| mvsadcost[0][i] = (int)z;
# 1736| mvsadcost[1][i] = (int)z;
# 1737|-> mvsadcost[0][-i] = (int)z;
# 1738| mvsadcost[1][-i] = (int)z;
# 1739| } while (++i <= mvfp_max);
Error: CPPCHECK_WARNING (CWE-786): [#def115]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/onyx_if.c:1738: error[negativeIndex]: Array 'mvsadcost[2]' accessed at index mvsadcost[*][-2], which is out of bounds.
# 1736| mvsadcost[1][i] = (int)z;
# 1737| mvsadcost[0][-i] = (int)z;
# 1738|-> mvsadcost[1][-i] = (int)z;
# 1739| } while (++i <= mvfp_max);
# 1740| }
Error: CPPCHECK_WARNING: [#def116]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/pickinter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def117]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/picklpf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def118]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/ratectrl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def119]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/rdopt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def120]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/temporal_filter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def121]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/tokenize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def122]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/vp8_quantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def123]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/vp8_quantize.c:33: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 31| z = coeff_ptr[rc];
# 32|
# 33|-> sz = (z >> 31); /* sign of z */
# 34| x = (z ^ sz) - sz; /* x = abs(z) */
# 35|
Error: CPPCHECK_WARNING (CWE-758): [#def124]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/vp8_quantize.c:75: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 73|
# 74| zbin_boost_ptr++;
# 75|-> sz = (z >> 31); /* sign of z */
# 76| x = (z ^ sz) - sz; /* x = abs(z) */
# 77|
Error: CPPCHECK_WARNING: [#def125]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/x86/denoising_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def126]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/encoder/x86/vp8_quantize_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def127]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/vp8_cx_iface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def128]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/vp8_dx_iface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def129]
libvpx-1.14.0-build/libvpx-1.14.0/vp8/vp8_ratectrl_rtc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def130]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_blockd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def131]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_entropy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def132]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_entropymode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def133]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_entropymv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def134]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_frame_buffers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def135]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_loopfilter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def136]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_mvref_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def137]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_pred_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def138]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_reconintra.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def139]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/vp9_thread_common.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def140]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/common/x86/vp9_highbd_iht16x16_add_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def141]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/decoder/vp9_decodeframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def142]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/decoder/vp9_decodemv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def143]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/decoder/vp9_decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def144]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/decoder/vp9_detokenize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def145]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_aq_complexity.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def146]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_aq_cyclicrefresh.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def147]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_bitstream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def148]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_bitstream.c: scope_hint: In function ‘encode_tiles_mt’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_bitstream.c:996:19: warning[-Wanalyzer-infinite-loop]: infinite loop
# 994| }
# 995|
# 996|-> while (tile_col < tile_cols) {
# 997| int i, j;
# 998| for (i = 0; i < num_workers && tile_col < tile_cols; ++i) {
Error: CPPCHECK_WARNING: [#def149]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_context_tree.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def150]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_dct.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def151]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encodeframe.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def152]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encodemb.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def153]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encodemv.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def154]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-786): [#def155]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:2255: error[negativeIndex]: Array 'mvsadcost[2]' accessed at index mvsadcost[*][-2], which is out of bounds.
# 2253| mvsadcost[0][i] = (int)z;
# 2254| mvsadcost[1][i] = (int)z;
# 2255|-> mvsadcost[0][-i] = (int)z;
# 2256| mvsadcost[1][-i] = (int)z;
# 2257| } while (++i <= MV_MAX);
Error: CPPCHECK_WARNING (CWE-786): [#def156]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:2256: error[negativeIndex]: Array 'mvsadcost[2]' accessed at index mvsadcost[*][-2], which is out of bounds.
# 2254| mvsadcost[1][i] = (int)z;
# 2255| mvsadcost[0][-i] = (int)z;
# 2256|-> mvsadcost[1][-i] = (int)z;
# 2257| } while (++i <= MV_MAX);
# 2258| }
Error: CPPCHECK_WARNING (CWE-786): [#def157]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:2270: error[negativeIndex]: Array 'mvsadcost[2]' accessed at index mvsadcost[*][-2], which is out of bounds.
# 2268| mvsadcost[0][i] = (int)z;
# 2269| mvsadcost[1][i] = (int)z;
# 2270|-> mvsadcost[0][-i] = (int)z;
# 2271| mvsadcost[1][-i] = (int)z;
# 2272| } while (++i <= MV_MAX);
Error: CPPCHECK_WARNING (CWE-786): [#def158]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:2271: error[negativeIndex]: Array 'mvsadcost[2]' accessed at index mvsadcost[*][-2], which is out of bounds.
# 2269| mvsadcost[1][i] = (int)z;
# 2270| mvsadcost[0][-i] = (int)z;
# 2271|-> mvsadcost[1][-i] = (int)z;
# 2272| } while (++i <= MV_MAX);
# 2273| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c: scope_hint: In function ‘encode_with_recode_loop’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:4635:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_aq_360.h:14: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:49: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c: scope_hint: In function ‘encode_with_recode_loop’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c: scope_hint: In function ‘encode_with_recode_loop’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c: scope_hint: In function ‘encode_with_recode_loop’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.h: scope_hint: In function ‘encode_with_recode_loop’
# 4633| get_ref_frame_bufs(cpi, ref_frame_bufs);
# 4634| codec_status = vp9_extrc_get_encodeframe_decision(
# 4635|-> &cpi->ext_ratectrl, curr_frame_buf->frame_index,
# 4636| cm->current_frame_coding_index, gf_group->index, update_type,
# 4637| gf_group->gf_group_size, use_alt_ref, ref_frame_bufs, ref_frame_flags,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c: scope_hint: In function ‘set_ref_sign_bias’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:5037:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c: scope_hint: In function ‘set_ref_sign_bias’
# 5035| VP9_COMMON *const cm = &cpi->common;
# 5036| RefCntBuffer *const ref_buffer = get_ref_cnt_buffer(cm, cm->new_fb_idx);
# 5037|-> const int cur_frame_index = ref_buffer->frame_index;
# 5038| MV_REFERENCE_FRAME ref_frame;
# 5039|
Error: CPPCHECK_WARNING (CWE-457): [#def161]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.c:5392: error[legacyUninitvar]: Uninitialized variable: zero_pred16
# 5390| xd->cur_buf = cpi->Source;
# 5391| if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
# 5392|-> zero_pred = CONVERT_TO_BYTEPTR(zero_pred16);
# 5393| memset(zero_pred16, 0, sizeof(*zero_pred16) * coeff_count);
# 5394| } else {
Error: CPPCHECK_WARNING (CWE-457): [#def162]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.h:1439: warning[uninitvar]: Uninitialized variable: cost_list
# 1437|
# 1438| static INLINE int *cond_cost_list(const struct VP9_COMP *cpi, int *cost_list) {
# 1439|-> return cpi->sf.mv.subpel_search_method != SUBPEL_TREE ? cost_list : NULL;
# 1440| }
# 1441|
Error: CPPCHECK_WARNING (CWE-823): [#def163]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_encoder.h:1470: error[arrayIndexOutOfBounds]: Array 'vp9_level_defs[14]' accessed at index 254, which is out of bounds.
# 1468| const uint32_t pic_breadth = VPXMAX(width, height);
# 1469| for (i = LEVEL_1; i < LEVEL_MAX; ++i) {
# 1470|-> if (vp9_level_defs[i].max_luma_picture_size >= pic_size &&
# 1471| vp9_level_defs[i].max_luma_picture_breadth >= pic_breadth) {
# 1472| return get_msb(vp9_level_defs[i].max_col_tiles);
Error: CPPCHECK_WARNING: [#def164]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_ethread.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def165]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def166]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘calc_norm_frame_score’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:284:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘this_frame’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘calc_norm_frame_score’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘calc_norm_frame_score’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘calc_norm_frame_score’
# 282| double mean_mod_score, double av_err) {
# 283| double modified_score =
# 284|-> av_err * pow(this_frame->coded_error * this_frame->weight /
# 285| DOUBLE_DIVIDE_CHECK(av_err),
# 286| oxcf->two_pass_vbrbias / 100.0);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def167]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘check_transition_to_still’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:1847:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘check_transition_to_still’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘check_transition_to_still’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘check_transition_to_still’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘check_transition_to_still’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘check_transition_to_still’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.h:14: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp_rtcd.h:16: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:15: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/vpx_dsp_common.h:23:31: note: in definition of macro ‘VPXMAX’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘check_transition_to_still’
# 1845| const FIRSTPASS_STATS *stats =
# 1846| fps_get_frame_stats(first_pass_info, show_idx + j);
# 1847|-> if (stats->pcnt_inter - stats->pcnt_motion < 0.999) break;
# 1848| }
# 1849|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def168]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:3011:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
# 3009| const FIRSTPASS_STATS *next_frame) {
# 3010| return (this_frame->intra_error < (this_frame->coded_error * VERY_LOW_II)) &&
# 3011|-> (this_frame->coded_error > (last_frame->coded_error * ERROR_SPIKE)) &&
# 3012| (this_frame->coded_error > (next_frame->coded_error * ERROR_SPIKE));
# 3013| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:3012:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
# 3010| return (this_frame->intra_error < (this_frame->coded_error * VERY_LOW_II)) &&
# 3011| (this_frame->coded_error > (last_frame->coded_error * ERROR_SPIKE)) &&
# 3012|-> (this_frame->coded_error > (next_frame->coded_error * ERROR_SPIKE));
# 3013| }
# 3014|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:3026:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_frame’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
# 3024| double this_ii_ratio;
# 3025| double next_ii_ratio;
# 3026|-> double last_pcnt_intra = 1.0 - last_frame->pcnt_inter;
# 3027| double this_pcnt_intra = 1.0 - this_frame->pcnt_inter;
# 3028| double next_pcnt_intra = 1.0 - next_frame->pcnt_inter;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def171]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:3028:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_frame’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘intra_step_transition’
# 3026| double last_pcnt_intra = 1.0 - last_frame->pcnt_inter;
# 3027| double this_pcnt_intra = 1.0 - this_frame->pcnt_inter;
# 3028|-> double next_pcnt_intra = 1.0 - next_frame->pcnt_inter;
# 3029| double mod_this_intra = this_pcnt_intra + this_frame->pcnt_neutral;
# 3030|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:3084:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
# 3082| fps_get_frame_stats(first_pass_info, show_idx + 1);
# 3083| int is_viable_kf = 0;
# 3084|-> double pcnt_intra = 1.0 - this_frame->pcnt_inter;
# 3085|
# 3086| // Does the frame satisfy the primary criteria of a key frame?
Error: GCC_ANALYZER_WARNING (CWE-476): [#def173]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:3112:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘test_candidate_kf’
# 3110| const FIRSTPASS_STATS *frame_stats =
# 3111| fps_get_frame_stats(first_pass_info, show_idx + 1 + i);
# 3112|-> double next_iiratio = (II_FACTOR * frame_stats->intra_error /
# 3113| DOUBLE_DIVIDE_CHECK(frame_stats->coded_error));
# 3114|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def174]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘find_next_key_frame’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c:3272:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_firstpass.c: scope_hint: In function ‘find_next_key_frame’
# 3270| twopass->kf_group_error_left = 0.0; // Group modified error score.
# 3271|
# 3272|-> kf_raw_err = keyframe_stats->intra_error;
# 3273| kf_mod_err = calc_norm_frame_score(oxcf, frame_info, keyframe_stats,
# 3274| mean_mod_score, av_err);
Error: CPPCHECK_WARNING: [#def175]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_frame_scale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def176]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_mbgraph.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def177]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_mcomp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def178]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_multi_thread.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def179]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_noise_estimate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def180]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_picklpf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def181]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_pickmode.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def182]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_quantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def183]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_quantize.c:43: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 41| const int rc = scan[i];
# 42| const int coeff = coeff_ptr[rc];
# 43|-> const int coeff_sign = (coeff >> 31);
# 44| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 45|
Error: CPPCHECK_WARNING (CWE-758): [#def184]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_quantize.c:77: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 75| const int rc = scan[i];
# 76| const int coeff = coeff_ptr[rc];
# 77|-> const int coeff_sign = (coeff >> 31);
# 78| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 79| const int64_t tmp = abs_coeff + round_ptr[rc != 0];
Error: CPPCHECK_WARNING (CWE-758): [#def185]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_quantize.c:107: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 105| const int rc = scan[i];
# 106| const int coeff = coeff_ptr[rc];
# 107|-> const int coeff_sign = (coeff >> 31);
# 108| int tmp = 0;
# 109| int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
Error: CPPCHECK_WARNING (CWE-758): [#def186]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_quantize.c:142: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 140| const int rc = scan[i];
# 141| const int coeff = coeff_ptr[rc];
# 142|-> const int coeff_sign = (coeff >> 31);
# 143| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 144|
Error: CPPCHECK_WARNING: [#def187]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_ratectrl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def188]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_rd.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def189]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_rdopt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def190]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_rdopt.c:681: warning[uninitvar]: Uninitialized variable: recon
# 679| #endif // CONFIG_VP9_HIGHBITDEPTH
# 680|
# 681|-> tmp = pixel_sse(cpi, xd, pd, src, src_stride, recon, 32, blk_row, blk_col,
# 682| plane_bsize, tx_bsize);
# 683| if (out_recon) {
Error: CPPCHECK_WARNING (CWE-457): [#def191]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_rdopt.c:2861: error[legacyUninitvar]: Uninitialized variable: tmp_buf16
# 2859| #if CONFIG_VP9_HIGHBITDEPTH
# 2860| if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
# 2861|-> tmp_buf = CONVERT_TO_BYTEPTR(tmp_buf16);
# 2862| } else {
# 2863| tmp_buf = (uint8_t *)tmp_buf16;
Error: CPPCHECK_WARNING: [#def192]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_resize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def193]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_segmentation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def194]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_skin_detection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def195]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_speed_features.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def196]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_subexp.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def197]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_svc_layercontext.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def198]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_temporal_filter.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def199]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_temporal_filter.c:680: error[legacyUninitvar]: Uninitialized variable: predictor16
# 678| #if CONFIG_VP9_HIGHBITDEPTH
# 679| if (mbd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
# 680|-> predictor = CONVERT_TO_BYTEPTR(predictor16);
# 681| } else {
# 682| predictor = predictor8;
Error: CPPCHECK_WARNING: [#def200]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_tpl_model.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def201]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/vp9_tpl_model.c:1180: error[legacyUninitvar]: Uninitialized variable: predictor16
# 1178|
# 1179| if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH)
# 1180|-> predictor = CONVERT_TO_BYTEPTR(predictor16);
# 1181| else
# 1182| predictor = predictor8;
Error: CPPCHECK_WARNING: [#def202]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/x86/highbd_temporal_filter_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def203]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/x86/temporal_filter_sse4.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def204]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/x86/vp9_frame_scale_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-457): [#def205]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/encoder/x86/vp9_frame_scale_ssse3.c:475: error[legacyUninitvar]: Uninitialized variable: s
# 473| shuffle_filter_ssse3, shuffle_filter_odd_ssse3
# 474| };
# 475|-> static const convolve8_funcs kConvolve8Funcs[2] = {
# 476| convolve8_8_even_offset_ssse3, convolve8_8_odd_offset_ssse3
# 477| };
Error: CPPCHECK_WARNING: [#def206]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/ratectrl_rtc.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def207]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/vp9_cx_iface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def208]
libvpx-1.14.0-build/libvpx-1.14.0/vp9/vp9_dx_iface.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def209]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/src/vpx_decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def210]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/src/vpx_encoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def211]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/src/vpx_image.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-590): [#def212]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/src/vpx_image.c:235:27: warning[-Wfree-nonheap-object]: ‘free’ called on pointer ‘in_7(D)’ with nonzero offset 160
# 235 | if (img->self_allocd) free(img);
# | ^
# 233| if (img->img_data && img->img_data_owner) vpx_free(img->img_data);
# 234|
# 235|-> if (img->self_allocd) free(img);
# 236| }
# 237| }
Error: CPPCHECK_WARNING: [#def213]
libvpx-1.14.0-build/libvpx-1.14.0/vpx/src/vpx_tpl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def214]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/bitreader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def215]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/deblock.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def216]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/fwd_txfm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def217]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/intrapred.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def218]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def219]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_idct32x32_1024_add_c’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c:1202:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out[<unknown>]’
# 1200| // Columns
# 1201| for (i = 0; i < 32; ++i) {
# 1202|-> for (j = 0; j < 32; ++j) temp_in[j] = out[j * 32 + i];
# 1203| idct32_c(temp_in, temp_out);
# 1204| for (j = 0; j < 32; ++j) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def220]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_highbd_idct4x4_16_add_c’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c:1470:45: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out[<unknown>]’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_highbd_idct4x4_16_add_c’
# 1468| // Columns
# 1469| for (i = 0; i < 4; ++i) {
# 1470|-> for (j = 0; j < 4; ++j) temp_in[j] = out[j * 4 + i];
# 1471| vpx_highbd_idct4_c(temp_in, temp_out, bd);
# 1472| for (j = 0; j < 4; ++j) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def221]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_highbd_idct8x8_64_add_c’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c:1657:45: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out[<unknown>]’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_highbd_idct8x8_64_add_c’
# 1655| // Then transform columns
# 1656| for (i = 0; i < 8; ++i) {
# 1657|-> for (j = 0; j < 8; ++j) temp_in[j] = out[j * 8 + i];
# 1658| vpx_highbd_idct8_c(temp_in, temp_out, bd);
# 1659| for (j = 0; j < 8; ++j) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def222]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_highbd_idct16x16_256_add_c’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c:2093:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out[<unknown>]’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_highbd_idct16x16_256_add_c’
# 2091| // Then transform columns
# 2092| for (i = 0; i < 16; ++i) {
# 2093|-> for (j = 0; j < 16; ++j) temp_in[j] = out[j * 16 + i];
# 2094| vpx_highbd_idct16_c(temp_in, temp_out, bd);
# 2095| for (j = 0; j < 16; ++j) {
Error: GCC_ANALYZER_WARNING (CWE-457): [#def223]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c: scope_hint: In function ‘vpx_highbd_idct32x32_1024_add_c’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/inv_txfm.c:2621:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out[<unknown>]’
# 2619| // Columns
# 2620| for (i = 0; i < 32; ++i) {
# 2621|-> for (j = 0; j < 32; ++j) temp_in[j] = out[j * 32 + i];
# 2622| highbd_idct32_c(temp_in, temp_out, bd);
# 2623| for (j = 0; j < 32; ++j) {
Error: CPPCHECK_WARNING: [#def224]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def225]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:26: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 24| const int rc = 0;
# 25| const int coeff = coeff_ptr[rc];
# 26|-> const int coeff_sign = (coeff >> 31);
# 27| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 28| int tmp, eob = -1;
Error: CPPCHECK_WARNING (CWE-758): [#def226]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:54: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 52| {
# 53| const int coeff = coeff_ptr[0];
# 54|-> const int coeff_sign = (coeff >> 31);
# 55| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 56| const int64_t tmp = abs_coeff + round_ptr[0];
Error: CPPCHECK_WARNING (CWE-758): [#def227]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:74: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 72| const int rc = 0;
# 73| const int coeff = coeff_ptr[rc];
# 74|-> const int coeff_sign = (coeff >> 31);
# 75| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 76| int tmp, eob = -1;
Error: CPPCHECK_WARNING (CWE-758): [#def228]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:105: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 103| {
# 104| const int coeff = coeff_ptr[0];
# 105|-> const int coeff_sign = (coeff >> 31);
# 106| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 107| const int64_t tmp = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[0], 1);
Error: CPPCHECK_WARNING (CWE-758): [#def229]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:150: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 148| const int rc = scan[i];
# 149| const int coeff = coeff_ptr[rc];
# 150|-> const int coeff_sign = (coeff >> 31);
# 151| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 152|
Error: CPPCHECK_WARNING (CWE-758): [#def230]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:200: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 198| const int rc = scan[i];
# 199| const int coeff = coeff_ptr[rc];
# 200|-> const int coeff_sign = (coeff >> 31);
# 201| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 202|
Error: CPPCHECK_WARNING (CWE-758): [#def231]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:252: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 250| const int rc = scan[idx_arr[i]];
# 251| const int coeff = coeff_ptr[rc];
# 252|-> const int coeff_sign = (coeff >> 31);
# 253| int tmp;
# 254| int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
Error: CPPCHECK_WARNING (CWE-758): [#def232]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/quantize.c:313: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 311| const int rc = scan[idx_arr[i]];
# 312| const int coeff = coeff_ptr[rc];
# 313|-> const int coeff_sign = (coeff >> 31);
# 314| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 315| const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1);
Error: CPPCHECK_WARNING: [#def233]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/skin_detection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def234]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/avg_pred_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def235]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/avg_pred_avx2.c: scope_hint: In function ‘vpx_comp_avg_pred_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/avg_pred_avx2.c:26:21: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 24| assert(height % 4 == 0);
# 25| do {
# 26|-> const __m256i p = _mm256_load_si256((const __m256i *)pred);
# 27| const __m128i r_0 = _mm_loadl_epi64((const __m128i *)ref);
# 28| const __m128i r_1 =
Error: COMPILER_WARNING: [#def236]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/avg_intrin_avx2.c:15: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/bitdepth_conversion_avx2.h: scope_hint: In function ‘load_tran_low’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/bitdepth_conversion_avx2.h:21:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/bitdepth_conversion_avx2.h: scope_hint: In function ‘store_tran_low’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/bitdepth_conversion_avx2.h:31:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 19| // Load 16 16 bit values. If the source is 32 bits then pack down with
# 20| // saturation.
# 21|-> static INLINE __m256i load_tran_low(const tran_low_t *a) {
# 22| #if CONFIG_VP9_HIGHBITDEPTH
# 23| const __m256i a_low = _mm256_loadu_si256((const __m256i *)a);
Error: COMPILER_WARNING: [#def237]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_convolve_avx2.c:14: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/convolve_avx2.h: scope_hint: In function ‘convolve8_16_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/convolve_avx2.h:54:41: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 52|
# 53| static INLINE __m256i convolve8_16_avx2(const __m256i *const s,
# 54|-> const __m256i *const f) {
# 55| // multiply 2 adjacent elements with the filter and add the result
# 56| const __m256i k_64 = _mm256_set1_epi16(1 << 6);
Error: CPPCHECK_WARNING: [#def238]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/fwd_txfm_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def239]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_convolve_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def240]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_idct32x32_add_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def241]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_loopfilter_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def242]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘mm256_mul_shift_epi32’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_quantize_intrin_avx2.c:62:55: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_quantize_intrin_avx2.c: scope_hint: In function ‘get_max_lane_eob’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_quantize_intrin_avx2.c:75:33: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 60| // and right shift 16. The output, 16 int32_t is save in *p.
# 61| static VPX_FORCE_INLINE __m256i mm256_mul_shift_epi32(const __m256i *x,
# 62|-> const __m256i *y) {
# 63| __m256i prod_lo = _mm256_mul_epi32(*x, *y);
# 64| __m256i prod_hi = _mm256_srli_epi64(*x, 32);
Error: CPPCHECK_WARNING: [#def243]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_quantize_intrin_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING (CWE-758): [#def244]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_quantize_intrin_sse2.c:141: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
# 139| const int rc = idx_arr[i];
# 140| const int coeff = coeff_ptr[rc];
# 141|-> const int coeff_sign = (coeff >> 31);
# 142| const int abs_coeff = (coeff ^ coeff_sign) - coeff_sign;
# 143| const int64_t tmp1 =
Error: COMPILER_WARNING: [#def245]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_sad4d_avx2.c: scope_hint: In function ‘vpx_highbd_sad16x16x4d_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_sad4d_avx2.c:379:14: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 377| refs[2] = CONVERT_TO_SHORTPTR(ref_array[2]);
# 378| refs[3] = CONVERT_TO_SHORTPTR(ref_array[3]);
# 379|-> sums_16[0] = _mm256_setzero_si256();
# 380| sums_16[1] = _mm256_setzero_si256();
# 381| sums_16[2] = _mm256_setzero_si256();
Error: COMPILER_WARNING: [#def246]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_sad_avx2.c: scope_hint: In function ‘vpx_highbd_sad16x16_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_sad_avx2.c:236:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_sad_avx2.c: scope_hint: In function ‘calc_final’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/highbd_sad_avx2.c:14:38: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 234| const uint16_t *src = CONVERT_TO_SHORTPTR(src_ptr);
# 235| uint16_t *ref = CONVERT_TO_SHORTPTR(ref_ptr);
# 236|-> __m256i sums_16 = _mm256_setzero_si256();
# 237|
# 238| highbd_sad16xH(&sums_16, src, src_stride, ref, ref_stride, 16);
Error: COMPILER_WARNING: [#def247]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/inv_txfm_avx2.c: scope_hint: In function ‘dct_round_shift_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/inv_txfm_avx2.c:44:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/inv_txfm_avx2.c: scope_hint: In function ‘butterfly16’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/inv_txfm_avx2.c:63:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 42| }
# 43|
# 44|-> static INLINE __m256i dct_round_shift_avx2(__m256i in) {
# 45| const __m256i t = _mm256_add_epi32(in, _mm256_set1_epi32(DCT_CONST_ROUNDING));
# 46| return _mm256_srai_epi32(t, DCT_CONST_BITS);
Error: COMPILER_WARNING: [#def248]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/loopfilter_avx2.c: scope_hint: In function ‘vpx_lpf_horizontal_16_dual_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/loopfilter_avx2.c:389:10: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 387| _mm_broadcastb_epi8(_mm_cvtsi32_si128((int)blimit[0]));
# 388|
# 389|-> p256_4 = _mm256_castpd_si256(
# 390| _mm256_broadcast_pd((__m128d const *)(s - 5 * pitch)));
# 391| p256_3 = _mm256_castpd_si256(
Error: COMPILER_WARNING: [#def249]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/quantize_avx.c: scope_hint: In function ‘vpx_quantize_b_avx’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/quantize_avx.c:31:17: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 29| const struct ScanOrder *const scan_order) {
# 30| const __m128i zero = _mm_setzero_si128();
# 31|-> const __m256i big_zero = _mm256_setzero_si256();
# 32| int index;
# 33| const int16_t *iscan = scan_order->iscan;
Error: COMPILER_WARNING: [#def250]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/quantize_avx2.c: scope_hint: In function ‘load_coefficients_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/quantize_avx2.c:56:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/quantize_avx2.c: scope_hint: In function ‘store_coefficients_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/quantize_avx2.c:68:30: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 54|
# 55| static VPX_FORCE_INLINE __m256i
# 56|-> load_coefficients_avx2(const tran_low_t *coeff_ptr) {
# 57| #if CONFIG_VP9_HIGHBITDEPTH
# 58| // typedef int32_t tran_low_t;
Error: COMPILER_WARNING: [#def251]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sad4d_avx2.c: scope_hint: In function ‘sad64xhx4d_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sad4d_avx2.c:89:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 87| refs[2] = ref_array[2];
# 88| refs[3] = ref_array[3];
# 89|-> sums[0] = _mm256_setzero_si256();
# 90| sums[1] = _mm256_setzero_si256();
# 91| sums[2] = _mm256_setzero_si256();
Error: COMPILER_WARNING: [#def252]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sad4d_avx512.c: scope_hint: In function ‘vpx_sad64x64x4d_avx512’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sad4d_avx512.c:27:12: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
# 25| ref2 = ref_array[2];
# 26| ref3 = ref_array[3];
# 27|-> sum_ref0 = _mm512_set1_epi16(0);
# 28| sum_ref1 = _mm512_set1_epi16(0);
# 29| sum_ref2 = _mm512_set1_epi16(0);
Error: COMPILER_WARNING: [#def253]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sad4d_avx512.c:76:12: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 74|
# 75| // add the low 128 bit to the high 128 bit
# 76|-> sum256 = _mm256_add_epi32(_mm512_castsi512_si256(sum_mlow),
# 77| _mm512_extracti32x8_epi32(sum_mlow, 1));
# 78| sum128 = _mm_add_epi32(_mm256_castsi256_si128(sum256),
Error: COMPILER_WARNING: [#def254]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sad_avx2.c: scope_hint: In function ‘sad64xh_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sad_avx2.c:19:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 17| int i, res;
# 18| __m256i sad1_reg, sad2_reg, ref1_reg, ref2_reg;
# 19|-> __m256i sum_sad = _mm256_setzero_si256();
# 20| __m256i sum_sad_h;
# 21| __m128i sum_sad128;
Error: COMPILER_WARNING: [#def255]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sse_avx2.c: scope_hint: In function ‘vpx_sse_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sse_avx2.c:105:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sse_avx2.c: scope_hint: In function ‘summary_4x64_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/sse_avx2.c:58:23: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 103| int32_t y = 0;
# 104| int64_t sse = 0;
# 105|-> __m256i sum = _mm256_setzero_si256();
# 106| __m256i zero = _mm256_setzero_si256();
# 107| switch (width) {
Error: COMPILER_WARNING: [#def256]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/subtract_avx2.c: scope_hint: In function ‘subtract_block_16xn_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/subtract_avx2.c:39:19: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
# 37| const __m128i s = _mm_lddqu_si128((const __m128i *)src_ptr);
# 38| const __m128i p = _mm_lddqu_si128((const __m128i *)pred_ptr);
# 39|-> const __m256i s_0 = _mm256_cvtepu8_epi16(s);
# 40| const __m256i p_0 = _mm256_cvtepu8_epi16(p);
# 41| const __m256i d_0 = _mm256_sub_epi16(s_0, p_0);
Error: GCC_ANALYZER_WARNING (CWE-457): [#def257]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/inv_txfm_sse2.h:19: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/inv_txfm_sse2.c:14: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/transpose_sse2.h: scope_hint: In function ‘transpose_16bit_8x8’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/transpose_sse2.h:177:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘in[1]’
# 175| // a6: 44 54 45 55 46 56 47 57
# 176| // a7: 64 74 65 75 66 76 67 77
# 177|-> const __m128i a0 = _mm_unpacklo_epi16(in[0], in[1]);
# 178| const __m128i a1 = _mm_unpacklo_epi16(in[2], in[3]);
# 179| const __m128i a2 = _mm_unpacklo_epi16(in[4], in[5]);
Error: COMPILER_WARNING: [#def258]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/variance_avx2.c: scope_hint: In function ‘sum_to_32bit_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/variance_avx2.c:94:1: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/variance_avx2.c: scope_hint: In function ‘variance_kernel_avx2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/variance_avx2.c:41:20: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
# 92| }
# 93|
# 94|-> static INLINE __m256i sum_to_32bit_avx2(const __m256i sum) {
# 95| const __m256i sum_lo = _mm256_cvtepi16_epi32(_mm256_castsi256_si128(sum));
# 96| const __m256i sum_hi =
Error: CPPCHECK_WARNING: [#def259]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/vpx_subpixel_4t_intrin_sse2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def260]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def261]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_mem/vpx_mem.c:49:25: warning[-Wanalyzer-malloc-leak]: leak of ‘addr’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_mem/vpx_mem.c: scope_hint: In function ‘vpx_memalign’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_mem/vpx_mem.c: scope_hint: In function ‘vpx_memalign’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_mem/vpx_mem.c:16: included_from: Included from here.
libvpx-1.14.0-build/libvpx-1.14.0/vpx_mem/vpx_mem.c:64:9: note: in expansion of macro ‘align_addr’
# 47| const void *const malloc_addr) {
# 48| size_t *const malloc_addr_location = get_malloc_address_location(mem);
# 49|-> *malloc_addr_location = (size_t)malloc_addr;
# 50| }
# 51|
Error: CPPCHECK_WARNING (CWE-457): [#def263]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_mem/vpx_mem.h:38: warning[uninitvar]: Uninitialized variable: dest
# 36| uint16_t *dest16 = (uint16_t *)dest;
# 37| for (i = 0; i < length; i++) *dest16++ = val;
# 38|-> return dest;
# 39| }
# 40| #endif
Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:105:12: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c: scope_hint: In function ‘vpx_video_reader_open’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:54:39: note: in definition of macro ‘mem_ops_wrap_symbol3’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:50:33: note: in expansion of macro ‘mem_ops_wrap_symbol2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:100:22: note: in expansion of macro ‘mem_ops_wrap_symbol’
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:49:7: note: in expansion of macro ‘mem_get_le16’
# 103| const MAU_T *mem = (const MAU_T *)vmem;
# 104|
# 105|-> val = mem[1] << 8;
# 106| val |= mem[0];
# 107| return val;
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:105:12: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c: scope_hint: In function ‘vpx_video_reader_open’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:54:39: note: in definition of macro ‘mem_ops_wrap_symbol3’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:50:33: note: in expansion of macro ‘mem_ops_wrap_symbol2’
libvpx-1.14.0-build/libvpx-1.14.0/vpx_ports/mem_ops.h:100:22: note: in expansion of macro ‘mem_ops_wrap_symbol’
libvpx-1.14.0-build/libvpx-1.14.0/video_reader.c:49:7: note: in expansion of macro ‘mem_get_le16’
# 103| const MAU_T *mem = (const MAU_T *)vmem;
# 104|
# 105|-> val = mem[1] << 8;
# 106| val |= mem[0];
# 107| return val;
Error: CPPCHECK_WARNING: [#def266]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_scale/generic/vpx_scale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def267]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_scale/generic/yv12config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def268]
libvpx-1.14.0-build/libvpx-1.14.0/vpx_util/vpx_thread.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def269]
libvpx-1.14.0-build/libvpx-1.14.0/vpxdec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def270]
libvpx-1.14.0-build/libvpx-1.14.0/vpxenc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def271]
libvpx-1.14.0-build/libvpx-1.14.0/webmdec.cc: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def272]
libvpx-1.14.0-build/libvpx-1.14.0/y4minput.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-222.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libvpx-1.14.0-2.fc41 |
store-results-to | /tmp/tmp5_1ekvk_/libvpx-1.14.0-2.fc41.tar.xz |
time-created | 2024-07-03 16:08:16 |
time-finished | 2024-07-03 16:16:14 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp5_1ekvk_/libvpx-1.14.0-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp5_1ekvk_/libvpx-1.14.0-2.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |