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

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 42 12.6%
gold [1:9] 2 0.60%
yellow [10:29] 4 1.20%
greenyellow [30:49] 1 0.30%
lawngreen 50+ 284 85.2%
All colors 333 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
2 2 1 :

['bool fast_float::is_space (char)']

64 456 fast_float::from_chars_result_t fast_float::from_chars_float_advanced (charconst*,charconst*,double&,fast_float::parse_options_t ) call site: 00000 /src/fast_float/include/fast_float/parse_number.h:297
2 2 1 :

['bool fast_float::is_space (char)']

62 458 fast_float::from_chars_result_t fast_float::from_chars_float_advanced (charconst*,charconst*,float&,fast_float::parse_options_t ) call site: 00000 /src/fast_float/include/fast_float/parse_number.h:297
2 2 1 :

['bool fast_float::is_space (char)']

4 8 fast_float::from_chars_result_t fast_float::from_chars_int_advanced (charconst*,charconst*,int&,fast_float::parse_options_t ) call site: 00000 /src/fast_float/include/fast_float/parse_number.h:353
0 18 2 :

['fast_float::span ::operator[](unsigned long) const', 'bool fast_float::small_mul<(unsigned short)62>(fast_float::stackvec<(unsigned short)62>&, unsigned long)']

0 18 boolfast_float::large_mul<(unsignedshort)62>(fast_float::stackvec<(unsignedshort)62>&,fast_float::span ) call site: 00000 /src/fast_float/include/fast_float/bigint.h:369
0 0 None 0 2 fast_float::stackvec<(unsignedshort)62>::resize_unchecked(unsignedlong,unsignedlong) call site: 00000 /src/fast_float/include/fast_float/bigint.h:122
0 0 None 0 0 fast_float::stackvec<(unsignedshort)62>::try_push(unsignedlong) call site: 00000 /src/fast_float/include/fast_float/bigint.h:92
0 0 None 0 0 fast_float::stackvec<(unsignedshort)62>::try_extend(fast_float::span ) call site: 00000 /src/fast_float/include/fast_float/bigint.h:109
0 0 None 0 0 fast_float::stackvec<(unsignedshort)62>::try_resize(unsignedlong,unsignedlong) call site: 00000 /src/fast_float/include/fast_float/bigint.h:135
0 0 None 0 0 fast_float::bigint::shl_limbs(unsignedlong) call site: 00000 /src/fast_float/include/fast_float/bigint.h:539
0 0 None 0 0 fast_float::bigint::shl_limbs(unsignedlong) call site: 00000 /src/fast_float/include/fast_float/bigint.h:541
0 0 None 0 0 fast_float::bigint::hi64(bool&)const call site: 00000 /src/fast_float/include/fast_float/bigint.h:459
0 0 None 0 0 fast_float::bigint::ctlz()const call site: 00000 /src/fast_float/include/fast_float/bigint.h:572

Runtime coverage analysis

Covered functions
170
Functions that are reachable but not covered
11
Reachable functions
242
Percentage of reachable functions covered
95.45%
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/from_chars.cc 2
include/fast_float/parse_number.h 18
include/fast_float/float_common.h 46
include/fast_float/ascii_number.h 1
include/fast_float/digit_comparison.h 17
include/fast_float/bigint.h 36

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

fuzz/from_chars.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['fast_float::from_chars_result_t fast_float::from_chars_float_advanced(char const*, char const*, double&, fast_float::parse_options_t)', 'void fast_float::parse_mantissa(fast_float::bigint&, fast_float::parsed_number_string_t&, unsigned long, unsigned long&)', 'fast_float::from_chars_result_t fast_float::from_chars_advanced(fast_float::parsed_number_string_t&, double&)', 'fast_float::from_chars_result_t fast_float::from_chars_advanced(fast_float::parsed_number_string_t&, double&)', 'fast_float::adjusted_mantissa fast_float::negative_digit_comp(fast_float::bigint&, fast_float::adjusted_mantissa, int)', 'fast_float::from_chars_result_t fast_float::from_chars_float_advanced(char const*, char const*, double&, fast_float::parse_options_t)', 'fast_float::from_chars_result_t fast_float::from_chars_advanced(fast_float::parsed_number_string_t&, double&)', 'void fast_float::parse_mantissa(fast_float::bigint&, fast_float::parsed_number_string_t&, unsigned long, unsigned long&)', 'bool fast_float::large_mul<(unsigned short)62>(fast_float::stackvec<(unsigned short)62>&, fast_float::span)', 'fast_float::from_chars_result_t fast_float::from_chars_advanced(fast_float::parsed_number_string_t&, float&)']