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

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_totp

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_gpgcolon

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_gpgid

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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

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
Pass::recipientsForEditing(QStringconst&,QStringconst&) /src/QtPass/src/pass.cpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 19 0 502 100 86 1623 0 3464 2427
Pass::GenerateGPGKeys(QString) /src/QtPass/src/pass.cpp 2 ['N/A', 'N/A'] 18 0 297 60 47 972 0 1898 842
GpgIdSigner::sign(QStringconst&,QByteArrayconst&,QString*)const /src/QtPass/src/gpgidsigner.cpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 17 0 704 141 125 855 0 1816 461
Pass::Pass() /src/QtPass/src/pass.cpp 1 ['N/A'] 13 0 662 110 92 564 0 923 452
Pass::finished(int,int,QStringconst&,QStringconst&) /src/QtPass/src/pass.cpp 5 ['N/A', 'int', 'int', 'N/A', 'N/A'] 15 0 129 23 22 485 0 870 438
Util::removeTree(QStringconst&) /src/QtPass/src/util.cpp 1 ['N/A'] 10 0 421 90 91 188 1 480 320
QtPrivate::QDataStreamOperatorForType >>,true>::dataStreamIn(QtPrivate::QMetaTypeInterfaceconst*,QDataStream&,void*) /opt/qt/6.8.3/gcc_64/include/QtCore/qmetatype.h 3 ['N/A', 'N/A', 'N/A'] 18 0 20 3 2 361 0 625 319

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

Functions statically reachable by fuzzers
70.0%
1605 / 2294
Cyclomatic complexity statically reachable by fuzzers
71.0%
7530 / 10557

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

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
[] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qswap.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qhash.h [] []
/src/QtPass/src/userinfo.h ['fuzz_gpgcolon'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qcontainertools_impl.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qanystringview.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qfiledevice.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qtsan_impl.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qcomparehelpers.h [] []
/src/QtPass/tests/fuzz/fuzz_gpgcolon.cpp ['fuzz_gpgcolon'] []
/src/QtPass/src/gpgkeystate.cpp ['fuzz_gpgcolon'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qstringtokenizer.h ['fuzz_filecontent'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qlogging.h ['fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qtaggedpointer.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qstringlist.h ['fuzz_filecontent', 'fuzz_totp'] []
/src/QtPass/src/filecontent.cpp ['fuzz_filecontent'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qregularexpression.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qbytearray.h ['fuzz_totp', 'fuzz_gpgid'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/allocator.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qarraydatapointer.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/src/QtPass/src/gpgidsigner.cpp [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qstring.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qstringview.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon'] []
/workspace/out/libfuzzer-introspector-x86_64/.build/./../../../../src/QtPass/src/executor.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qflags.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qlatin1stringview.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qjsonvalue.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qminmax.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/src/QtPass/src/appsettings.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qshareddata_impl.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_construct.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qdir.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qfileinfo.h [] []
/src/QtPass/src/executor.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qdebug.h ['fuzz_gpgid'] []
/src/QtPass/src/totp.h ['fuzz_totp'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qmetacontainer.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qchar.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/alloc_traits.h [] []
/src/QtPass/src/totp.cpp ['fuzz_totp'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/std_function.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qshareddata.h [] []
/src/QtPass/src/executor.cpp [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qmutex.h [] []
/workspace/out/libfuzzer-introspector-x86_64/.build/./../../../../src/QtPass/src/enums.h [] []
/src/QtPass/tests/fuzz/fuzz_filecontent.cpp ['fuzz_filecontent'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qarraydata.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/src/QtPass/src/base32.cpp ['fuzz_totp'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qdatetime.h ['fuzz_gpgcolon'] []
/workspace/out/libfuzzer-introspector-x86_64/.build/moc_pass.cpp [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qobject.h [] []
/workspace/out/libfuzzer-introspector-x86_64/.build/moc_executor.cpp [] []
/src/QtPass/tests/fuzz/fuzz_gpgid.cpp ['fuzz_gpgid'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/array [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qhashfunctions.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qstringconverter_base.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qlist.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/src/QtPass/src/gpgidgeneration.cpp ['fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qobjectdefs_impl.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h [] []
/src/QtPass/src/processinfo.cpp [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/aligned_buffer.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algobase.h [] []
/src/QtPass/src/passwordconfiguration.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qalgorithms.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qbytearrayalgorithms.h ['fuzz_filecontent', 'fuzz_gpgcolon'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qfunctionaltools_impl.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qcontainerfwd.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qobject_impl.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_pair.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/src/QtPass/src/filecontent.h ['fuzz_filecontent'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qbytearrayview.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qtemporaryfile.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qrefcount.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qiterable.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qjsonobject.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qdatastream.h [] []
/src/QtPass/src/util.cpp ['fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qrandom.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/atomic [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/predefined_ops.h [] []
/src/QtPass/src/qtpasslogging.cpp ['fuzz_gpgid'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/tuple [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qqueue.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qfile.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h [] []
/src/QtPass/src/pass.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qmetatype.h [] []
/src/QtPass/src/gpgidsigner.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qscopeguard.h [] []
/src/QtPass/src/pass.cpp ['fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qatomic.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/optional ['fuzz_totp', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qscopedpointer.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qprocess.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qcompare_impl.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qloggingcategory.h ['fuzz_gpgid'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/limits ['fuzz_filecontent'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/atomic_base.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qcompare.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qmap.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/utility [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qatomic_cxx11.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qendian.h ['fuzz_totp'] []
/src/QtPass/tests/fuzz/fuzz_totp.cpp ['fuzz_totp'] []
/src/QtPass/src/gpgidgeneration.h ['fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qarraydataops.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_iterator.h ['fuzz_filecontent', 'fuzz_gpgcolon'] []
/workspace/out/libfuzzer-introspector-x86_64/.build/./../../../../src/QtPass/src/pass.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qstringconverter.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qbasicatomic.h ['fuzz_filecontent', 'fuzz_totp', 'fuzz_gpgcolon', 'fuzz_gpgid'] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qutf8stringview.h [] []
/opt/qt/6.8.3/gcc_64/include/QtCore/qobjectdefs.h [] []

Directories in report

Directory
/opt/qt/6.8.3/gcc_64/include/QtCore/
/src/QtPass/tests/fuzz/
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/
/workspace/out/libfuzzer-introspector-x86_64/.build/./../../../../src/QtPass/src/
/src/QtPass/src/
/workspace/out/libfuzzer-introspector-x86_64/.build/
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/