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

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
ogs_gtp_send_error_message /src/open5gs/builddir/../lib/gtp/path.c 4 ['N/A', 'int', 'char', 'char'] 13 0 52 7 8 103 0 630 480
ogs_nas_esm_decode /src/open5gs/builddir/../lib/nas/eps/decoder.c 2 ['N/A', 'N/A'] 7 0 653 87 23 84 0 462 356
ogs_gtp_context_parse_config /src/open5gs/builddir/../lib/gtp/context.c 2 ['N/A', 'N/A'] 7 0 1990 434 105 82 0 459 320
ogs_app_initialize /src/open5gs/builddir/../lib/app/ogs-init.c 3 ['N/A', 'N/A', 'N/A'] 18 0 482 74 16 112 0 448 245
ogs_app_parse_session_conf /src/open5gs/builddir/../lib/app/ogs-config.c 2 ['N/A', 'N/A'] 16 0 1125 239 55 50 0 283 162
ogs_app_config_session_data /src/open5gs/builddir/../lib/app/ogs-config.c 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 15 0 1057 161 21 48 0 173 71
eps_qos_build /src/open5gs/builddir/../lib/nas/common/types.c 6 ['N/A', 'char', 'size_t', 'size_t', 'size_t', 'size_t'] 1 0 238 27 10 1 0 63 63
ogs_gtp_xact_receive /src/open5gs/builddir/../lib/gtp/xact.c 3 ['N/A', 'N/A', 'N/A'] 10 0 410 61 12 83 0 388 63
ogs_app_parse_local_conf /src/open5gs/builddir/../lib/app/ogs-config.c 1 ['N/A'] 15 0 837 194 46 43 0 176 61
ogs_getopt_long /src/open5gs/builddir/../lib/core/ogs-getopt.c 3 ['N/A', 'N/A', 'N/A'] 3 0 300 40 15 13 1 89 59

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

Functions statically reachable by fuzzers
49.0%
381 / 774
Cyclomatic complexity statically reachable by fuzzers
65.0%
2733 / 4200

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/open5gs/builddir/../lib/core/ogs-poll.c [] []
/src/open5gs/builddir/../lib/gtp/v1/path.c [] []
/src/open5gs/builddir/../lib/app/ogs-yaml.c [] []
/src/open5gs/builddir/../lib/core/ogs-abort.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/gtp/context.c [] []
/src/open5gs/builddir/../lib/core/ogs-errno.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/app/ogs-config.c [] []
/src/open5gs/builddir/../lib/gtp/path.c [] []
/src/open5gs/builddir/../lib/core/ogs-log.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-env.c [] []
/src/open5gs/builddir/../lib/core/ogs-conv.c [] []
/src/open5gs/builddir/../lib/core/ogs-tlv-msg.c ['gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-notify.c [] []
/src/open5gs/builddir/../lib/core/ogs-queue.c [] []
/src/open5gs/builddir/../lib/core/ogs-conv.h [] []
/src/open5gs/builddir/../lib/core/ogs-list.h ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/nas/common/types.c [] []
/src/open5gs/builddir/../lib/core/ogs-time.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/app/ogs-context.c [] []
/src/open5gs/builddir/../lib/core/ogs-pkbuf.h ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/proto/types.c [] []
/src/open5gs/builddir/../lib/core/ogs-hash.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../tests/fuzzing/gtp-message-fuzz.c ['gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/gtp/v1/build.c [] []
/src/open5gs/builddir/../lib/core/ogs-memory.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-rbtree.h ['gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/app/ogs-init.c [] []
/src/open5gs/builddir/../lib/gtp/v2/build.c [] []
/src/open5gs/builddir/../lib/core/ogs-udp.c [] []
/src/open5gs/builddir/../lib/core/ogs-epoll.c [] []
/src/open5gs/builddir/../lib/core/ogs-socket.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-tlv.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-pkbuf.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-core.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-sockopt.c [] []
/src/open5gs/builddir/../lib/gtp/v2/path.c [] []
/src/open5gs/builddir/../tests/fuzzing/nas-message-fuzz.c ['nas_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-strings.c ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-timer.c [] []
/src/open5gs/builddir/../lib/core/ogs-sockaddr.c [] []
/src/open5gs/builddir/../lib/core/ogs-rbtree.c ['gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/gtp/v1/message.c [] []
/src/open5gs/builddir/../lib/gtp/v2/message.c ['gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/core/ogs-socknode.c [] []
/src/open5gs/builddir/../lib/core/ogs-thread.h [] []
/src/open5gs/builddir/../lib/gtp/xact.c [] []
/src/open5gs/builddir/../lib/core/ogs-getopt.c [] []
/src/open5gs/builddir/../lib/nas/eps/ies.c ['nas_message_fuzz'] []
/src/open5gs/builddir/../lib/nas/eps/decoder.c ['nas_message_fuzz'] []
/src/open5gs/builddir/../tests/fuzzing/fuzzing.h ['nas_message_fuzz', 'gtp_message_fuzz'] []
/src/open5gs/builddir/../lib/gtp/v2/conv.c [] []

Directories in report

Directory
/usr/include/x86_64-linux-gnu/bits/
/src/open5gs/builddir/../lib/gtp/v1/
/src/open5gs/builddir/../lib/gtp/
/src/open5gs/builddir/../lib/proto/
/src/open5gs/builddir/../lib/nas/common/
/src/open5gs/builddir/../lib/gtp/v2/
/src/open5gs/builddir/../tests/fuzzing/
/src/open5gs/builddir/../lib/nas/eps/
/src/open5gs/builddir/../lib/core/
/src/open5gs/builddir/../lib/app/