Project: usbguard

Language c++
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 3
Lines of code 3564
Lines covered 1462
Code coverage 41.02%
Code coverage report Report link
Static reachability 93.06%
Fuzz Introspector report Report link (from 2024-11-08)

Historical progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
_ZN3tao5pegtl8internal3seqIJNS0_3optIJN8usbguard10RuleParser17multiset_operatorENS0_4plusINS0_5ascii5blankEJEEEEEENS8_3oneIJLc123EEEENS0_4starIS9_JEEENS0_4listINS5_9conditionESA_vEESF_NSC_IJLc125EEEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS5_17condition_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS8_3eol7lf_crlfENSt3__112basic_stringIcNSX_11char_traitsIcEENSX_9allocatorIcEEEEEEJRNS4_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 26232 0.0%
_ZN3tao5pegtl8internal3seqIJN8usbguard10RuleParser6str_ifENS0_4plusINS0_5ascii5blankEJEEENS0_3sorIJNS4_24attribute_value_multisetINS4_9conditionEEESC_EEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS4_17condition_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS7_3eol7lf_crlfENSt3__112basic_stringIcNSS_11char_traitsIcEENSS_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 26220 0.0%
_ZN3tao5pegtl5matchIN8usbguard10RuleParser9conditionELNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS3_17condition_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEEJRNS2_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEDaRT4_DpOT5_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/match.hpp 26220 0.0%
_ZN3tao5pegtl8internal5untilINS0_3eofEJNS0_4mustIJNS0_3sorIJN8usbguard10RuleParser7commentENS7_4ruleEEEEEEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS7_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSQ_11char_traitsIcEENSQ_9allocatorIcEEEEEEJRNS6_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/../internal/until.hpp 26220 0.0%
_ZN3tao5pegtl8internal3sorIJN8usbguard10RuleParser12id_attributeENS4_14name_attributeENS4_14hash_attributeENS4_21parent_hash_attributeENS4_16serial_attributeENS4_18via_port_attributeENS4_24with_interface_attributeENS4_27with_connect_type_attributeENS4_19condition_attributeENS4_15label_attributeEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeEJLm0ELm1ELm2ELm3ELm4ELm5ELm6ELm7ELm8ELm9EENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNST_11char_traitsIcEENST_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbNST_16integer_sequenceImJXspT3_EEEERT4_DpOT5_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/sor.hpp 26217 0.0%
_ZN3tao5pegtl8internal3seqIJNS0_4plusINS0_5ascii5blankEJEEEN8usbguard10RuleParser15rule_attributesEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS8_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS4_3eol7lf_crlfENSt3__112basic_stringIcNSN_11char_traitsIcEENSN_9allocatorIcEEEEEEJRNS7_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 26216 0.0%
_ZN3tao5pegtl8internal3seqIJNS0_4plusINS0_5ascii5blankEJEEEN8usbguard10RuleParser9conditionEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS8_17condition_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS4_3eol7lf_crlfENSt3__112basic_stringIcNSN_11char_traitsIcEENSN_9allocatorIcEEEEEEJRNS7_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 26216 0.0%
_ZN3tao5pegtl8internal3seqIJNS0_4plusINS0_5ascii5blankEJEEENS0_4listIN8usbguard10RuleParser15rule_attributesES6_vEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS9_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS4_3eol7lf_crlfENSt3__112basic_stringIcNSP_11char_traitsIcEENSP_9allocatorIcEEEEEEJRNS8_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 26216 0.0%
usbguard::Rule::fromString(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&) /src/usbguard/src/Library/public/usbguard/Rule.cpp 26214 0.0%
_ZN3tao5pegtl8internal20match_control_unwindIN8usbguard10RuleParser15rule_attributesELNS0_10apply_modeE1ELNS0_11rewind_modeE0ETtTpTyENS4_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSI_11char_traitsIcEENSI_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEDaRT4_DpOT5_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/match.hpp 26213 0.0%