Project: opencv

Language c++
OSS-Fuzz project link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 9
Lines of code 356556
Lines covered 56482
Code coverage 15.84%
Code coverage report Report link
Static reachability 8.60%
Fuzz Introspector report Report link (from 2024-10-08)

Historical progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
cv::dnn::dnn4_v20240521::readNetFromTensorflow(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&) /src/opencv/modules/dnn/src/tensorflow/tf_importer.cpp 19578 0.0%
cv::dnn::dnn4_v20240521::Netcv::dnn::dnn4_v20240521::detail::readNetDiagnostic<cv::dnn::dnn4_v20240521::(anonymousnamespace)::TFImporter,charconst*,charconst*>(charconst*&&,charconst*&&) /src/opencv/modules/dnn/src/tensorflow/../dnn_common.hpp 19576 0.0%
cv::dnn::dnn4_v20240521::readNetFromTensorflow(std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>const&,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>const&) /src/opencv/modules/dnn/src/tensorflow/tf_importer.cpp 19547 0.0%
cv::dnn::dnn4_v20240521::Netcv::dnn::dnn4_v20240521::detail::readNet<cv::dnn::dnn4_v20240521::(anonymousnamespace)::TFImporter,charconst*,charconst*>(charconst*&&,charconst*&&) /src/opencv/modules/dnn/src/tensorflow/../dnn_common.hpp 19522 0.0%
cv::dnn::dnn4_v20240521::(anonymousnamespace)::TFImporter::TFImporter(cv::dnn::dnn4_v20240521::Net&,charconst*,charconst*) /src/opencv/modules/dnn/src/tensorflow/tf_importer.cpp 19485 0.0%
cv::TiffEncoder::writemulti(std::__1::vector<cv::Mat,std::__1::allocator<cv::Mat>>const&,std::__1::vector<int,std::__1::allocator<int>>const&) /src/opencv/modules/imgcodecs/src/grfmt_tiff.cpp 16263 0.0%
cv::WebPEncoder::write(cv::Matconst&,std::__1::vector<int,std::__1::allocator<int>>const&) /src/opencv/modules/imgcodecs/src/grfmt_webp.cpp 14775 0.0%
cv::TiffEncoder::write_32FC3_SGILOG(cv::Matconst&,void*) /src/opencv/modules/imgcodecs/src/grfmt_tiff.cpp 13931 0.0%
cv::dnn::ReadNetParamsFromTextFileOrDie(charconst*,opencv_caffe::NetParameter*) /src/opencv/modules/dnn/src/caffe/caffe_io.cpp 13727 0.0%
cv::dnn::ReadNetParamsFromTextBufferOrDie(charconst*,unsignedlong,opencv_caffe::NetParameter*) /src/opencv/modules/dnn/src/caffe/caffe_io.cpp 13703 0.0%