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_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 651 77.1%
gold [1:9] 10 1.18%
yellow [10:29] 8 0.94%
greenyellow [30:49] 5 0.59%
lawngreen 50+ 170 20.1%
All colors 844 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
60 482 NaiveDate::from_ordinal_and_flags call site: 00482 resolve_week_date
55 103 DateTime::parse_from_rfc2822 call site: 00103 TimeZone::with_ymd_and_hms
41 269 Parsed::to_naive_date call site: 00269 Month::num_days
38 64 FixedOffset::east_opt call site: 00064 NaiveDate::from_ymd_opt
37 159 TimeZone::from_local_datetime call site: 00159 TimeDelta::try_hours
30 29 NaiveDate::and_time call site: 00029 DstTester::offset_from_utc_datetime
27 574 Parsed::to_naive_date call site: 00574 Date::iso_week
27 763 Parsed::to_naive_date call site: 00763 Date::iso_week
22 246 P::a::r::s::e::d::::::::t::o::_::n::a::i::v::e::_::d::a::t::e::resolve_year call site: 00246 TimeDelta::checked_add
18 204 NaiveDateTime::checked_sub_offset call site: 00204 NaiveDateTime::overflowing_sub_offset
18 605 Parsed::to_naive_date call site: 00605 resolve_week_date
18 794 Parsed::to_naive_date call site: 00794 resolve_week_date

Runtime coverage analysis

Covered functions
101
Functions that are reachable but not covered
52
Reachable functions
108
Percentage of reachable functions covered
51.85%
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
fuzz/fuzz_targets/fuzz_reader.rs 4
src/datetime/mod.rs 20
src/month.rs 14
src/offset/fixed.rs 1
src/datetime/tests.rs 14
src/naive/date/mod.rs 13
src/naive/internals.rs 4
src/naive/isoweek.rs 6
src/date.rs 29
tests/wasm.rs 14
src/naive/time/mod.rs 2
src/weekday_set.rs 8
src/offset/mod.rs 7
src/time_delta.rs 7
src/naive/datetime/mod.rs 8
src/offset/utc.rs 2
src/format/parse.rs 20
src/format/parsed.rs 60
src/traits.rs 10
src/format/strftime.rs 2
src/format/scan.rs 17

Fuzzer: fuzz_format

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 487 63.1%
gold [1:9] 18 2.33%
yellow [10:29] 17 2.20%
greenyellow [30:49] 19 2.46%
lawngreen 50+ 230 29.8%
All colors 771 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
55 102 DateTime::parse_from_str call site: 00102 TimeZone::with_ymd_and_hms
41 268 Parsed::to_naive_date call site: 00268 Month::num_days
38 63 FixedOffset::east_opt call site: 00063 NaiveDate::from_ymd_opt
30 28 NaiveDate::and_time call site: 00028 DstTester::offset_from_utc_datetime
27 463 Parsed::to_naive_date call site: 00463 Date::iso_week
27 691 Parsed::to_naive_date call site: 00691 Date::iso_week
24 386 resolve_week_date call site: 00386 MappedLocalTime::and_then
21 174 TimeDelta::new call site: 00174 TimeDelta::try_hours
18 203 NaiveDateTime::checked_sub_offset call site: 00203 NaiveDateTime::overflowing_sub_offset
17 338 NaiveDate::year_flags call site: 00338 StrftimeItems::error
14 158 TimeZone::from_local_datetime call site: 00158 TimeDelta::try_hours
14 224 NaiveDateTime::checked_sub_offset call site: 00224 TimeZone::with_ymd_and_hms

Runtime coverage analysis

Covered functions
220
Functions that are reachable but not covered
34
Reachable functions
104
Percentage of reachable functions covered
67.31%
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_format.rs 2
src/datetime/mod.rs 17
src/month.rs 14
src/offset/fixed.rs 1
src/datetime/tests.rs 14
src/naive/date/mod.rs 13
src/naive/internals.rs 4
src/naive/isoweek.rs 6
src/date.rs 29
tests/wasm.rs 14
src/naive/time/mod.rs 2
src/weekday_set.rs 4
src/offset/mod.rs 7
src/time_delta.rs 7
src/naive/datetime/mod.rs 8
src/offset/utc.rs 2
src/format/parse.rs 6
src/format/parsed.rs 60
src/traits.rs 10
src/format/strftime.rs 2
fuzz/fuzz_targets/fuzz_reader.rs 1
src/format/scan.rs 16

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/chrono/src/round.rs [] []
/src/chrono/src/lib.rs [] []
/src/chrono/src/offset/mod.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/fuzz/fuzz_targets/fuzz_format.rs ['fuzz_format'] []
/src/chrono/src/date.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/weekday.rs [] []
/src/chrono/src/naive/time/mod.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/format/scan.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/fuzz/fuzz_targets/fuzz_reader.rs ['fuzz_reader', 'fuzz_format'] []
/src/chrono/src/offset/local/tz_info/timezone.rs [] []
/src/chrono/src/month.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/naive/time/tests.rs [] []
/src/chrono/src/format/mod.rs [] []
/src/chrono/src/offset/local/tz_data.rs [] []
/src/chrono/src/offset/local/windows.rs [] []
/src/chrono/src/offset/local/tz_info/parser.rs [] []
/src/chrono/src/naive/datetime/serde.rs [] []
/src/chrono/src/offset/local/tz_info/rule.rs [] []
/src/chrono/src/offset/local/tz_info/mod.rs [] []
/src/chrono/src/format/locales.rs [] []
/src/chrono/src/datetime/serde.rs [] []
/src/chrono/src/format/strftime.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/naive/date/mod.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/bench/benches/serde.rs [] []
/src/chrono/src/time_delta.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/tests/wasm.rs ['fuzz_reader', 'fuzz_format'] []
/src/chrono/src/naive/mod.rs [] []
/src/chrono/src/offset/local/unix.rs [] []
/src/chrono/src/naive/datetime/tests.rs [] []
/src/chrono/bench/benches/chrono.rs [] []
/src/chrono/src/weekday_set.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_format']
/src/chrono/src/offset/local/mod.rs [] []
/src/chrono/src/naive/isoweek.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/format/formatting.rs [] []
/src/chrono/src/format/parsed.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/tests/win_bindings.rs [] []
/src/chrono/src/offset/fixed.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/naive/date/tests.rs [] []
/src/chrono/ci/core-test/src/lib.rs [] []
/src/chrono/src/datetime/tests.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/offset/local/win_bindings.rs [] []
/src/chrono/src/naive/internals.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/naive/time/serde.rs [] []
/src/chrono/src/format/parse.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/traits.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/tests/dateutils.rs [] []
/src/chrono/src/offset/utc.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/naive/datetime/mod.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']
/src/chrono/src/datetime/mod.rs ['fuzz_reader', 'fuzz_format'] ['fuzz_reader', 'fuzz_format']

Directories in report

Directory
/src/chrono/src/
/src/chrono/src/naive/datetime/
/src/chrono/src/offset/local/
/src/chrono/src/format/
/src/chrono/fuzz/fuzz_targets/
/src/chrono/tests/
/src/chrono/src/naive/
/src/chrono/src/offset/local/tz_info/
/src/chrono/src/datetime/
/src/chrono/src/naive/time/
/src/chrono/ci/core-test/src/
/src/chrono/bench/benches/
/src/chrono/src/naive/date/
/src/chrono/src/offset/