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

Fuzzer details

Fuzzer: FuzzParseBinary

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: FuzzRoundtripCompact

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: FuzzParseCompact

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: FuzzRoundtripBinary

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: FuzzParseJson

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: FuzzRoundtripJson

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The project has no code coverage. Will not display blockers as blockers depend on code coverage.

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
apache::thrift::protocol::TVirtualProtocol ::skip_virt(apache::thrift::protocol::TType) /src/thrift/lib/cpp/./src/thrift/protocol/TVirtualProtocol.h 2 ['N/A', 'int'] 15 0 18 3 2 278 0 1014 955
unsignedintapache::thrift::protocol::skip (apache::thrift::protocol::TDebugProtocol&,apache::thrift::protocol::TType) /src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TProtocol.h 2 ['N/A', 'int'] 6 0 437 72 50 67 3 353 304
unsignedintapache::thrift::protocol::skip >(apache::thrift::protocol::TCompactProtocolT &,apache::thrift::protocol::TType) /src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TProtocol.h 2 ['N/A', 'int'] 6 0 425 68 50 102 3 337 274
fuzz::Containers::printTo(std::__1::basic_ostream >&)const /src/thrift/lib/cpp/test/fuzz/gen-cpp/FuzzTest_types.cpp 2 ['N/A', 'N/A'] 6 0 137 16 11 38 0 207 207
unsignedintapache::thrift::protocol::skip >(apache::thrift::protocol::TBinaryProtocolT &,apache::thrift::protocol::TType) /src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TProtocol.h 2 ['N/A', 'int'] 7 0 419 66 50 103 3 280 195
apache::thrift::protocol::TVirtualProtocol ::writeUUID_virt(apache::thrift::TUuidconst&) /src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TVirtualProtocol.h 2 ['N/A', 'N/A'] 6 0 18 3 2 54 0 190 162
fuzz::FuzzTest::printTo(std::__1::basic_ostream >&)const /src/thrift/lib/cpp/test/fuzz/gen-cpp/FuzzTest_types.cpp 2 ['N/A', 'N/A'] 4 0 402 66 64 40 0 170 150
unsignedintapache::thrift::protocol::skip (apache::thrift::protocol::TProtocol&,apache::thrift::protocol::TType) /src/thrift/lib/cpp/./src/thrift/protocol/TProtocol.h 2 ['N/A', 'int'] 6 0 437 72 50 67 2 183 100
apache::thrift::protocol::TVirtualProtocol ::writeMessageBegin_virt(std::__1::basic_string ,std::__1::allocator >const&,apache::thrift::protocol::TMessageType,int) /src/thrift/lib/cpp/./src/thrift/protocol/TVirtualProtocol.h 4 ['N/A', 'N/A', 'int', 'int'] 5 0 24 3 2 41 0 116 90
apache::thrift::transport::TFramedTransport::readFrame() /src/thrift/lib/cpp/src/thrift/transport/TBufferTransports.cpp 1 ['N/A'] 5 0 249 44 44 30 0 111 67

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

Functions statically reachable by fuzzers
41.0%
407 / 987
Cyclomatic complexity statically reachable by fuzzers
64.0%
3612 / 5652

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
[] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TList.h [] []
/usr/local/include/boost/locale/utf.hpp [] []
/src/thrift/lib/cpp/./src/thrift/TConfiguration.h ['FuzzParseJson'] []
/usr/local/bin/../include/c++/v1/string [] []
/usr/local/include/boost/uuid/string_generator.hpp [] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/thrift/lib/cpp/./src/thrift/transport/TTransportException.h [] []
/src/thrift/lib/cpp/src/thrift/transport/TBufferTransports.cpp [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TDebugProtocol.h ['FuzzRoundtripCompact', 'FuzzRoundtripBinary', 'FuzzRoundtripJson'] []
/usr/local/include/boost/locale/encoding_errors.hpp [] []
/src/thrift/lib/cpp/./src/thrift/protocol/TList.h [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/transport/TBufferTransports.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TSet.h [] []
/src/thrift/lib/cpp/./src/thrift/transport/TBufferTransports.h [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/TToString.h [] []
/src/thrift/lib/cpp/src/thrift/transport/TTransportException.cpp [] []
/src/thrift/lib/cpp/./src/thrift/protocol/TJSONProtocol.h ['FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/./src/thrift/TUuid.h [] []
/usr/local/include/boost/uuid/detail/uuid_x86.ipp [] []
/src/thrift/lib/cpp/test/fuzz/FuzzRoundtripCompact.cpp ['FuzzRoundtripCompact'] []
/src/thrift/lib/cpp/./src/thrift/protocol/TSet.h [] []
/usr/local/include/boost/throw_exception.hpp [] []
/src/thrift/lib/cpp/src/thrift/TUuid.cpp [] []
/src/thrift/lib/cpp/test/fuzz/gen-cpp/FuzzTest_types.cpp ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TProtocolException.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/usr/local/include/boost/exception/exception.hpp [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TBinaryProtocol.h ['FuzzParseBinary', 'FuzzRoundtripBinary'] []
/src/thrift/lib/cpp/test/fuzz/FuzzRoundtripJson.cpp ['FuzzRoundtripJson'] []
/usr/local/include/boost/assert/source_location.hpp [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/transport/TTransport.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/usr/local/include/boost/locale/encoding_utf.hpp [] []
/usr/local/include/boost/locale/util/string.hpp [] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TCompactProtocol.tcc [] []
/src/thrift/lib/cpp/test/fuzz/FuzzRoundtripBinary.cpp ['FuzzRoundtripBinary'] []
/src/thrift/lib/cpp/test/fuzz/FuzzParseBinary.cpp ['FuzzParseBinary'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/TConfiguration.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/./src/thrift/TToString.h [] []
/src/thrift/lib/cpp/test/fuzz/FuzzParseJson.cpp ['FuzzParseJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/TUuid.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/src/thrift/protocol/TJSONProtocol.cpp ['FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/src/thrift/protocol/TBase64Utils.cpp [] []
/src/thrift/lib/cpp/test/fuzz/./FuzzCommon.tcc ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/usr/local/include/boost/uuid/uuid.hpp [] []
/src/thrift/lib/cpp/src/thrift/protocol/TDebugProtocol.cpp [] []
/src/thrift/lib/cpp/test/fuzz/gen-cpp/FuzzTest_types.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/usr/local/include/boost/uuid/detail/to_chars.hpp [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TBinaryProtocol.tcc [] []
/src/thrift/lib/cpp/./src/thrift/protocol/TProtocol.h ['FuzzParseJson'] []
/src/thrift/lib/cpp/src/thrift/protocol/TProtocol.cpp ['FuzzRoundtripCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TCompactProtocol.h ['FuzzRoundtripCompact', 'FuzzParseCompact'] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/TBase.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/transport/TTransportException.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TVirtualProtocol.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/Thrift.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/./src/thrift/protocol/TMap.h [] []
/src/thrift/lib/cpp/./src/thrift/protocol/TVirtualProtocol.h ['FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/FuzzParseCompact.cpp ['FuzzParseCompact'] []
/usr/local/include/boost/uuid/uuid_io.hpp [] []
/src/thrift/lib/cpp/./src/thrift/protocol/TProtocolException.h [] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/transport/TVirtualTransport.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TProtocol.h ['FuzzParseBinary', 'FuzzRoundtripCompact', 'FuzzParseCompact', 'FuzzRoundtripBinary', 'FuzzParseJson', 'FuzzRoundtripJson'] []
/src/thrift/lib/cpp/./src/thrift/transport/TVirtualTransport.h [] []
/src/thrift/lib/cpp/./src/thrift/transport/TTransport.h ['FuzzParseJson'] []
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/TMap.h [] []

Directories in report

Directory
/usr/local/bin/../include/c++/v1/__exception/
/usr/local/include/boost/uuid/
/usr/local/include/boost/uuid/detail/
/usr/local/include/boost/exception/
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/transport/
/usr/include/x86_64-linux-gnu/bits/
/src/thrift/lib/cpp/src/thrift/protocol/
/src/thrift/lib/cpp/test/fuzz/./
/src/thrift/lib/cpp/src/thrift/transport/
/usr/local/bin/../include/c++/v1/
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/
/usr/local/include/boost/assert/
/src/thrift/lib/cpp/test/fuzz/gen-cpp/
/src/thrift/lib/cpp/test/fuzz/../../../../lib/cpp/src/thrift/protocol/
/usr/local/include/boost/locale/
/usr/local/include/boost/locale/util/
/src/thrift/lib/cpp/test/fuzz/
/src/thrift/lib/cpp/./src/thrift/protocol/
/usr/local/include/boost/
/src/thrift/lib/cpp/./src/thrift/transport/
/src/thrift/lib/cpp/src/thrift/
/src/thrift/lib/cpp/./src/thrift/