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: number_fuzzer

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 3 6.0%
gold [1:9] 4 8.0%
yellow [10:29] 2 4.0%
greenyellow [30:49] 3 6.0%
lawngreen 50+ 38 76.0%
All colors 50 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
3 42 float ArduinoJson::V742HB42::detail::multiplyByPowerOfTen (float, int) call site: 00042

Runtime coverage analysis

Covered functions
35
Functions that are reachable but not covered
6
Reachable functions
76
Percentage of reachable functions covered
92.11%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/arduinojson/extras/fuzzing/number_fuzzer.cpp 1
Numbers/parseNumber.hpp 11
Polyfills/ctype.hpp 1
Numbers/FloatTraits.hpp 11
Polyfills/alias_cast.hpp 2
Polyfills/pgmspace_generic.hpp 12

Fuzzer: msgpack_fuzzer

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 480 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 480 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
479 0 EP call site: 00000 _ZN11ArduinoJson8V742HB4218deserializeMsgPackIRNS0_12JsonDocumentEKhJRmETnNS0_6detail9enable_ifIXsr6detail26is_deserialize_destinationIT_EE5valueEiE4typeELi0EEENS0_20DeserializationErrorEOS8_PT0_DpOT1_

Runtime coverage analysis

Covered functions
0
Functions that are reachable but not covered
481
Reachable functions
481
Percentage of reachable functions covered
0.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/arduinojson/extras/fuzzing/msgpack_fuzzer.cpp 1
Memory/Allocator.hpp 1
Document/JsonDocument.hpp 8
Memory/ResourceManager.hpp 13
Memory/StringPool.hpp 5
Memory/MemoryPoolList.hpp 20
Variant/VariantData.hpp 13
Variant/VariantContent.hpp 4
Memory/StringNode.hpp 4
Memory/MemoryPool.hpp 24
MsgPack/MsgPackDeserializer.hpp 19
Polyfills/utility.hpp 2
Deserialization/deserialize.hpp 3
Deserialization/Reader.hpp 1
Deserialization/Readers/RamReader.hpp 1
Deserialization/Readers/IteratorReader.hpp 3
Deserialization/NestingLimit.hpp 4
Deserialization/DeserializationOptions.hpp 1
Variant/VariantAttorney.hpp 4
Deserialization/DeserializationError.hpp 2
Memory/StringBuffer.hpp 7
Deserialization/Filter.hpp 6
Variant/VariantImpl.hpp 11
Numbers/convertNumber.hpp 4
Polyfills/limits.hpp 4
MsgPack/endianness.hpp 15
Array/ArrayImpl.hpp 1
Collection/CollectionImpl.hpp 4
Strings/JsonString.hpp 5
Strings/Adapters/RamString.hpp 7
Object/ObjectImpl.hpp 1
Strings/StringAdapter.hpp 2
Strings/StringAdapters.hpp 1
Variant/JsonVariantConst.hpp 3
MsgPack/MsgPackSerializer.hpp 25
Serialization/serialize.hpp 2
Serialization/Writers/StdStringWriter.hpp 3
Serialization/CountingDecorator.hpp 4
Numbers/FloatTraits.hpp 2
Polyfills/alias_cast.hpp 1
Collection/CollectionIterator.hpp 2
Misc/SerializedValue.hpp 3

Fuzzer: json_fuzzer

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 669 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 669 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
668 0 EP call site: 00000 _ZN11ArduinoJson8V742HB4215deserializeJsonIRNS0_12JsonDocumentEKhJRmETnNS0_6detail9enable_ifIXsr6detail26is_deserialize_destinationIT_EE5valueEiE4typeELi0EEENS0_20DeserializationErrorEOS8_PT0_DpOT1_

Runtime coverage analysis

Covered functions
0
Functions that are reachable but not covered
625
Reachable functions
625
Percentage of reachable functions covered
0.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/arduinojson/extras/fuzzing/json_fuzzer.cpp 1
Memory/Allocator.hpp 1
Document/JsonDocument.hpp 8
Memory/ResourceManager.hpp 16
Memory/StringPool.hpp 6
Memory/MemoryPoolList.hpp 22
Variant/VariantData.hpp 14
Variant/VariantContent.hpp 4
Memory/StringNode.hpp 4
Memory/MemoryPool.hpp 24
Json/JsonDeserializer.hpp 30
Polyfills/utility.hpp 4
Deserialization/deserialize.hpp 3
Deserialization/Reader.hpp 1
Deserialization/Readers/RamReader.hpp 1
Deserialization/Readers/IteratorReader.hpp 2
Deserialization/NestingLimit.hpp 4
Deserialization/DeserializationOptions.hpp 1
Variant/VariantAttorney.hpp 4
Deserialization/DeserializationError.hpp 2
Memory/StringBuilder.hpp 7
Json/Latch.hpp 4
Deserialization/Filter.hpp 6
Array/ArrayImpl.hpp 1
Collection/CollectionImpl.hpp 5
Json/Utf16.hpp 5
Json/Utf8.hpp 1
Json/EscapeSequence.hpp 3
Strings/JsonString.hpp 7
Strings/Adapters/RamString.hpp 6
Strings/StringAdapter.hpp 3
Object/ObjectImpl.hpp 3
Collection/CollectionIterator.hpp 5
Strings/StringAdapters.hpp 1
Variant/VariantImpl.hpp 11
Numbers/parseNumber.hpp 16
Polyfills/ctype.hpp 1
Numbers/FloatTraits.hpp 11
Polyfills/alias_cast.hpp 2
Polyfills/pgmspace_generic.hpp 12
Numbers/convertNumber.hpp 2
Polyfills/limits.hpp 3
Variant/JsonVariantConst.hpp 3
Json/JsonSerializer.hpp 14
Serialization/serialize.hpp 2
Serialization/Writers/StdStringWriter.hpp 3
Json/TextFormatter.hpp 18
Serialization/CountingDecorator.hpp 4
Polyfills/math.hpp 2
Numbers/FloatParts.hpp 3
Misc/SerializedValue.hpp 3

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/arduinojson/extras/fuzzing/../../src/ArduinoJson/Numbers/FloatTraits.hpp ['number_fuzzer', 'msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/DeserializationError.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Strings/StringAdapters.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/Utf8.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/StringBuffer.hpp ['msgpack_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/deserialize.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Polyfills/utility.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Strings/Adapters/RamString.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Collection/CollectionIterator.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Variant/VariantAttorney.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Serialization/Writers/StdStringWriter.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Serialization/serialize.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/MemoryPool.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/StringPool.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Polyfills/ctype.hpp ['number_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/JsonSerializer.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Strings/JsonString.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Polyfills/limits.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Array/ArrayImpl.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/msgpack_fuzzer.cpp ['msgpack_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Polyfills/pgmspace_generic.hpp ['number_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/number_fuzzer.cpp ['number_fuzzer'] ['number_fuzzer']
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Document/JsonDocument.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/EscapeSequence.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/Latch.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/DeserializationOptions.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/Reader.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Strings/StringAdapter.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/Utf16.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Numbers/FloatParts.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/Readers/RamReader.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/JsonDeserializer.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/MsgPack/endianness.hpp ['msgpack_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Misc/SerializedValue.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Polyfills/alias_cast.hpp ['number_fuzzer', 'msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Polyfills/math.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/ResourceManager.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/Readers/IteratorReader.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/json_fuzzer.cpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Variant/VariantContent.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/MsgPack/MsgPackDeserializer.hpp ['msgpack_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/NestingLimit.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/MsgPack/MsgPackSerializer.hpp ['msgpack_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Numbers/convertNumber.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Numbers/parseNumber.hpp ['number_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/MemoryPoolList.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/Filter.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/StringBuilder.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Variant/JsonVariantConst.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Collection/CollectionImpl.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Variant/VariantData.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Object/ObjectImpl.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/Allocator.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/StringNode.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Serialization/CountingDecorator.hpp ['msgpack_fuzzer', 'json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/TextFormatter.hpp ['json_fuzzer'] []
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Variant/VariantImpl.hpp ['msgpack_fuzzer', 'json_fuzzer'] []

Directories in report

Directory
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Numbers/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Variant/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Serialization/
/src/arduinojson/extras/fuzzing/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/Readers/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Deserialization/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Strings/Adapters/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Collection/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/MsgPack/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Serialization/Writers/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Memory/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Misc/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Document/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Object/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Json/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Strings/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Polyfills/
/src/arduinojson/extras/fuzzing/../../src/ArduinoJson/Array/