Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
oatpp::data::type::__class::Object ::PolymorphicDispatcher::getProperties()const /src/oatpp/build/../src/oatpp/data/type/Object.hpp 1 ['N/A'] 10 0 16 3 2 460 0 1303 1234
non-virtualthunktooatpp::json::ObjectMapper::write(oatpp::data::stream::ConsistentOutputStream*,oatpp::data::type::Voidconst&,oatpp::data::mapping::ErrorStack&)const /src/oatpp/src/oatpp/json/ObjectMapper.cpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 19 0 25 3 2 294 0 852 619
non-virtualthunktooatpp::json::ObjectMapper::read(oatpp::utils::parser::Caret&,oatpp::data::type::Typeconst*,oatpp::data::mapping::ErrorStack&)const /src/oatpp/src/oatpp/json/ObjectMapper.cpp 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 17 0 27 3 2 307 0 807 485
oatpp::data::mapping::TreeToObjectMapper::mapObject(oatpp::data::mapping::TreeToObjectMapperconst*,oatpp::data::mapping::TreeToObjectMapper::State&,oatpp::data::type::Typeconst*) /src/oatpp/src/oatpp/data/mapping/TreeToObjectMapper.cpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 14 0 938 166 118 212 0 558 197
oatpp::data::mapping::ObjectToTreeMapper::mapObject(oatpp::data::mapping::ObjectToTreeMapperconst*,oatpp::data::mapping::ObjectToTreeMapper::State&,oatpp::data::type::Voidconst&) /src/oatpp/src/oatpp/data/mapping/ObjectToTreeMapper.cpp 3 ['N/A', 'N/A', 'N/A'] 16 0 663 119 91 244 0 610 180
oatpp::data::type::Voidoatpp::data::mapping::TreeToObjectMapper::mapPrimitive (oatpp::data::mapping::TreeToObjectMapperconst*,oatpp::data::mapping::TreeToObjectMapper::State&,oatpp::data::type::Typeconst*) /src/oatpp/src/oatpp/data/mapping/TreeToObjectMapper.hpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 4 0 243 38 38 124 0 495 166
oatpp::data::mapping::Tree::debugPrint(unsignedint,unsignedint,bool)const /src/oatpp/src/oatpp/data/mapping/Tree.cpp 5 ['N/A', 'N/A', 'int', 'int', 'bool'] 14 0 697 145 66 211 1 647 156
oatpp::data::type::__class::Enum >::PolymorphicDispatcher::fromInterpretation(oatpp::data::type::Voidconst&,bool,oatpp::data::type::EnumInterpreterError&)const /src/oatpp/build/../src/oatpp/data/type/./Enum.hpp 5 ['N/A', 'N/A', 'N/A', 'bool', 'N/A'] 5 0 32 3 2 95 0 255 123
oatpp::data::stream::transferAsync(oatpp::base::ObjectHandle const&,oatpp::base::ObjectHandle const&,long,oatpp::base::ObjectHandle const&,oatpp::base::ObjectHandle const&)::TransferCoroutine::act() /src/oatpp/src/oatpp/data/stream/Stream.cpp 2 ['N/A', 'N/A'] 6 0 353 69 61 58 0 140 113
oatpp::data::type::Voidoatpp::data::mapping::TreeToObjectMapper::mapPrimitive >(oatpp::data::mapping::TreeToObjectMapperconst*,oatpp::data::mapping::TreeToObjectMapper::State&,oatpp::data::type::Typeconst*) /src/oatpp/src/oatpp/data/mapping/TreeToObjectMapper.hpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 4 0 237 38 38 124 0 495 89

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
43.0%
600 / 1399
Cyclomatic complexity statically reachable by fuzzers
47.0%
3789 / 8091

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/usr/local/bin/../include/c++/v1/initializer_list ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/./Tree.hpp [] []
/src/oatpp/src/oatpp/Environment.hpp [] []
/src/oatpp/src/oatpp/data/type/Type.cpp ['fuzz_mapper'] []
/src/oatpp/build/../src/oatpp/data/type/././Collection.hpp [] []
/src/oatpp/src/oatpp/data/type/Vector.cpp [] []
/src/oatpp/src/oatpp/data/type/Object.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/base/ObjectHandle.hpp [] []
/src/oatpp/src/oatpp/data/type/PairList.cpp [] []
/src/oatpp/src/oatpp/data/mapping/ObjectMapper.cpp ['fuzz_mapper'] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/oatpp/src/oatpp/data/type/././Type.hpp [] []
/src/oatpp/src/oatpp/data/type/UnorderedSet.cpp [] []
/src/oatpp/src/oatpp/utils/Binary.cpp [] []
/src/oatpp/build/../src/oatpp/json/ObjectMapper.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/json/Beautifier.hpp [] []
/src/oatpp/src/oatpp/async/Coroutine.hpp [] []
/src/oatpp/src/oatpp/IODefinitions.hpp [] []
/src/oatpp/src/oatpp/concurrency/SpinLock.cpp [] []
/src/oatpp/build/../src/oatpp/data/type/././Map.hpp [] []
/src/oatpp/src/oatpp/json/Utils.cpp [] []
/src/oatpp/src/oatpp/data/type/./Primitive.hpp [] []
/src/oatpp/build/../src/oatpp/data/type/./List.hpp [] []
/src/oatpp/build/../src/oatpp/json/./Deserializer.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/encoding/Hex.hpp [] []
/src/oatpp/src/oatpp/data/type/Primitive.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/json/ObjectMapper.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/mapping/ObjectToTreeMapper.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/buffer/Processor.hpp [] []
/src/oatpp/src/oatpp/json/Serializer.cpp [] []
/src/oatpp/src/oatpp/data/mapping/Tree.cpp [] []
/src/oatpp/src/oatpp/data/mapping/ObjectMapper.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/mapping/Tree.hpp [] []
/src/oatpp/src/oatpp/json/./Deserializer.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/Primitive.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/share/./MemoryLabel.hpp [] []
/usr/local/bin/../include/c++/v1/string [] []
/src/oatpp/src/oatpp/data/stream/BufferStream.hpp [] []
/src/oatpp/src/oatpp/utils/Conversion.cpp [] []
/src/oatpp/build/../src/oatpp/data/type/././Primitive.hpp ['fuzz_mapper'] []
/src/oatpp/build/../src/oatpp/data/mapping/TreeToObjectMapper.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/Enum.cpp [] []
/src/oatpp/src/oatpp/encoding/Hex.cpp [] []
/src/oatpp/src/oatpp/utils/String.cpp [] []
/src/oatpp/src/oatpp/data/type/Tree.cpp [] []
/src/oatpp/src/oatpp/async/./Error.hpp [] []
/src/oatpp/src/oatpp/data/type/Any.cpp [] []
/src/oatpp/build/../src/oatpp/data/type/./Type.hpp ['fuzz_mapper'] []
/src/oatpp/build/../src/oatpp/data/type/./UnorderedMap.hpp [] []
/src/oatpp/build/../src/oatpp/data/type/./UnorderedSet.hpp [] []
/src/oatpp/src/oatpp/base/Log.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/./Vector.hpp [] []
/src/oatpp/src/oatpp/Environment.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/json/Deserializer.cpp [] []
/src/oatpp/src/oatpp/data/stream/BufferStream.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/buffer/Processor.cpp [] []
/src/oatpp/src/oatpp/data/type/List.cpp [] []
/src/oatpp/src/oatpp/utils/parser/Caret.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/mapping/./Tree.hpp [] []
/src/oatpp/build/../src/oatpp/data/mapping/ObjectToTreeMapper.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/stream/./Stream.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/UnorderedMap.cpp [] []
/src/oatpp/build/../src/oatpp/data/share/MemoryLabel.hpp [] []
/src/oatpp/build/../fuzzers/oatpp/json/ObjectMapper.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/./Type.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/./PairList.hpp [] []
/src/oatpp/src/oatpp/data/buffer/IOBuffer.cpp [] []
/src/oatpp/build/../src/oatpp/data/type/./Any.hpp [] []
/src/oatpp/src/oatpp/json/Beautifier.cpp [] []
/src/oatpp/src/oatpp/async/Coroutine.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/share/LazyStringMap.hpp [] []
/src/oatpp/src/oatpp/data/stream/Stream.hpp ['fuzz_mapper'] []
/src/oatpp/build/../src/oatpp/data/mapping/ObjectMapper.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/encoding/Unicode.cpp [] []
/src/oatpp/src/oatpp/base/Countable.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/./Object.hpp [] []
/src/oatpp/src/oatpp/data/type/././Collection.hpp [] []
/src/oatpp/src/oatpp/data/share/MemoryLabel.cpp [] []
/src/oatpp/build/../src/oatpp/data/type/./PairList.hpp [] []
/src/oatpp/src/oatpp/json/./Serializer.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/base/Log.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/mapping/TreeToObjectMapper.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/json/ObjectMapper.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/stream/Stream.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/async/Error.cpp [] []
/src/oatpp/build/../src/oatpp/data/type/Object.hpp ['fuzz_mapper'] []
/usr/local/bin/../include/c++/v1/__exception/exception_ptr.h [] []
/src/oatpp/build/../src/oatpp/json/./Serializer.hpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/mapping/TreeToObjectMapper.cpp ['fuzz_mapper'] []
/src/oatpp/src/oatpp/data/type/././Primitive.hpp [] []
/src/oatpp/src/oatpp/data/mapping/ObjectToTreeMapper.hpp ['fuzz_mapper'] []
/src/oatpp/build/../src/oatpp/data/type/./Enum.hpp [] []
/src/oatpp/build/../src/oatpp/data/type/./Vector.hpp [] []
/src/oatpp/src/oatpp/data/type/././Map.hpp [] []

Directories in report

Directory
/src/oatpp/src/oatpp/
/src/oatpp/src/oatpp/data/type/
/src/oatpp/build/../src/oatpp/json/
/src/oatpp/src/oatpp/base/
/usr/local/bin/../include/c++/v1/
/src/oatpp/src/oatpp/data/share/
/src/oatpp/build/../src/oatpp/data/type/././
/src/oatpp/src/oatpp/data/type/././
/src/oatpp/build/../src/oatpp/data/mapping/
/src/oatpp/src/oatpp/data/type/./
/src/oatpp/build/../src/oatpp/data/type/./
/src/oatpp/src/oatpp/data/share/./
/src/oatpp/src/oatpp/data/stream/./
/src/oatpp/src/oatpp/concurrency/
/src/oatpp/build/../src/oatpp/json/./
/src/oatpp/src/oatpp/data/mapping/
/src/oatpp/src/oatpp/data/stream/
/src/oatpp/src/oatpp/data/mapping/./
/src/oatpp/src/oatpp/encoding/
/src/oatpp/src/oatpp/utils/parser/
/src/oatpp/src/oatpp/json/
/src/oatpp/build/../src/oatpp/data/share/
/src/oatpp/src/oatpp/data/buffer/
/src/oatpp/src/oatpp/utils/
/src/oatpp/src/oatpp/json/./
/src/oatpp/build/../src/oatpp/data/type/
/usr/local/bin/../include/c++/v1/__exception/
/src/oatpp/build/../fuzzers/oatpp/json/
/src/oatpp/src/oatpp/async/./
/src/oatpp/src/oatpp/async/