Project: opencv

Language c++
OSS-Fuzz project link
Project repository 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 356866
Lines covered 56566
Code coverage 15.85%
Code coverage report Report link
Static reachability 10.93%
Fuzz Introspector report Report link (from 2024-11-19)

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 26156 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 26154 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 26121 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 26100 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 26063 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 21212 0.0%
cvSmooth /src/opencv/modules/imgproc/src/smooth.dispatch.cpp 19757 0.0%
cv::WebPEncoder::write(cv::Matconst&,std::__1::vector<int,std::__1::allocator<int>>const&) /src/opencv/modules/imgcodecs/src/grfmt_webp.cpp 19702 0.0%
cv::TiffEncoder::write_32FC3_SGILOG(cv::Matconst&,void*) /src/opencv/modules/imgcodecs/src/grfmt_tiff.cpp 18864 0.0%
cv::dnn::ReadNetParamsFromTextFileOrDie(charconst*,opencv_caffe::NetParameter*) /src/opencv/modules/dnn/src/caffe/caffe_io.cpp 18590 0.0%