Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues
Report generation date: 2024-07-27

Project overview: croniter

High level conclusions

Reachability and coverage overview

Functions statically reachable by fuzzers
47.0%
24 / 51
Cyclomatic complexity statically reachable by fuzzers
49.0%
100 / 204
Runtime code coverage of functions
84.0%
43 / 51

Warning: The number of runtime covered functions are larger than the number of reachable functions. This means that Fuzz Introspector found there are more functions covered at runtime than what is considered reachable based on the static analysis. This is a limitation in the analysis as anything covered at runtime is by definition reachable by the fuzzers.
This is likely due to a limitation in the static analysis. In this case, the count of functions covered at runtime is the true value, which means this is what should be considered "achieved" by the fuzzer.

Use the project functions table below to query all functions that were not covered at runtime.

Fuzzer details

Fuzzer: fuzz_iter

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 47 31.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 100 68.0%
All colors 147 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
10 130 croniter.croniter._get_next call site: 00130 croniter.croniter._datetime_to_timestamp
8 93 croniter.croniter._datetime_to_timestamp call site: 00093 datetime.datetime.replace
7 45 croniter.croniter._expand call site: 00045 croniter.croniter._get_low_from_current_date_number
5 57 croniter.croniter._expand call site: 00057 .len
4 40 croniter.croniter._expand call site: 00040 .int
2 14 croniter.croniter._expand call site: 00014 expressions.pop
2 109 croniter.croniter._get_next call site: 00109 re_star.match
2 119 croniter.croniter._timestamp_to_datetime call site: 00119 dateutil.tz.tzutc
2 127 croniter.croniter._get_next call site: 00127 dtstarttime.utcoffset
1 7 croniter.croniter.is_valid call site: 00007 hash_id.encode
1 28 croniter.croniter._expand call site: 00028 .str
1 31 croniter.croniter._expand call site: 00031 .str

Runtime coverage analysis

Covered functions
45
Functions that are reachable but not covered
64
Reachable functions
81
Percentage of reachable functions covered
20.99%
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
/ 1
...fuzz_iter 10
croniter 72

Fuzzer: fuzz_range

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 9 39.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 14 60.8%
All colors 23 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
6 8 ...fuzz_range.TestOneInput call site: 00008 .type
2 15 croniter.croniter_range call site: 00015 dateutil.tz.tzutc
1 21 croniter.croniter_range call site: 00021 ic.get_current

Runtime coverage analysis

Covered functions
45
Functions that are reachable but not covered
13
Reachable functions
17
Percentage of reachable functions covered
23.53%
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
/ 1
...fuzz_range 7
croniter 9

Fuzzer: fuzz_match

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 27 25.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 81 75.0%
All colors 108 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
7 63 croniter.croniter._expand call site: 00063 croniter.croniter._get_low_from_current_date_number
5 75 croniter.croniter._expand call site: 00075 .len
4 20 croniter.croniter._datetime_to_timestamp call site: 00020 time.time.microseconds.replace
4 58 croniter.croniter._expand call site: 00058 .int
2 32 croniter.croniter._expand call site: 00032 expressions.pop
1 12 croniter.croniter.__init__ call site: 00012 hash_id.encode
1 15 croniter.croniter.__init__ call site: 00015 time.time
1 46 croniter.croniter._expand call site: 00046 .str
1 49 croniter.croniter._expand call site: 00049 .str
1 101 croniter.croniter.match_range call site: 00101 dateutil.relativedelta.relativedelta

Runtime coverage analysis

Covered functions
45
Functions that are reachable but not covered
56
Reachable functions
68
Percentage of reachable functions covered
17.65%
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
/ 1
...fuzz_match 7
croniter 60