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: /src/rsyslog/conftest.c

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_imtcp_session

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_rsyslog_message

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
load /src/rsyslog/runtime/rsconf.c 2 ['N/A', 'N/A'] 25 0 421 88 34 1216 0 9451 9189
ZSTD_compressBlock_btlazy2_extDict /src/zstd/lib/compress/zstd_lazy.c 5 ['N/A', 'N/A', 'N/A', 'N/A', 'size_t'] 7 0 4667 611 567 106 0 3497 3497
processMsg /src/rsyslog/tools/omfwd.c 2 ['N/A', 'N/A'] 25 0 311 49 18 477 0 3390 3189
rsyslogd_main /src/rsyslog/tools/rsyslogd.c 2 ['int', 'N/A'] 20 0 109 17 6 1022 0 6025 1943
activate /src/rsyslog/runtime/rsconf.c 1 ['N/A'] 18 0 144 28 12 605 0 4129 1778
ZSTD_compressBlock_lazy2_extDict_row /src/zstd/lib/compress/zstd_lazy.c 5 ['N/A', 'N/A', 'N/A', 'N/A', 'size_t'] 7 0 4667 611 567 106 0 3497 567
ZSTD_compressBlock_lazy2_extDict /src/zstd/lib/compress/zstd_lazy.c 5 ['N/A', 'N/A', 'N/A', 'N/A', 'size_t'] 7 0 4667 611 567 106 0 3497 567

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

Functions statically reachable by fuzzers
65.0%
2082 / 3209
Cyclomatic complexity statically reachable by fuzzers
65.0%
20742 / 31929

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
[] []
/src/libfastjson/debug.c [] []
/src/rsyslog/tools/iminternal.c [] []
/src/rsyslog/tools/omusrmsg.c [] []
/src/zlib/zutil.c [] []
/src/zstd/lib/compress/zstd_compress_literals.c [] []
/src/zstd/lib/compress/zstd_compress.c [] []
/src/rsyslog/runtime/datetime.c ['fuzz_rsyslog_message'] []
/src/zlib/trees.c [] []
/src/rsyslog/runtime/debug.c ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/timezones.c [] []
/src/zstd/lib/common/bitstream.h [] []
/src/libestr/src/string.c [] []
/src/zstd/lib/compress/../common/bits.h [] []
/src/zstd/lib/compress/../common/fse.h [] []
/src/zstd/lib/compress/zstd_double_fast.c [] []
/src/zlib/inftrees.c [] []
/src/zstd/lib/compress/hist.c [] []
/src/rsyslog/runtime/segdisk_store.c [] []
/src/rsyslog/runtime/janitor.c [] []
/src/rsyslog/runtime/strgen.c [] []
/src/rsyslog/runtime/threads.c [] []
/src/rsyslog/runtime/./net.h [] []
/src/rsyslog/runtime/segdisk_codec.c [] []
/src/rsyslog/tools/omdiscard.c [] []
/src/zstd/lib/common/mem.h [] []
/src/zstd/lib/common/error_private.h [] []
/src/zstd/lib/compress/zstd_ldm.c [] []
/src/rsyslog/tools/fuzz_imtcp_session.c ['fuzz_imtcp_session'] []
/src/zstd/lib/compress/zstd_compress_sequences.c [] []
/src/rsyslog/runtime/dynstats.c [] []
/src/rsyslog/runtime/template.c [] []
/src/rsyslog/runtime/reload-preflight.c [] []
/src/rsyslog/runtime/rsyslog.c [] []
/src/libfastjson/arraylist.c [] []
/src/zstd/lib/common/error_private.c [] []
/src/rsyslog/runtime/modules.c [] []
/src/zlib/uncompr.c [] []
/src/zlib/adler32.c [] []
/src/zlib/inffast.c [] []
/src/rsyslog/runtime/rswatch.c [] []
/src/rsyslog/runtime/./action.h [] []
/work/deps/include/libestr.h [] []
/src/rsyslog/runtime/stream.c [] []
/src/rsyslog/runtime/queue_local_stats.c [] []
/src/zstd/lib/common/xxhash.h [] []
/src/rsyslog/tools/ompipe.c [] []
/src/libfastjson/json_tokener.c [] []
/src/zstd/lib/compress/huf_compress.c [] []
/src/rsyslog/tools/smtradfile.c [] []
/src/rsyslog/runtime/./msg_replace_helper.h [] []
/src/rsyslog/runtime/cfgfiles.c [] []
/src/rsyslog/runtime/./unicode-helper.h ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/./rsyslog.h ['fuzz_rsyslog_message'] []
/src/zstd/lib/compress/../common/cpu.h [] []
/src/zstd/lib/compress/zstd_compress_internal.h [] []
/src/rsyslog/tools/omshell.c [] []
/src/rsyslog/runtime/parser.c ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/operatingstate.c ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/./threads.h [] []
/src/rsyslog/runtime/rsconf.c [] []
/src/rsyslog/runtime/./wti.h [] []
/src/zstd/lib/compress/../common/bitstream.h [] []
/src/rsyslog/runtime/outchannel.c [] []
/src/rsyslog/runtime/ruleset.c [] []
/src/rsyslog/grammar/rainerscript.c [] []
/src/rsyslog/runtime/translate.c [] []
/src/rsyslog/tools/./fuzz_moddir.h [] []
/src/rsyslog/runtime/queue_da.c [] []
/src/rsyslog/runtime/prop.c [] []
/src/rsyslog/runtime/conf.c [] []
/src/rsyslog/conftest.c ['/src/rsyslog/conftest.c'] []
/src/rsyslog/tools/omfile.c [] []
/src/rsyslog/runtime/./batch.h [] []
/src/rsyslog/runtime/segdisk_state.c [] []
/src/libfastjson/json_object_iterator.c [] []
/src/libfastjson/printbuf.c [] []
/src/zlib/deflate.c [] []
/src/zstd/lib/compress/../common/mem.h [] []
/src/rsyslog/grammar/lexer.l [] []
/src/rsyslog/tools/smtradfwd.c [] []
/src/rsyslog/runtime/errmsg.c ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/./msg.h [] []
/src/libfastjson/json_util.c [] []
/src/rsyslog/runtime/dnscache.c [] []
/src/rsyslog/runtime/queue_local.c [] []
/src/rsyslog/runtime/var.c [] []
/src/rsyslog/runtime/perctile_stats.c [] []
/src/rsyslog/runtime/perctile_ringbuf.c [] []
/src/rsyslog/runtime/cfsysline.c [] []
/src/rsyslog/runtime/lookup.c [] []
/src/zlib/compress.c [] []
/src/rsyslog/grammar/../runtime/wti.h [] []
/src/zstd/lib/common/entropy_common.c [] []
/src/zstd/lib/compress/zstd_preSplit.c [] []
/src/libestr/src/../include/libestr.h [] []
/src/zstd/lib/compress/../common/zstd_internal.h [] []
/src/rsyslog/runtime/ratelimit.c [] []
/src/rsyslog/runtime/pri-filter.c [] []
/src/zstd/lib/compress/fse_compress.c [] []
/src/rsyslog/tools/rsyslogd.c [] []
/src/rsyslog/runtime/statsobj.c [] []
/src/zstd/lib/compress/zstd_compress_superblock.c [] []
/src/rsyslog/runtime/obj.c [] []
/src/rsyslog/tools/omfwd.c [] []
/src/rsyslog/runtime/stringbuf.c ['fuzz_rsyslog_message'] []
/src/zstd/lib/compress/../common/error_private.h [] []
/src/rsyslog/tools/fuzz_rsyslog_message.c ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/objomsr.c [] []
/src/libfastjson/json_object.c ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/action.c [] []
/src/rsyslog/runtime/wtp.c [] []
/src/zstd/lib/common/zstd_common.c [] []
/src/zstd/lib/compress/zstd_cwksp.h [] []
/src/zstd/lib/compress/zstd_lazy.c [] []
/src/rsyslog/runtime/glbl.c ['fuzz_rsyslog_message'] []
/src/rsyslog/runtime/hashtable.c [] []
/src/rsyslog/runtime/hashtable_itr.c [] []
/src/zstd/lib/common/bits.h [] []
/src/zstd/lib/common/fse.h [] []
/src/rsyslog/grammar/lexer.c [] []
/src/rsyslog/runtime/queue.c [] []
/src/zstd/lib/compress/zstd_opt.c [] []
/src/rsyslog/runtime/msg.c ['fuzz_rsyslog_message'] []
/src/rsyslog/tools/pmrfc5424.c ['fuzz_rsyslog_message'] []
/src/rsyslog/tools/smfile.c [] []
/src/zlib/inflate.c [] []
/src/rsyslog/runtime/linkedlist.c [] []
/src/rsyslog/runtime/queue_spsc.c [] []
/src/zstd/lib/compress/../common/allocations.h [] []
/src/rsyslog/tools/pmrfc3164.c ['fuzz_rsyslog_message'] []
/src/zstd/lib/common/fse_decompress.c [] []
/src/rsyslog/runtime/segdisk_crc.c [] []
/src/rsyslog/runtime/parse.c [] []
/src/rsyslog/grammar/grammar.c [] []
/src/rsyslog/tools/smfwd.c [] []
/src/rsyslog/runtime/./queue_lease.h [] []
/src/zlib/crc32.c [] []
/src/rsyslog/runtime/./prop.h [] []
/src/rsyslog/runtime/srutils.c ['fuzz_rsyslog_message'] []
/src/zstd/lib/compress/zstd_fast.c [] []
/src/rsyslog/runtime/wti.c [] []

Directories in report

Directory
/src/zstd/lib/common/
/src/libfastjson/
/src/rsyslog/runtime/./
/src/libestr/src/../include/
/src/zlib/
/src/rsyslog/grammar/../runtime/
/src/rsyslog/tools/./
/src/rsyslog/
/src/rsyslog/tools/
/src/zstd/lib/compress/../common/
/src/rsyslog/grammar/
/src/rsyslog/runtime/
/src/libestr/src/
/src/zstd/lib/compress/
/work/deps/include/