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

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 444 98.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 7 1.55%
All colors 451 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
203 247 BytesStart::wrap call site: 00247 NamespaceResolver::push
139 107 IterState::new call site: 00107 NsReader::read_event_into
99 4 Reader::from_reader call site: 00004 NsReader::read_resolved_event
3 0 EP call site: 00000

Runtime coverage analysis

Covered functions
190
Functions that are reachable but not covered
38
Reachable functions
53
Percentage of reachable functions covered
28.3%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
fuzz/fuzz_targets/fuzz_chunked_reader.rs 13
src/reader/ns_reader.rs 30
src/escape.rs 14
src/encoding.rs 20
src/name.rs 51
src/se/mod.rs 5
src/utils.rs 1
src/events/mod.rs 17
tests/reader-namespaces.rs 5
tests/serde_helpers/mod.rs 5
tests/encodings.rs 19
tests/serde-de-enum.rs 16
src/events/attributes.rs 7
tests/reader-dtd.rs 1
tests/html.rs 12
tests/escape.rs 18

Fuzzer: structured_roundtrip

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 457 71.4%
gold [1:9] 9 1.40%
yellow [10:29] 4 0.62%
greenyellow [30:49] 9 1.40%
lawngreen 50+ 161 25.1%
All colors 640 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
104 152 IterState::new call site: 00152 NsReader::read_event_into
52 96 NamespaceResolver::set_level call site: 00096 NsReader::read_resolved_event
46 260 NamespaceResolver::pop call site: 00260 read_event_impl
24 389 NamespaceResolver::push call site: 00389
24 541 ElementWriter::write_text_content call site: 00541 Writer::write_wrapped
22 314 NsReader::process_event call site: 00314 NsReader::read_event
22 421 NamespaceResolver::push call site: 00421 Writer::write_wrapped
20 473 BytesStart::push_attr call site: 00473
18 21 fuzz_round_trip call site: 00021 Writer::write_wrapped
14 573 ElementWriter::write_text_content call site: 00573 read_to_end
11 60 NamespaceResolver::push call site: 00060
11 497 BytesStart::push_attr call site: 00497 decode_into

Runtime coverage analysis

Covered functions
359
Functions that are reachable but not covered
24
Reachable functions
57
Percentage of reachable functions covered
57.89%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
fuzz/fuzz_targets/structured_roundtrip.rs 30
src/encoding.rs 23
src/se/mod.rs 5
src/utils.rs 2
src/writer.rs 41
src/name.rs 51
tests/serde-de-enum.rs 16
tests/serde_helpers/mod.rs 5
src/reader/ns_reader.rs 36
src/escape.rs 13
src/events/mod.rs 25
tests/reader-namespaces.rs 5
tests/encodings.rs 19
src/events/attributes.rs 7
tests/reader-dtd.rs 1
tests/html.rs 12

Fuzzer: fuzz_target_1

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 725 89.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 81 10.0%
All colors 806 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
159 607 parse_number call site: 00607 NamespaceResolver::push
123 286 normalize_xml10_eol_step call site: 00286 read_event_impl
122 430 from_str_radix call site: 00430 NamespaceResolver::push
46 58 Reader::from_str call site: 00058 NsReader::read_resolved_event
45 11 Reader::from_reader call site: 00011 round_trip
45 204 QName::as_namespace_binding call site: 00204 NamespaceResolver::push
38 160 normalize_xml10_eol_step call site: 00160 NsReader::read_event
34 250 BytesStart::wrap call site: 00250 SpecIter::next
30 559 Writer::write_wrapped call site: 00559 Writer::write_wrapped
22 136 BytesDecl::encoding call site: 00136 NsReader::read_event_into
18 116 BytesDecl::encoding call site: 00116 NsReader::read_event_into
17 788 BytesDecl::xml_version call site: 00788 round_trip

Runtime coverage analysis

Covered functions
294
Functions that are reachable but not covered
39
Reachable functions
72
Percentage of reachable functions covered
45.83%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
fuzz/fuzz_targets/fuzz_target_1.rs 27
src/encoding.rs 27
src/reader/ns_reader.rs 30
src/escape.rs 43
src/name.rs 51
src/se/mod.rs 5
src/utils.rs 1
src/events/mod.rs 27
tests/reader-namespaces.rs 5
tests/serde_helpers/mod.rs 5
tests/encodings.rs 19
tests/serde-de-enum.rs 16
src/events/attributes.rs 12
tests/reader-dtd.rs 1
tests/html.rs 12
tests/writer-indentation.rs 7
src/writer.rs 36
tests/escape.rs 18
tests/writer.rs 18

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/quick-xml/benches/encoding.rs [] []
/src/quick-xml/tests/serde-issues.rs [] []
/src/quick-xml/tests/serde-de-enum.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/tests/reader-read-text.rs [] []
/src/quick-xml/tests/async-tokio.rs [] []
/src/quick-xml/src/reader/ns_reader.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/src/lib.rs [] []
/src/quick-xml/src/de/key.rs [] []
/src/quick-xml/src/events/attributes.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/tests/reader-errors.rs [] []
/src/quick-xml/fuzz/fuzz_targets/fuzz_chunked_reader.rs ['fuzz_chunked_reader'] []
/src/quick-xml/tests/fuzzing.rs [] []
/src/quick-xml/examples/writer.rs [] []
/src/quick-xml/examples/visitor.rs [] []
/src/quick-xml/tests/serde-se.rs [] []
/src/quick-xml/src/reader/async_tokio.rs [] []
/src/quick-xml/src/writer.rs ['structured_roundtrip', 'fuzz_target_1'] ['structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/tests/issues.rs [] []
/src/quick-xml/src/se/key.rs [] []
/src/quick-xml/tests/reader-attributes.rs [] []
/src/quick-xml/tests/serde-de.rs [] []
/src/quick-xml/src/se/content.rs [] []
/src/quick-xml/src/de/mod.rs [] []
/src/quick-xml/src/se/mod.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/examples/read_nodes.rs [] []
/src/quick-xml/src/errors.rs [] []
/src/quick-xml/src/se/text.rs [] []
/src/quick-xml/tests/reader-dtd.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] []
/src/quick-xml/benches/macrobenches.rs [] []
/src/quick-xml/tests/helpers/mod.rs [] []
/src/quick-xml/tests/escape.rs ['fuzz_chunked_reader', 'fuzz_target_1'] []
/src/quick-xml/src/encoding.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/tests/reader-namespaces.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/tests/writer-indentation.rs ['fuzz_target_1'] []
/src/quick-xml/tests/html.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/tests/reader.rs [] []
/src/quick-xml/src/de/resolver.rs [] []
/src/quick-xml/examples/custom_entities.rs [] []
/src/quick-xml/src/reader/slice_reader.rs [] []
/src/quick-xml/tests/reader-references.rs [] []
/src/quick-xml/tests/serde-de-xsi.rs [] []
/src/quick-xml/src/reader/state.rs [] []
/src/quick-xml/src/parser/comment.rs [] []
/src/quick-xml/compare/benches/serde.rs [] []
/src/quick-xml/examples/flattened_enum.rs [] []
/src/quick-xml/test-gen/src/main.rs [] []
/src/quick-xml/fuzz/fuzz_targets/structured_roundtrip.rs ['structured_roundtrip'] ['structured_roundtrip']
/src/quick-xml/src/reader/mod.rs [] []
/src/quick-xml/src/parser/pi.rs [] []
/src/quick-xml/examples/reader_patterns.rs [] []
/src/quick-xml/src/events/mod.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/src/se/element.rs [] []
/src/quick-xml/compare/benches/low-level.rs [] []
/src/quick-xml/tests/roundtrip.rs [] []
/src/quick-xml/src/de/map.rs [] []
/src/quick-xml/tests/reader-config.rs [] []
/src/quick-xml/src/parser/dtd.rs [] []
/src/quick-xml/src/name.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/src/reader/buffered_reader.rs [] []
/src/quick-xml/src/writer/async_tokio.rs [] []
/src/quick-xml/benches/microbenches.rs [] []
/src/quick-xml/src/de/text.rs [] []
/src/quick-xml/tests/writer.rs ['fuzz_target_1'] ['fuzz_target_1']
/src/quick-xml/src/de/var.rs [] []
/src/quick-xml/tests/encodings.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] []
/src/quick-xml/src/de/simple_type.rs [] []
/src/quick-xml/src/parser/element.rs [] []
/src/quick-xml/src/escape.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/src/serde_helpers.rs [] []
/src/quick-xml/fuzz/fuzz_targets/fuzz_target_1.rs ['fuzz_target_1'] []
/src/quick-xml/src/se/simple_type.rs [] []
/src/quick-xml/examples/line_numbers.rs [] []
/src/quick-xml/src/de/attributes.rs [] []
/src/quick-xml/src/utils.rs ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1'] ['fuzz_chunked_reader', 'structured_roundtrip', 'fuzz_target_1']
/src/quick-xml/tests/serde-de-seq.rs [] []
/src/quick-xml/benches/issue971.rs [] []

Directories in report

Directory
/src/quick-xml/src/parser/
/src/quick-xml/src/writer/
/src/quick-xml/benches/
/src/quick-xml/src/reader/
/src/quick-xml/src/se/
/src/quick-xml/src/events/
/src/quick-xml/tests/helpers/
/src/quick-xml/test-gen/src/
/src/quick-xml/src/de/
/src/quick-xml/fuzz/fuzz_targets/
/src/quick-xml/compare/benches/
/src/quick-xml/examples/
/src/quick-xml/src/
/src/quick-xml/tests/