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 347764
Lines covered 53276
Code coverage 15.32%
Code coverage report Report link
Static reachability 8.64%
Fuzz Introspector report Report link (from 2024-02-29)

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_v20231225::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 19678 0.0%
cv::dnn::dnn4_v20231225::Netcv::dnn::dnn4_v20231225::detail::readNetDiagnostic<cv::dnn::dnn4_v20231225::(anonymousnamespace)::TFImporter,charconst*,charconst*>(charconst*&&,charconst*&&) /src/opencv/modules/dnn/src/tensorflow/../dnn_common.hpp 19676 0.0%
cv::dnn::dnn4_v20231225::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 19647 0.0%
cv::dnn::dnn4_v20231225::Netcv::dnn::dnn4_v20231225::detail::readNet<cv::dnn::dnn4_v20231225::(anonymousnamespace)::TFImporter,charconst*,charconst*>(charconst*&&,charconst*&&) /src/opencv/modules/dnn/src/tensorflow/../dnn_common.hpp 19622 0.0%
cv::dnn::dnn4_v20231225::(anonymousnamespace)::TFImporter::TFImporter(cv::dnn::dnn4_v20231225::Net&,charconst*,charconst*) /src/opencv/modules/dnn/src/tensorflow/tf_importer.cpp 19607 0.0%
cv::WebPEncoder::write(cv::Matconst&,std::__1::vector<int,std::__1::allocator<int>>const&) /src/opencv/modules/imgcodecs/src/grfmt_webp.cpp 18358 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 16363 0.0%
cv::TiffEncoder::write_32FC3_SGILOG(cv::Matconst&,void*) /src/opencv/modules/imgcodecs/src/grfmt_tiff.cpp 14216 0.0%
cv::dnn::ReadNetParamsFromTextFileOrDie(charconst*,opencv_caffe::NetParameter*) /src/opencv/modules/dnn/src/caffe/caffe_io.cpp 13793 0.0%
cv::dnn::ReadNetParamsFromTextBufferOrDie(charconst*,unsignedlong,opencv_caffe::NetParameter*) /src/opencv/modules/dnn/src/caffe/caffe_io.cpp 13769 0.0%