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 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
fuzzer-rules 35.68% (avg: 35.68%, max: 35.68%) 2025-03-27
fuzzer-uevent 26.34% (avg: 26.34%, max: 26.34%) 2025-03-27
fuzzer-usb-descriptor 18.58% (avg: 18.58%, max: 18.58%) 2025-03-27

Historical Progression

Per Fuzzer 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
_ZN3tao5pegtl6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEE5parseIN8usbguard10RuleParser12rule_grammarETtTpTyENS7_19rule_parser_actionsETtTpTyENS0_6normalERNS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEEJRNS6_4RuleEEEEbOT2_DpOT3_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/trace.hpp 26206 0.0%
_ZN3tao5pegtl14complete_traceIN8usbguard10RuleParser12rule_grammarETtTpTyENS3_19rule_parser_actionsETtTpTyENS0_6normalERNS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEEJRNS2_4RuleEEEEbOT2_DpOT3_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/trace.hpp 26206 0.0%
_ZN3tao5pegtl5parseIN8usbguard10RuleParser12rule_grammarETtTpTyENS3_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeELNS0_10apply_modeE1ELNS0_11rewind_modeE1ERNS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEEJRNS2_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEDaOT4_DpOT5_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/parse.hpp 26204 0.0%
_ZN3tao5pegtl8internal6actionIN8usbguard10RuleParser17condition_actionsEJNS4_14rule_attributeINS4_6str_ifENS4_9conditionEEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE1ETtTpTyENS4_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/action.hpp 26168 0.0%
_ZN3tao5pegtl8internal3optIJNS1_3seqIJNS0_4plusINS0_5ascii5blankEJEEENS0_4listIN8usbguard10RuleParser15rule_attributesES7_vEEEEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE2ETtTpTyENSA_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS5_3eol7lf_crlfENSt3__112basic_stringIcNSR_11char_traitsIcEENSR_9allocatorIcEEEEEEJRNS9_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/opt.hpp 26148 0.0%
_ZN3tao5pegtl14shuffle_statesINS0_13state_controlINS0_6normalEE7controlIN8usbguard10RuleParser9conditionEEENS0_8internal12rotate_rightILm1EEEE5applyITtTpTyENS7_17condition_actionsENSA_8iteratorENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEEJRNS6_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEDTcl10apply_implIT_Efp_fp0_clsr3stdE3tiespfp1_Ecv18__make_integer_seqINSM_16integer_sequenceEmXsZfp1_EE_EEERKT0_RKT1_DpOT2_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/shuffle_states.hpp 26146 0.0%
_ZN3tao5pegtl14shuffle_statesINS0_13state_controlINS0_6normalEE7controlIN8usbguard10RuleParser9conditionEEENS0_8internal12rotate_rightILm1EEEE10apply_implITtTpTyENS7_17condition_actionsENSA_8iteratorENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSM_11char_traitsIcEENSM_9allocatorIcEEEEEENSM_5tupleIJRNS6_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEJLm0ELm1EEEEDTclsrS9_5applyIT_Efp_fp0_spclsr3stdE3getIXsrSC_5valueIXT3_EXsZT3_EEEEfp1_EEERKT0_RKT1_RKT2_NSM_16integer_sequenceImJXspT3_EEEE /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/shuffle_states.hpp 26146 0.0%
_ZN3tao5pegtl13state_controlINS0_6normalEE7controlIN8usbguard10RuleParser9conditionEE5applyITtTpTyENS6_17condition_actionsENS0_8internal8iteratorENS0_12string_inputILNS0_13tracking_modeE0ENS0_5ascii3eol7lf_crlfENSt3__112basic_stringIcNSI_11char_traitsIcEENSI_9allocatorIcEEEEEENS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEJRNS5_4RuleEEEEDTclsrS2_IS7_EE5applyIT_Efp_fp0_spfp2_EERKT0_RKT1_RT2_DpOT3_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/contrib/state_control.hpp 26146 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 26128 0.0%
_ZN3tao5pegtl8internal3seqIJN8usbguard10RuleParser6targetENS0_3optIJNS0_4plusINS0_5ascii5blankEJEEENS4_9device_idEEEENS6_IJSA_NS0_4listINS4_15rule_attributesESA_vEEEEENS6_IJNS4_7commentEEEEEE5matchILNS0_10apply_modeE1ELNS0_11rewind_modeE2ETtTpTyENS4_19rule_parser_actionsETtTpTyENS0_13state_controlINS0_6normalEE4typeENS0_12string_inputILNS0_13tracking_modeE0ENS8_3eol7lf_crlfENSt3__112basic_stringIcNSW_11char_traitsIcEENSW_9allocatorIcEEEEEEJRNS3_4RuleERNS0_6tracerINS0_13tracer_traitsILb0ELb1ELm2ELm8EEEEEEEEbRT3_DpOT4_ /src/usbguard/./src/ThirdParty/PEGTL/include/tao/pegtl/internal/seq.hpp 26085 0.0%