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: fuzzer-usb-descriptor

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 1 3.84%
gold [1:9] 5 19.2%
yellow [10:29] 10 38.4%
greenyellow [30:49] 1 3.84%
lawngreen 50+ 9 34.6%
All colors 26 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
1 1 LLVMFuzzerTestOneInput call site: 00001

Runtime coverage analysis

Covered functions
23
Functions that are reachable but not covered
15
Reachable functions
22
Percentage of reachable functions covered
31.82%
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
/src/usbguard/src/Tests/Fuzzers/fuzzer-usb-descriptor.cpp 2
/src/usbguard/src/Tests/Fuzzers/../../../src/Library/public/usbguard/USB.hpp 2
/src/usbguard/src/Library/public/usbguard/USB.cpp 3

Fuzzer: fuzzer-uevent

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 753 66.9%
gold [1:9] 0 0.0%
yellow [10:29] 4 0.35%
greenyellow [30:49] 2 0.17%
lawngreen 50+ 366 32.5%
All colors 1125 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
86 232 void usbguard::parseUEventFromString (std::__1::basic_string , std::__1::allocator > const&, usbguard::UEvent&, bool) call site: 00232 _ZN3tao5pegtl14complete_traceIN8usbguard12UEventParser10attributesETtTpTyENS3_7actionsETtTpTyENS0_6normalERNS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEEJRNS2_6UEventEEEEbOT2_DpOT3_
57 804 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00804 _ZN3tao5pegtl6normalIN8usbguard12UEventParser6ueventEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS3_7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSI_11char_traitsIcEENSI_9allocatorIcEEEEEEJRNS2_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
44 534 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00534 _ZN3tao5pegtl6normalINS0_8internal4starINS0_5ascii3oneIJLc0ELc10EEEEJN8usbguard12UEventParser9attributeEEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS8_7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS4_3eol7lf_crlfENSt3__112basic_stringIcNSN_11char_traitsIcEENSN_9allocatorIcEEEEEEJRNS7_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
38 763 _ZN3tao5pegtl5matchIN8usbguard12UEventParser7grammarELNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS3_7actionsETtTpTyENS0_6normalENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEEJRNS2_6UEventEEEEDaRT4_DpOT5_ call site: 00763 _ZN3tao5pegtl14complete_traceIN8usbguard12UEventParser7grammarETtTpTyENS3_7actionsETtTpTyENS0_6normalERNS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEEJRNS2_6UEventEEEEbOT2_DpOT3_
35 325 void tao::pegtl::state_control ::control >::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00325 _ZN3tao5pegtl6normalINS0_4starINS0_5ascii6rangesIJLc65ELc90ELc48ELc57EEEEJEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyEN8usbguard12UEventParser7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS3_3eol7lf_crlfENSt3__112basic_stringIcNSL_11char_traitsIcEENSL_9allocatorIcEEEEEEJRNSB_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
35 424 void tao::pegtl::state_control ::control >::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00424 _ZN3tao5pegtl6normalIN8usbguard12UEventParser5valueEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS3_7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSI_11char_traitsIcEENSI_9allocatorIcEEEEEEJRNS2_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
35 945 void tao::pegtl::state_control ::control >::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00945 _ZN3tao5pegtl5matchIN8usbguard12UEventParser7devpathELNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS3_7actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEEJRNS2_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEDaRT4_DpOT5_
29 462 void tao::pegtl::state_control ::control >::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00462 _ZN3tao5pegtl6normalINS0_4starINS0_5ascii7not_oneIJLc0ELc10EEEEJEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyEN8usbguard12UEventParser7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS3_3eol7lf_crlfENSt3__112basic_stringIcNSL_11char_traitsIcEENSL_9allocatorIcEEEEEEJRNSB_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
29 864 void tao::pegtl::state_control ::control >::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00864 _ZN3tao5pegtl6normalINS0_4starINS0_5ascii6rangesIJLc97ELc122EEEEJEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyEN8usbguard12UEventParser7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS3_3eol7lf_crlfENSt3__112basic_stringIcNSL_11char_traitsIcEENSL_9allocatorIcEEEEEEJRNSB_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
29 983 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00983 _ZN3tao5pegtl6normalINS0_4starINS0_5ascii5printEJEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyEN8usbguard12UEventParser7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS3_3eol7lf_crlfENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEEJRNSA_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
24 397 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00397 _ZN3tao5pegtl6normalINS0_5ascii3oneIJLc61EEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyEN8usbguard12UEventParser7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS2_3eol7lf_crlfENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEEJRNS9_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
24 918 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&) call site: 00918 _ZN3tao5pegtl6normalINS0_5ascii3oneIJLc64EEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyEN8usbguard12UEventParser7actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS2_3eol7lf_crlfENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEEJRNS9_6UEventERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_

Runtime coverage analysis

Covered functions
295
Functions that are reachable but not covered
805
Reachable functions
1439
Percentage of reachable functions covered
44.06%
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/usbguard/src/Tests/Fuzzers/fuzzer-uevent.cpp 1
/src/usbguard/src/Library/UEvent.cpp 4
/src/usbguard/src/Library/UEventParser.cpp 6
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/string_input.hpp 4
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../memory_input.hpp 18
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/iterator.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/parse.hpp 4
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/normal.hpp 130
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/match.hpp 172
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/marker.hpp 8
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 20
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/range.hpp 6
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/peek_char.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/input_pair.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/bump_help.hpp 9
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/bump.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/star.hpp 10
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/ranges.hpp 5
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/one.hpp 10
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/action_input.hpp 8
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/parse_error.hpp 3
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/position.hpp 7
/src/usbguard/src/Common/Utility.cpp 4
/src/usbguard/src/Library/public/usbguard/Logger.cpp 8
/src/usbguard/./src/Common/Utility.hpp 1
/src/usbguard/./src/Library/public/usbguard/Logger.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/trace.hpp 112
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/shuffle_states.hpp 206
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/state_control.hpp 103
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/demangle.hpp 25
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/until.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/eof.hpp 1
/src/usbguard/src/Tests/Fuzzers/../../../src/Library/UEvent.hpp 1

Fuzzer: fuzzer-rules

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 5637 62.8%
gold [1:9] 88 0.98%
yellow [10:29] 163 1.81%
greenyellow [30:49] 18 0.20%
lawngreen 50+ 3062 34.1%
All colors 8968 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
222 5318 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 05318 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_12string_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_12hash_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
222 5612 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 05612 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_12string_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_19parent_hash_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
222 5906 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 05906 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_12string_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_14serial_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
222 6200 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 06200 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_12string_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_16via_port_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
222 6896 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 06896 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_12string_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_25with_connect_type_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
149 7190 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 07190 _ZN3tao5pegtl8internal3seqIJN8usbguard10RuleParser9conditionENS1_4starINS0_4plusINS0_5ascii5blankEJEEEJS5_EEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_17condition_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS8_3eol7lf_crlfENSt3__112basic_stringIcNSP_11char_traitsIcEENSP_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
143 6494 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 06494 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_15interface_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_22with_interface_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
138 4465 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 04465 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_12string_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_12name_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
129 8102 void usbguard::RuleParser::label_actions ::apply , std::__1::allocator > > > >(tao::pegtl::internal::action_input , std::__1::allocator > > > const&, usbguard::Rule&) call site: 08102 _ZN3tao5pegtl6normalINS0_4listIN8usbguard10RuleParser12string_valueENS0_4plusINS0_5ascii5blankEJEEEvEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_13label_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS7_3eol7lf_crlfENSt3__112basic_stringIcNSN_11char_traitsIcEENSN_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
116 7564 void tao::pegtl::state_control ::control >::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 07564 _ZN3tao5pegtl6normalIN8usbguard10RuleParser9characterILc41EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE2ETtTpTyENS3_17condition_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEEEEJRNS2_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
97 3761 void tao::pegtl::state_control ::control , usbguard::RuleParser::device_id> >::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 03761 _ZN3tao5pegtl8internal3optIJNS1_3seqIJNS0_4plusINS0_5ascii5blankEJEEENS0_4listIN8usbguard10RuleParser15rule_attributesES7_vEEEEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENSA_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS5_3eol7lf_crlfENSt3__112basic_stringIcNSR_11char_traitsIcEENSR_9allocatorIcEEEEEEJRNS9_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_
95 3859 void tao::pegtl::state_control ::control ::failure , std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string , std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&) call site: 03859 _ZN3tao5pegtl6normalINS0_3sorIJN8usbguard10RuleParser24attribute_value_multisetINS4_15device_id_valueEEES6_EEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_10id_actionsETtTpTyENS0_13state_controlIS1_E4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_

Runtime coverage analysis

Covered functions
2822
Functions that are reachable but not covered
5777
Reachable functions
10250
Percentage of reachable functions covered
43.64%
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/usbguard/src/Tests/Fuzzers/fuzzer-rules.cpp 1
/src/usbguard/src/Library/public/usbguard/RuleParser.cpp 1
/src/usbguard/src/Library/public/usbguard/Rule.cpp 18
/src/usbguard/./src/Common/Utility.hpp 4
/src/usbguard/src/Library/RulePrivate.cpp 15
/src/usbguard/src/Library/RulePrivate.hpp 2
/src/usbguard/./src/Library/public/usbguard/Rule.hpp 13
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/string_input.hpp 4
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../memory_input.hpp 19
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/iterator.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/parse.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/normal.hpp 1338
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/match.hpp 2747
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/marker.hpp 8
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 126
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/star.hpp 48
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/one.hpp 28
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/peek_char.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/input_pair.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/bump_help.hpp 39
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/bump.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/opt.hpp 32
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/sor.hpp 168
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/if_must.hpp 66
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/must.hpp 68
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/not_at.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/eof.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/any.hpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/demangle.hpp 140
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/parse_error.hpp 8
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/position.hpp 8
/src/usbguard/./src/Library/RuleParser/Actions.hpp 33
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/string.hpp 22
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/action_input.hpp 8
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/plus.hpp 22
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/rep.hpp 24
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/ranges.hpp 14
/src/usbguard/src/Library/public/usbguard/USB.cpp 5
/src/usbguard/src/Library/public/usbguard/Rule.hpp 16
/src/usbguard/./src/Library/public/usbguard/USB.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/action.hpp 20
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/until.hpp 16
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/range.hpp 2
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/rep_opt.hpp 16
/src/usbguard/src/Library/Utility.cpp 1
/src/usbguard/src/Common/Utility.cpp 2
/src/usbguard/src/Library/public/usbguard/RuleCondition.cpp 6
/src/usbguard/src/Library/AllowedMatchesCondition.cpp 1
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/trace.hpp 592
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/shuffle_states.hpp 1200
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/state_control.hpp 600
/src/usbguard/src/Library/public/usbguard/RuleParser.hpp 6
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/src/usbguard/src/Library/LocaltimeCondition.cpp 3
/src/usbguard/src/Library/public/usbguard/Logger.cpp 8
/src/usbguard/./src/Library/public/usbguard/Logger.hpp 2
/src/usbguard/./src/Library/public/usbguard/Exception.hpp 1
/src/usbguard/src/Library/FixedStateCondition.cpp 1
/src/usbguard/src/Library/RandomStateCondition.cpp 1
/src/usbguard/src/Library/RuleAppliedCondition.cpp 2
/src/usbguard/src/Library/RuleEvaluatedCondition.cpp 2
/src/usbguard/./src/Library/public/usbguard/RuleCondition.hpp 1

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
usbguard::RulePrivate::appliesToWithConditions(usbguard::Ruleconst&,bool) /src/usbguard/src/Library/RulePrivate.cpp 3 ['N/A', 'N/A', 'bool'] 10 0 191 38 29 203 0 1075 956
usbguard::symlinkPath(std::__1::basic_string ,std::__1::allocator >const&,stat*) /src/usbguard/src/Common/Utility.cpp 3 ['N/A', 'N/A', 'N/A'] 3 0 545 111 94 44 0 209 112
usbguard::USBDescriptorParserHooks::parseUSBDescriptor(usbguard::USBDescriptorParser*,usbguard::USBDescriptorconst*,usbguard::USBDescriptor*) /src/usbguard/src/Library/public/usbguard/USB.cpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 498 101 75 50 0 188 91

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
98.0%
8459 / 8653
Cyclomatic complexity statically reachable by fuzzers
97.0%
30351 / 31376

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

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

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.

/src/usbguard/src/Tests/Fuzzers/fuzzer-usb-descriptor.cpp

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=['LLVMFuzzerTestOneInput']

/src/usbguard/src/Tests/Fuzzers/fuzzer-uevent.cpp

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=['void usbguard::parseUEventFromString(std::__1::basic_string, std::__1::allocator > const&, usbguard::UEvent&, bool)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)', '_ZN3tao5pegtl5matchIN8usbguard12UEventParser7grammarELNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS3_7actionsETtTpTyENS0_6normalENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEEJRNS2_6UEventEEEEDaRT4_DpOT5_', 'void tao::pegtl::state_control::control >::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)', 'void tao::pegtl::state_control::control >::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)', 'void tao::pegtl::state_control::control >::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)', 'void tao::pegtl::state_control::control >::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)', 'void tao::pegtl::state_control::control >::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::UEvent&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::UEvent&)']

/src/usbguard/src/Tests/Fuzzers/fuzzer-rules.cpp

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=['void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void tao::pegtl::state_control::control::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)', 'void usbguard::RuleParser::label_actions::apply, std::__1::allocator > > > >(tao::pegtl::internal::action_input, std::__1::allocator > > > const&, usbguard::Rule&)', 'void tao::pegtl::state_control::control >::failure, std::__1::allocator > >, tao::pegtl::tracer >, usbguard::Rule&>(tao::pegtl::string_input<(tao::pegtl::tracking_mode)0, tao::pegtl::ascii::eol::lf_crlf, std::__1::basic_string, std::__1::allocator > > const&, tao::pegtl::tracer >&, usbguard::Rule&)']

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/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/bump.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/demangle.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/normal.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/position.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/one.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/state_control.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Library/public/usbguard/Rule.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/src/Library/RuleEvaluatedCondition.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/src/Library/public/usbguard/Rule.hpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/plus.hpp ['fuzzer-rules'] []
/src/usbguard/src/Tests/Fuzzers/fuzzer-rules.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/parse.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/must.hpp ['fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/opt.hpp ['fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/rep_opt.hpp ['fuzzer-rules'] []
/src/usbguard/src/Library/public/usbguard/USB.hpp [] []
/src/usbguard/src/Library/RulePrivate.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/src/Tests/Fuzzers/fuzzer-usb-descriptor.cpp ['fuzzer-usb-descriptor'] ['fuzzer-usb-descriptor']
/src/usbguard/src/Library/Utility.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/parse_error.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/action.hpp ['fuzzer-rules'] []
/src/usbguard/./src/Library/public/usbguard/Exception.hpp ['fuzzer-rules'] []
/src/usbguard/src/Library/AllowedMatchesCondition.cpp ['fuzzer-rules'] ['fuzzer-rules']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/usbguard/src/Library/public/usbguard/RuleParser.hpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/string_input.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Library/LocaltimeCondition.hpp [] []
/src/usbguard/src/Library/FixedStateCondition.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/bump_help.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/Common/ByteOrder.hpp [] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/input_pair.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/peek_char.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Library/UEventParser.cpp ['fuzzer-uevent'] ['fuzzer-uevent']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/trace.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/Library/RulePrivate.hpp [] ['fuzzer-rules']
/usr/local/bin/../include/c++/v1/__exception/exception.h ['fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../memory_input.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Tests/Fuzzers/../../../src/Library/public/usbguard/USB.hpp ['fuzzer-usb-descriptor'] []
/src/usbguard/./src/Library/public/usbguard/USB.hpp ['fuzzer-rules'] []
/src/usbguard/./src/Library/public/usbguard/Predicates.hpp [] []
/src/usbguard/./src/Library/RuleParser/Actions.hpp ['fuzzer-rules'] []
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h [] []
/src/usbguard/src/Library/public/usbguard/Logger.cpp ['fuzzer-uevent', 'fuzzer-rules'] ['fuzzer-uevent', 'fuzzer-rules']
/src/usbguard/src/Library/RandomStateCondition.hpp [] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/shuffle_states.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/if_must.hpp ['fuzzer-rules'] []
/src/usbguard/src/Library/RandomStateCondition.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/star.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/range.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/Library/public/usbguard/Rule.hpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/src/Tests/Fuzzers/fuzzer-uevent.cpp ['fuzzer-uevent'] ['fuzzer-uevent']
/src/usbguard/./src/Library/public/usbguard/RuleCondition.hpp ['fuzzer-rules'] []
/src/usbguard/src/Library/public/usbguard/USB.cpp ['fuzzer-usb-descriptor', 'fuzzer-rules'] ['fuzzer-usb-descriptor', 'fuzzer-rules']
/src/usbguard/src/Library/FixedStateCondition.hpp [] []
/src/usbguard/src/Library/public/usbguard/RuleParser.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/match.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/marker.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/eof.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/usr/local/bin/../include/c++/v1/string [] []
/src/usbguard/src/Common/Utility.cpp ['fuzzer-uevent', 'fuzzer-rules'] ['fuzzer-uevent', 'fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/ranges.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/not_at.hpp ['fuzzer-rules'] []
/src/usbguard/src/Library/RuleAppliedCondition.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/any.hpp ['fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/action_input.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Library/RuleAppliedCondition.hpp [] []
/src/usbguard/src/Library/public/usbguard/RuleCondition.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/src/Library/AllowedMatchesCondition.hpp [] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/until.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Library/UEvent.cpp ['fuzzer-uevent'] ['fuzzer-uevent']
/src/usbguard/src/Library/RuleEvaluatedCondition.hpp [] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/sor.hpp ['fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/string.hpp ['fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/rep.hpp ['fuzzer-rules'] []
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/iterator.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Library/RulePrivate.hpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/Common/Utility.hpp ['fuzzer-uevent', 'fuzzer-rules'] []
/src/usbguard/src/Tests/Fuzzers/../../../src/Library/UEvent.hpp ['fuzzer-uevent'] []
/src/usbguard/src/Library/LocaltimeCondition.cpp ['fuzzer-rules'] ['fuzzer-rules']
/src/usbguard/./src/Library/public/usbguard/Logger.hpp ['fuzzer-uevent', 'fuzzer-rules'] []

Directories in report

Directory
/src/usbguard/./src/Library/RuleParser/
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/
/src/usbguard/src/Tests/Fuzzers/../../../src/Library/
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../
/src/usbguard/src/Library/
/src/usbguard/src/Tests/Fuzzers/../../../src/Library/public/usbguard/
/usr/local/bin/../include/c++/v1/__exception/
/src/usbguard/./src/Library/
/src/usbguard/src/Tests/Fuzzers/
/usr/include/x86_64-linux-gnu/bits/
/src/usbguard/./src/Library/public/usbguard/
/src/usbguard/src/Library/public/usbguard/
/src/usbguard/./src/Common/
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/
/usr/local/bin/../include/c++/v1/
/src/usbguard/src/Common/
/src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/