Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues
Report generation date: 2025-08-26

Project overview: mosquitto

High level conclusions

Reachability and coverage overview

Functions statically reachable by fuzzers
9.0%
323 / 3672
Cyclomatic complexity statically reachable by fuzzers
15.0%
1683 / 11028
Runtime code coverage of functions
10.0%
373 / 3672

Warning: The number of runtime covered functions are larger than the number of reachable functions. This means that Fuzz Introspector found there are more functions covered at runtime than what is considered reachable based on the static analysis. This is a limitation in the analysis as anything covered at runtime is by definition reachable by the fuzzers.
This is likely due to a limitation in the static analysis. In this case, the count of functions covered at runtime is the true value, which means this is what should be considered "achieved" by the fuzzer.

Use the project functions table below to query all functions that were not covered at runtime.

Fuzzers overview

Fuzzer Fuzzer filename Functions Reached Functions unreached Fuzzer depth Files reached Basic blocks reached Cyclomatic complexity Details
libcommon_fuzz_sub_topic_check2 mosquitto/fuzzing/libcommon/libcommon_fuzz_sub_topic_check2.cpp 2 3671 1 1 9 15 libcommon_fuzz_sub_topic_check2.cpp
mosquitto_passwd_fuzz_load mosquitto/fuzzing/apps/mosquitto_passwd/mosquitto_passwd_fuzz_load.cpp 18 3668 4 2 9 4 mosquitto_passwd_fuzz_load.cpp
libcommon_fuzz_utf8 mosquitto/fuzzing/libcommon/libcommon_fuzz_utf8.cpp 2 3671 1 1 19 29 libcommon_fuzz_utf8.cpp
broker_fuzz_handle_auth mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 259 3495 11 18 865 765 broker_fuzz_handle_auth.cpp
broker_fuzz_read_handle mosquitto/fuzzing/broker/broker_fuzz_read_handle.cpp 259 3495 11 19 865 765 broker_fuzz_read_handle.cpp
broker_fuzz_queue_msg mosquitto/fuzzing/broker/broker_fuzz_queue_msg.cpp 265 3488 7 10 972 916 broker_fuzz_queue_msg.cpp
db_dump_fuzz_load mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load.cpp 18 3668 4 3 9 4 db_dump_fuzz_load.cpp
broker_fuzz_handle_connect mosquitto/fuzzing/broker/broker_fuzz_handle_connect.cpp 259 3495 11 19 865 765 broker_fuzz_handle_connect.cpp
broker_fuzz_password_file mosquitto/fuzzing/broker/broker_fuzz_password_file.cpp 292 3486 7 21 1016 927 broker_fuzz_password_file.cpp
broker_fuzz_handle_publish mosquitto/fuzzing/broker/broker_fuzz_handle_publish.cpp 259 3495 11 19 865 765 broker_fuzz_handle_publish.cpp
broker_fuzz_psk_file mosquitto/fuzzing/broker/broker_fuzz_psk_file.cpp 292 3486 7 21 1016 927 broker_fuzz_psk_file.cpp
db_dump_fuzz_load_client_stats mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_client_stats.cpp 18 3668 4 3 9 4 db_dump_fuzz_load_client_stats.cpp
broker_fuzz_handle_subscribe mosquitto/fuzzing/broker/broker_fuzz_handle_subscribe.cpp 259 3495 11 19 865 765 broker_fuzz_handle_subscribe.cpp
mosquitto/fuzzing/broker/broker_fuzz.cpp mosquitto/fuzzing/broker/broker_fuzz.cpp 14 3672 1 1 3 3 broker_fuzz.cpp
libcommon_fuzz_topic_tokenise mosquitto/fuzzing/libcommon/libcommon_fuzz_topic_tokenise.cpp 18 3664 3 3 22 24 libcommon_fuzz_topic_tokenise.cpp
broker_fuzz_acl_file mosquitto/fuzzing/broker/broker_fuzz_acl_file.cpp 292 3486 7 21 1016 927 broker_fuzz_acl_file.cpp
mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp 13 3671 2 1 5 4 broker_fuzz_with_init.cpp
broker_fuzz_handle_unsubscribe mosquitto/fuzzing/broker/broker_fuzz_handle_unsubscribe.cpp 259 3495 11 19 865 765 broker_fuzz_handle_unsubscribe.cpp
cJSON/fuzzing/cjson_read_fuzzer.c cJSON/fuzzing/cjson_read_fuzzer.c 67 3630 6 3 265 311 cjson_read_fuzzer.c
libcommon_fuzz_pub_topic_check2 mosquitto/fuzzing/libcommon/libcommon_fuzz_pub_topic_check2.cpp 2 3671 1 1 6 8 libcommon_fuzz_pub_topic_check2.cpp
broker_fuzz_test_config mosquitto/fuzzing/broker/broker_fuzz_test_config.cpp 19 3668 4 2 10 6 broker_fuzz_test_config.cpp
db_dump_fuzz_load_stats mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_stats.cpp 18 3668 4 2 9 4 db_dump_fuzz_load_stats.cpp
dynsec_fuzz_load mosquitto/fuzzing/plugins/dynamic-security/dynsec_fuzz_load.cpp 236 3527 7 12 802 670 dynsec_fuzz_load.cpp

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

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 100.%
All colors 2 100

Runtime coverage analysis

Covered functions
2
Functions that are reachable but not covered
0
Reachable functions
2
Percentage of reachable functions covered
100.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/libcommon/libcommon_fuzz_sub_topic_check2.cpp 2

Fuzzer: mosquitto_passwd_fuzz_load

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 16 64.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 9 36.0%
All colors 25 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
16 7 LLVMFuzzerTestOneInput call site: 00007 free

Runtime coverage analysis

Covered functions
27
Functions that are reachable but not covered
16
Reachable functions
18
Percentage of reachable functions covered
11.11%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/apps/mosquitto_passwd/mosquitto_passwd_fuzz_load.cpp 12
mosquitto/libcommon/memory_common.c 6

Fuzzer: libcommon_fuzz_utf8

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 100.%
All colors 2 100

Runtime coverage analysis

Covered functions
2
Functions that are reachable but not covered
0
Reachable functions
2
Percentage of reachable functions covered
100.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/libcommon/libcommon_fuzz_utf8.cpp 2

Fuzzer: broker_fuzz_handle_auth

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 168 74.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 58 25.6%
All colors 226 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
55 78 fuzz_packet_read_base call site: 00078 bridge__cleanup
53 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
17 175 db__messages_delete_list call site: 00175 context__send_will
12 158 context__cleanup call site: 00158 tmp_remove_subs
8 207 context__cleanup call site: 00207 context__remove_from_by_id
7 70 fuzz_packet_read_cleanup call site: 00070 trigger_alloc_mismatch
3 142 context__cleanup call site: 00142 DL_DELETE2
3 198 mosquitto_property_free call site: 00198 mosquitto_FREE
3 218 context__cleanup call site: 00218 mosquitto_FREE
2 148 context__cleanup_out_packets call site: 00148 UNUSED
2 155 context__cleanup call site: 00155 UNUSED
1 60 fuzz_packet_read_base call site: 00060 mosquitto_calloc

Runtime coverage analysis

Covered functions
70
Functions that are reachable but not covered
213
Reachable functions
259
Percentage of reachable functions covered
17.76%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 4
mosquitto/fuzzing/broker/fuzz_packet_read_base.c 11
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/libcommon/memory_common.c 11
mosquittocontext.c 17
mosquittobridge.c 5
mosquittoconf.c 3
mosquitto/lib/alias_mosq.c 3
mosquittokeepalive.c 3
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittosubs.c 6
mosquittodatabase.c 12
mosquittowill_delay.c 3
mosquitto/libcommon/property_common.c 2
mosquitto/lib/packet_mosq.c 1

Fuzzer: broker_fuzz_read_handle

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 158 69.9%
gold [1:9] 0 0.0%
yellow [10:29] 2 0.88%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 66 29.2%
All colors 226 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
53 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
45 88 mosquitto_realloc call site: 00088 config__bridge_cleanup
12 158 context__cleanup call site: 00158 tmp_remove_subs
11 175 db__messages_delete_list call site: 00175 context__send_will
8 69 fuzz_packet_read_base call site: 00069 free
6 208 context__cleanup call site: 00208 HASH_FIND
4 78 fuzz_packet_read_base call site: 00078 bridge__cleanup
3 142 context__cleanup call site: 00142 DL_DELETE2
3 218 context__cleanup call site: 00218 mosquitto_FREE
2 148 context__cleanup_out_packets call site: 00148 UNUSED
2 155 context__cleanup call site: 00155 UNUSED
2 188 db__msg_store_free call site: 00188 mosquitto_FREE

Runtime coverage analysis

Covered functions
156
Functions that are reachable but not covered
198
Reachable functions
259
Percentage of reachable functions covered
23.55%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_read_handle.cpp 2
mosquitto/fuzzing/broker/fuzz_packet_read_base.c 11
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/libcommon/memory_common.c 11
mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 2
mosquittocontext.c 17
mosquittobridge.c 5
mosquittoconf.c 3
mosquitto/lib/alias_mosq.c 3
mosquittokeepalive.c 3
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittosubs.c 6
mosquittodatabase.c 12
mosquittowill_delay.c 3
mosquitto/libcommon/property_common.c 2
mosquitto/lib/packet_mosq.c 1

Fuzzer: broker_fuzz_queue_msg

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 101 82.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 22 17.8%
All colors 123 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
53 3 LLVMFuzzerTestOneInput call site: 00003 mosquitto_fopen
19 103 db__msg_store_clean call site: 00103 db__msg_store_remove
17 78 subhier_clean call site: 00078 sub__tree_print
7 68 LLVMFuzzerTestOneInput call site: 00068 trigger_alloc_mismatch
4 63 LLVMFuzzerTestOneInput call site: 00063 UNUSED
1 100 db__close call site: 00100 UNUSED

Runtime coverage analysis

Covered functions
25
Functions that are reachable but not covered
241
Reachable functions
265
Percentage of reachable functions covered
9.06%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_queue_msg.cpp 10
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquittodatabase.c 13
mosquitto/test/unit/broker/persist_read_stubs.c 1
mosquitto/libcommon/memory_common.c 6
mosquittosubs.c 3
mosquitto/test/unit/broker/subs_stubs.c 1
mosquitto/libcommon/property_common.c 2

Fuzzer: db_dump_fuzz_load

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 12 57.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 9 42.8%
All colors 21 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
12 7 LLVMFuzzerTestOneInput call site: 00007 free

Runtime coverage analysis

Covered functions
66
Functions that are reachable but not covered
16
Reachable functions
18
Percentage of reachable functions covered
11.11%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load.cpp 9
mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_stats.cpp 3
mosquitto/libcommon/memory_common.c 6

Fuzzer: broker_fuzz_handle_connect

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 168 74.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 58 25.6%
All colors 226 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
55 78 fuzz_packet_read_base call site: 00078 bridge__cleanup
53 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
17 175 db__messages_delete_list call site: 00175 context__send_will
12 158 context__cleanup call site: 00158 tmp_remove_subs
8 69 fuzz_packet_read_base call site: 00069 free
6 208 context__cleanup call site: 00208 HASH_FIND
3 142 context__cleanup call site: 00142 DL_DELETE2
3 198 mosquitto_property_free call site: 00198 mosquitto_FREE
3 218 context__cleanup call site: 00218 mosquitto_FREE
2 148 context__cleanup_out_packets call site: 00148 UNUSED
2 155 context__cleanup call site: 00155 UNUSED
1 60 fuzz_packet_read_base call site: 00060 mosquitto_calloc

Runtime coverage analysis

Covered functions
99
Functions that are reachable but not covered
207
Reachable functions
259
Percentage of reachable functions covered
20.08%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_handle_connect.cpp 2
mosquitto/fuzzing/broker/fuzz_packet_read_base.c 11
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/libcommon/memory_common.c 11
mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 2
mosquittocontext.c 17
mosquittobridge.c 5
mosquittoconf.c 3
mosquitto/lib/alias_mosq.c 3
mosquittokeepalive.c 3
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittosubs.c 6
mosquittodatabase.c 12
mosquittowill_delay.c 3
mosquitto/libcommon/property_common.c 2
mosquitto/lib/packet_mosq.c 1

Fuzzer: broker_fuzz_password_file

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 340 62.2%
gold [1:9] 15 2.74%
yellow [10:29] 8 1.46%
greenyellow [30:49] 2 0.36%
lawngreen 50+ 181 33.1%
All colors 546 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
67 325 mosquitto_security_init_default call site: 00325 psk__file_parse
66 258 mosquitto_security_init_default call site: 00258 acl_file__parse
60 472 config__cleanup call site: 00472 config__bridge_cleanup
22 218 password_file__parse call site: 00218 mosquitto_callback_register
19 394 mosquitto_security_cleanup_default call site: 00394 mosquitto_callback_unregister
18 8 LLVMFuzzerTestOneInput call site: 00008 mosquitto_fopen
16 45 mosquitto_fopen call site: 00045 log__printf
8 533 config__cleanup call site: 00533 config__cleanup_plugin_config
6 437 acl_file__cleanup call site: 00437 acl__free_entries
6 450 psk__cleanup call site: 00450 psk__cleanup
4 414 mosquitto_callback_unregister call site: 00414 context__send_will
3 37 mosquitto_fopen call site: 00037

Runtime coverage analysis

Covered functions
43
Functions that are reachable but not covered
250
Reachable functions
292
Percentage of reachable functions covered
14.38%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_password_file.cpp 13
mosquittologging.c 13
mosquitto/libcommon/file_common.c 31
mosquitto/test/unit/tls_stubs.c 1
mosquittosecurity_default.c 11
mosquitto/libcommon/memory_common.c 11
mosquittoconf.c 10
mosquittopassword_file.c 5
mosquitto/plugins/password-file/password_parse.c 20
mosquitto/test/unit/broker/persist_write_stubs.c 1
mosquitto/libcommon/password_common.c 14
mosquitto/libcommon/base64_common.c 12
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquittoacl_file.c 6
mosquitto/plugins/acl-file/acl_parse.c 27
mosquittopsk_file.c 22
mosquittosubs.c 3
mosquittodatabase.c 1
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittowill_delay.c 3

Fuzzer: broker_fuzz_handle_publish

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 164 72.5%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.44%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 61 26.9%
All colors 226 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
55 78 fuzz_packet_read_base call site: 00078 bridge__cleanup
53 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
12 158 context__cleanup call site: 00158 tmp_remove_subs
11 175 db__messages_delete_list call site: 00175 context__send_will
8 69 fuzz_packet_read_base call site: 00069 free
8 207 context__cleanup call site: 00207 context__remove_from_by_id
3 142 context__cleanup call site: 00142 DL_DELETE2
3 218 context__cleanup call site: 00218 mosquitto_FREE
2 148 context__cleanup_out_packets call site: 00148 UNUSED
2 155 context__cleanup call site: 00155 UNUSED
2 188 db__msg_store_free call site: 00188 mosquitto_FREE
1 60 fuzz_packet_read_base call site: 00060 mosquitto_calloc

Runtime coverage analysis

Covered functions
70
Functions that are reachable but not covered
213
Reachable functions
259
Percentage of reachable functions covered
17.76%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_handle_publish.cpp 2
mosquitto/fuzzing/broker/fuzz_packet_read_base.c 11
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/libcommon/memory_common.c 11
mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 2
mosquittocontext.c 17
mosquittobridge.c 5
mosquittoconf.c 3
mosquitto/lib/alias_mosq.c 3
mosquittokeepalive.c 3
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittosubs.c 6
mosquittodatabase.c 12
mosquittowill_delay.c 3
mosquitto/libcommon/property_common.c 2
mosquitto/lib/packet_mosq.c 1

Fuzzer: broker_fuzz_psk_file

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 428 78.3%
gold [1:9] 0 0.0%
yellow [10:29] 3 0.54%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 115 21.0%
All colors 546 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
146 111 mosquitto_trimblanks call site: 00111 password_file__parse
66 258 mosquitto_security_init_default call site: 00258 acl_file__parse
60 472 config__cleanup call site: 00472 config__bridge_cleanup
19 394 mosquitto_security_cleanup_default call site: 00394 mosquitto_callback_unregister
18 8 LLVMFuzzerTestOneInput call site: 00008 mosquitto_fopen
17 369 psk__file_parse call site: 00369 sub__tree_print
16 45 mosquitto_fopen call site: 00045 log__printf
12 414 mosquitto_callback_unregister call site: 00414 context__send_will
10 91 mosquitto_security_init_default call site: 00091 password_file__parse
8 533 config__cleanup call site: 00533 config__cleanup_plugin_config
6 437 acl_file__cleanup call site: 00437 acl__free_entries
4 427 password_file__cleanup call site: 00427 mosquitto_pw_cleanup

Runtime coverage analysis

Covered functions
32
Functions that are reachable but not covered
261
Reachable functions
292
Percentage of reachable functions covered
10.62%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_psk_file.cpp 13
mosquittologging.c 13
mosquitto/libcommon/file_common.c 31
mosquitto/test/unit/tls_stubs.c 1
mosquittosecurity_default.c 11
mosquitto/libcommon/memory_common.c 11
mosquittoconf.c 10
mosquittopassword_file.c 5
mosquitto/plugins/password-file/password_parse.c 20
mosquitto/test/unit/broker/persist_write_stubs.c 1
mosquitto/libcommon/password_common.c 14
mosquitto/libcommon/base64_common.c 12
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquittoacl_file.c 6
mosquitto/plugins/acl-file/acl_parse.c 27
mosquittopsk_file.c 22
mosquittosubs.c 3
mosquittodatabase.c 1
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittowill_delay.c 3

Fuzzer: db_dump_fuzz_load_client_stats

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 12 57.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 9 42.8%
All colors 21 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
12 7 LLVMFuzzerTestOneInput call site: 00007 free

Runtime coverage analysis

Covered functions
56
Functions that are reachable but not covered
16
Reachable functions
18
Percentage of reachable functions covered
11.11%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_client_stats.cpp 9
mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_stats.cpp 3
mosquitto/libcommon/memory_common.c 6

Fuzzer: broker_fuzz_handle_subscribe

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 166 73.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 60 26.5%
All colors 226 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
53 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
45 88 mosquitto_realloc call site: 00088 config__bridge_cleanup
17 175 db__messages_delete_list call site: 00175 context__send_will
12 158 context__cleanup call site: 00158 tmp_remove_subs
8 69 fuzz_packet_read_base call site: 00069 free
8 207 context__cleanup call site: 00207 context__remove_from_by_id
4 78 fuzz_packet_read_base call site: 00078 bridge__cleanup
3 142 context__cleanup call site: 00142 DL_DELETE2
3 198 mosquitto_property_free call site: 00198 mosquitto_FREE
3 218 context__cleanup call site: 00218 mosquitto_FREE
2 148 context__cleanup_out_packets call site: 00148 UNUSED
2 155 context__cleanup call site: 00155 UNUSED

Runtime coverage analysis

Covered functions
68
Functions that are reachable but not covered
210
Reachable functions
259
Percentage of reachable functions covered
18.92%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_handle_subscribe.cpp 2
mosquitto/fuzzing/broker/fuzz_packet_read_base.c 11
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/libcommon/memory_common.c 11
mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 2
mosquittocontext.c 17
mosquittobridge.c 5
mosquittoconf.c 3
mosquitto/lib/alias_mosq.c 3
mosquittokeepalive.c 3
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittosubs.c 6
mosquittodatabase.c 12
mosquittowill_delay.c 3
mosquitto/libcommon/property_common.c 2
mosquitto/lib/packet_mosq.c 1

Fuzzer: mosquitto/fuzzing/broker/broker_fuzz.cpp

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 15 93.7%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 6.25%
All colors 16 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
15 0 EP call site: 00000

Runtime coverage analysis

Covered functions
393
Functions that are reachable but not covered
13
Reachable functions
14
Percentage of reachable functions covered
7.14%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz.cpp 14

Fuzzer: libcommon_fuzz_topic_tokenise

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 9 40.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 13 59.0%
All colors 22 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
7 14 LLVMFuzzerTestOneInput call site: 00014 trigger_alloc_mismatch
2 8 mosquitto_sub_topic_tokenise call site: 00008 mosquitto_FREE

Runtime coverage analysis

Covered functions
7
Functions that are reachable but not covered
13
Reachable functions
18
Percentage of reachable functions covered
27.78%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/libcommon/libcommon_fuzz_topic_tokenise.cpp 6
mosquitto/libcommon/topic_common.c 3
mosquitto/libcommon/memory_common.c 8

Fuzzer: broker_fuzz_acl_file

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 392 71.7%
gold [1:9] 1 0.18%
yellow [10:29] 1 0.18%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 152 27.8%
All colors 546 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
129 111 mosquitto_trimblanks call site: 00111 mosquitto_log_printf
67 325 mosquitto_security_init_default call site: 00325 psk__file_parse
60 472 config__cleanup call site: 00472 config__bridge_cleanup
19 394 mosquitto_security_cleanup_default call site: 00394 mosquitto_callback_unregister
18 8 LLVMFuzzerTestOneInput call site: 00008 mosquitto_fopen
16 45 mosquitto_fopen call site: 00045 log__printf
10 91 mosquitto_security_init_default call site: 00091 password_file__parse
8 533 config__cleanup call site: 00533 config__cleanup_plugin_config
6 450 psk__cleanup call site: 00450 psk__cleanup
5 252 mosquitto_callback_register call site: 00252 password_file__parse
4 414 mosquitto_callback_unregister call site: 00414 context__send_will
4 427 password_file__cleanup call site: 00427 mosquitto_pw_cleanup

Runtime coverage analysis

Covered functions
41
Functions that are reachable but not covered
252
Reachable functions
292
Percentage of reachable functions covered
13.7%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_acl_file.cpp 13
mosquittologging.c 13
mosquitto/libcommon/file_common.c 31
mosquitto/test/unit/tls_stubs.c 1
mosquittosecurity_default.c 11
mosquitto/libcommon/memory_common.c 11
mosquittoconf.c 10
mosquittopassword_file.c 5
mosquitto/plugins/password-file/password_parse.c 20
mosquitto/test/unit/broker/persist_write_stubs.c 1
mosquitto/libcommon/password_common.c 14
mosquitto/libcommon/base64_common.c 12
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquittoacl_file.c 6
mosquitto/plugins/acl-file/acl_parse.c 27
mosquittopsk_file.c 22
mosquittosubs.c 3
mosquittodatabase.c 1
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittowill_delay.c 3

Fuzzer: mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 14 93.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 6.66%
All colors 15 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
14 0 EP call site: 00000 initialise

Runtime coverage analysis

Covered functions
393
Functions that are reachable but not covered
12
Reachable functions
13
Percentage of reachable functions covered
7.69%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp 13

Fuzzer: broker_fuzz_handle_unsubscribe

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 166 73.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 60 26.5%
All colors 226 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
53 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
45 88 mosquitto_realloc call site: 00088 config__bridge_cleanup
17 175 db__messages_delete_list call site: 00175 context__send_will
12 158 context__cleanup call site: 00158 tmp_remove_subs
8 69 fuzz_packet_read_base call site: 00069 free
8 207 context__cleanup call site: 00207 context__remove_from_by_id
4 78 fuzz_packet_read_base call site: 00078 bridge__cleanup
3 142 context__cleanup call site: 00142 DL_DELETE2
3 198 mosquitto_property_free call site: 00198 mosquitto_FREE
3 218 context__cleanup call site: 00218 mosquitto_FREE
2 148 context__cleanup_out_packets call site: 00148 UNUSED
2 155 context__cleanup call site: 00155 UNUSED

Runtime coverage analysis

Covered functions
66
Functions that are reachable but not covered
210
Reachable functions
259
Percentage of reachable functions covered
18.92%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_handle_unsubscribe.cpp 2
mosquitto/fuzzing/broker/fuzz_packet_read_base.c 11
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/libcommon/memory_common.c 11
mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 2
mosquittocontext.c 17
mosquittobridge.c 5
mosquittoconf.c 3
mosquitto/lib/alias_mosq.c 3
mosquittokeepalive.c 3
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittosubs.c 6
mosquittodatabase.c 12
mosquittowill_delay.c 3
mosquitto/libcommon/property_common.c 2
mosquitto/lib/packet_mosq.c 1

Fuzzer: cJSON/fuzzing/cjson_read_fuzzer.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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 195 98.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 1.01%
All colors 197 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
195 0 EP call site: 00000 cJSON_ParseWithOpts

Runtime coverage analysis

Covered functions
393
Functions that are reachable but not covered
66
Reachable functions
67
Percentage of reachable functions covered
1.49%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
cJSON/fuzzing/cjson_read_fuzzer.c 10
cJSON/cJSON.c 54
mosquitto/libcommon/memory_common.c 6

Fuzzer: libcommon_fuzz_pub_topic_check2

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 100.%
All colors 2 100

Runtime coverage analysis

Covered functions
2
Functions that are reachable but not covered
0
Reachable functions
2
Percentage of reachable functions covered
100.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/libcommon/libcommon_fuzz_pub_topic_check2.cpp 2

Fuzzer: broker_fuzz_test_config

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 14 60.8%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 9 39.1%
All colors 23 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
14 7 LLVMFuzzerTestOneInput call site: 00007 free

Runtime coverage analysis

Covered functions
90
Functions that are reachable but not covered
17
Reachable functions
19
Percentage of reachable functions covered
10.53%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/broker/broker_fuzz_test_config.cpp 12
mosquitto/libcommon/memory_common.c 6

Fuzzer: db_dump_fuzz_load_stats

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 12 57.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 9 42.8%
All colors 21 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
12 7 LLVMFuzzerTestOneInput call site: 00007 free

Runtime coverage analysis

Covered functions
56
Functions that are reachable but not covered
16
Reachable functions
18
Percentage of reachable functions covered
11.11%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_stats.cpp 12
mosquitto/libcommon/memory_common.c 6

Fuzzer: dynsec_fuzz_load

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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 106 68.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 49 31.6%
All colors 155 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
59 7 LLVMFuzzerTestOneInput call site: 00007 mosquitto_plugin_init
23 95 mosquitto_callback_register call site: 00095 mosquitto_callback_register
5 148 remove_callback call site: 00148 mosquitto_callback_unregister
4 87 control__register_callback call site: 00087 UNUSED
4 137 mosquitto_callback_unregister call site: 00137 context__send_will
4 142 mosquitto_callback_unregister call site: 00142 plugin__get_callback_base
3 127 control__unregister_callback call site: 00127 plugin_persist__handle_client_msg_update
3 133 control__unregister_callback call site: 00133 UNUSED
1 80 mosquitto_strdup call site: 00080 mosquitto_FREE

Runtime coverage analysis

Covered functions
69
Functions that are reachable but not covered
222
Reachable functions
236
Percentage of reachable functions covered
5.93%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
mosquitto/fuzzing/plugins/dynamic-security/dynsec_fuzz_load.cpp 16
mosquittologging.c 13
mosquitto/libcommon/file_common.c 27
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/broker/c/auth_plugin_delayed.c 3
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquitto/libcommon/memory_common.c 10
mosquittodatabase.c 1
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittowill_delay.c 3
mosquitto/test/unit/broker/persist_write_stubs.c 1

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
service_main /src/mosquitto/src/service.c 2 ['DWORD', 'LPTSTR*'] 24 0 41 6 10 596 0 2642 1856
mosquitto_main_loop /src/mosquitto/src/loop.c 2 ['struct mosquitto__listener_sock*', 'int'] 27 0 51 10 15 722 0 2780 903
dynsec__handle_command /src/mosquitto/plugins/dynamic-security/control.c 2 ['struct mosquitto_control_cmd*', 'void*'] 26 0 101 33 32 392 0 1459 670
handle__connect /src/mosquitto/src/handle_connect.c 1 ['struct mosquitto*'] 24 0 222 48 70 287 0 1286 328
dynsec__main /src/mosquitto/apps/mosquitto_ctrl/dynsec.c 3 ['int', 'char*[]', 'struct mosq_ctrl*'] 10 0 133 38 39 212 0 648 273
test_generate_test /src/cJSON/tests/json_patch_tests.c 1 ['cJSON*'] 10 0 30 4 3 95 3 392 255
dynsec__config_load /src/mosquitto/plugins/dynamic-security/config.c 1 ['struct dynsec__data*'] 23 0 40 8 7 376 0 1267 221

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

Functions statically reachable by fuzzers
26.0%
937 / 3672
Cyclomatic complexity statically reachable by fuzzers
56.0%
6189 / 11028

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

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

mosquitto/fuzzing/libcommon/libcommon_fuzz_sub_topic_check2.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


mosquitto/fuzzing/apps/mosquitto_passwd/mosquitto_passwd_fuzz_load.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput']

mosquitto/fuzzing/libcommon/libcommon_fuzz_utf8.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['fuzz_packet_read_base', 'db__messages_delete_list', 'context__cleanup', 'fuzz_packet_read_cleanup', 'mosquitto_property_free', 'context__cleanup_out_packets']

mosquitto/fuzzing/broker/broker_fuzz_read_handle.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['fuzz_packet_read_base', 'mosquitto_realloc', 'context__cleanup', 'db__messages_delete_list', 'context__cleanup_out_packets']

mosquitto/fuzzing/broker/broker_fuzz_queue_msg.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput', 'db__msg_store_clean', 'subhier_clean', 'db__close']

mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput']

mosquitto/fuzzing/broker/broker_fuzz_handle_connect.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['fuzz_packet_read_base', 'db__messages_delete_list', 'context__cleanup', 'mosquitto_property_free', 'context__cleanup_out_packets']

mosquitto/fuzzing/broker/broker_fuzz_password_file.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mosquitto_security_init_default', 'config__cleanup', 'password_file__parse', 'mosquitto_security_cleanup_default', 'LLVMFuzzerTestOneInput', 'mosquitto_fopen', 'acl_file__cleanup', 'psk__cleanup']

mosquitto/fuzzing/broker/broker_fuzz_handle_publish.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['fuzz_packet_read_base', 'context__cleanup', 'db__messages_delete_list', 'context__cleanup_out_packets']

mosquitto/fuzzing/broker/broker_fuzz_psk_file.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mosquitto_trimblanks', 'mosquitto_security_init_default', 'config__cleanup', 'mosquitto_security_cleanup_default', 'LLVMFuzzerTestOneInput', 'psk__file_parse', 'mosquitto_fopen', 'mosquitto_callback_unregister']

mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_client_stats.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput']

mosquitto/fuzzing/broker/broker_fuzz_handle_subscribe.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['fuzz_packet_read_base', 'mosquitto_realloc', 'db__messages_delete_list', 'context__cleanup', 'mosquitto_property_free']

mosquitto/fuzzing/broker/broker_fuzz.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


mosquitto/fuzzing/libcommon/libcommon_fuzz_topic_tokenise.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput', 'mosquitto_sub_topic_tokenise']

mosquitto/fuzzing/broker/broker_fuzz_acl_file.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['mosquitto_trimblanks', 'mosquitto_security_init_default', 'config__cleanup', 'mosquitto_security_cleanup_default', 'LLVMFuzzerTestOneInput', 'mosquitto_fopen', 'psk__cleanup', 'mosquitto_callback_register']

mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


mosquitto/fuzzing/broker/broker_fuzz_handle_unsubscribe.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['fuzz_packet_read_base', 'mosquitto_realloc', 'db__messages_delete_list', 'context__cleanup', 'mosquitto_property_free']

cJSON/fuzzing/cjson_read_fuzzer.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


mosquitto/fuzzing/libcommon/libcommon_fuzz_pub_topic_check2.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


mosquitto/fuzzing/broker/broker_fuzz_test_config.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput']

mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_stats.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput']

mosquitto/fuzzing/plugins/dynamic-security/dynsec_fuzz_load.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput', 'mosquitto_callback_register', 'remove_callback', 'control__register_callback', 'mosquitto_callback_unregister', 'control__unregister_callback', 'mosquitto_strdup']

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
mosquitto_passwd_fuzz_main 247 90 36.43%
mosquitto_fopen 70 38 54.28% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_test_config', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'mosquitto_passwd_fuzz_load', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
packet__write 63 8 12.69% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
property__write 35 11 31.42% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
mosquitto_property_get_length 32 7 21.87% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
mosquitto_property_copy_all 74 3 4.054% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
sub__clean_session 48 7 14.58% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
bridge__on_connect 82 15 18.29% ['/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_read_handle']
bridge__remap_topic_in 44 6 13.63% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_publish', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
context__disconnect 35 17 48.57% ['/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_read_handle']
db__message_delete_outgoing 35 14 40.0% ['/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_read_handle']
db__message_release_incoming 47 15 31.91% ['/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_read_handle']
db__message_reconnect_reset_outgoing 39 16 41.02% ['/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_read_handle']
db__message_reconnect_reset_incoming 43 15 34.88% ['/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_read_handle']
handle_username_from_cert_options 43 14 32.55%
handle__publish 276 125 45.28% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_publish', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
do_disconnect 106 9 8.490% ['/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_read_handle']
mosquitto_acl_check 43 6 13.95% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
mosquitto_basic_auth 41 14 34.14% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_connect', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
persist__restore 123 14 11.38% ['broker_fuzz_queue_msg', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
retain__store 52 28 53.84% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
sub__search 55 17 30.90% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
get_event_name 65 8 12.30% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
broker_acl_file__init 33 17 51.51% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', 'broker_fuzz_acl_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
broker_password_file__init 31 16 51.61% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', 'broker_fuzz_acl_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
plugin__get_callback_base 65 8 12.30% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_subscribe', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file', 'broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
mosquitto_write_file 54 23 42.59% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
config__parse_args 87 36 41.37% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
config__read_file_core 1303 498 38.21%
config__add_listener 31 16 51.61% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
config__check_bridges 63 25 39.68% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
config__get_dir_files 42 23 54.76% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
mosquitto_fuzz_main 116 32 27.58%
persist__message_store_save 54 9 16.66% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
persist__client_save 44 8 18.18% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
plugin__unload_single 42 13 30.95% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
dynsec__config_load 46 22 47.82% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
mosquitto_plugin_init 69 29 42.02% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'dynsec_fuzz_load', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']

Fuzz driver synthesis

New fuzzers

The below fuzzers are templates and suggestions for how to target the set of optimal functions above

service.c

Target file: /src/mosquitto/src/service.c
Target functions: service_main
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target service_main */
  UNKNOWN_TYPE unknown_0;
  UNKNOWN_TYPE unknown_1;
  service_main(unknown_0, unknown_1);

  af_safe_gb_cleanup();
}

loop.c

Target file: /src/mosquitto/src/loop.c
Target functions: mosquitto_main_loop
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target mosquitto_main_loop */
  structmosquitto__listener_sock* new_var2 = calloc(sizeof(structmosquitto__listener_sock), 1);
  int new_var3 = ada_safe_get_int();
  mosquitto_main_loop(new_var2, new_var3);

  af_safe_gb_cleanup();
}

control.c

Target file: /src/mosquitto/plugins/dynamic-security/control.c
Target functions: dynsec__handle_command
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target dynsec__handle_command */
  structmosquitto_control_cmd* new_var4 = calloc(sizeof(structmosquitto_control_cmd), 1);
  UNKNOWN_TYPE unknown_5;
  dynsec__handle_command(new_var4, unknown_5);

  af_safe_gb_cleanup();
}

handle_connect.c

Target file: /src/mosquitto/src/handle_connect.c
Target functions: handle__connect
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target handle__connect */
  structmosquitto* new_var6 = calloc(sizeof(structmosquitto), 1);
  handle__connect(new_var6);

  af_safe_gb_cleanup();
}

dynsec.c

Target file: /src/mosquitto/apps/mosquitto_ctrl/dynsec.c
Target functions: dynsec__main
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target dynsec__main */
  int new_var7 = ada_safe_get_int();
  UNKNOWN_TYPE unknown_8;
  structmosq_ctrl* new_var9 = calloc(sizeof(structmosq_ctrl), 1);
  dynsec__main(new_var7, unknown_8, new_var9);

  af_safe_gb_cleanup();
}

json_patch_tests.c

Target file: /src/cJSON/tests/json_patch_tests.c
Target functions: test_generate_test
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target test_generate_test */
  UNKNOWN_TYPE unknown_10;
  test_generate_test(unknown_10);

  af_safe_gb_cleanup();
}

config.c

Target file: /src/mosquitto/plugins/dynamic-security/config.c
Target functions: dynsec__config_load
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target dynsec__config_load */
  structdynsec__data* new_var11 = calloc(sizeof(structdynsec__data), 1);
  dynsec__config_load(new_var11);

  af_safe_gb_cleanup();
}

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/mosquitto/src/plugin_init.c [] []
/src/mosquitto/libcommon/strings_common.c [] []
/src/mosquitto/src/retain.c [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_handle_publish.cpp ['broker_fuzz_handle_publish'] ['broker_fuzz_handle_publish']
/src/mosquitto/plugins/persist-sqlite/base_msgs.c [] []
/src/mosquitto/test/unit/tls_test.c [] []
/src/mosquitto/lib/libmosquitto.c [] []
/src/cJSON/tests/old_utils_tests.c [] []
/src/mosquitto/plugins/dynamic-security/control.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_acl_file.cpp ['broker_fuzz_acl_file'] ['broker_fuzz_acl_file']
/src/mosquitto/lib/handle_suback.c [] []
/src/mosquitto/src/plugin_acl_check.c [] []
/src/mosquitto/lib/will_mosq.c [] []
/src/mosquitto/src/plugin_client_offline.c [] []
/src/mosquitto/src/conf_includedir.c [] []
/src/mosquitto/apps/mosquitto_ctrl/broker.c [] []
/src/mosquitto/include/mosquitto/libmosquittopp.h [] []
/src/mosquitto/plugins/dynamic-security/groups.c [] []
/src/mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load.cpp ['db_dump_fuzz_load'] ['db_dump_fuzz_load']
/src/mosquitto/test/broker/c/kick_last_client.c [] []
/src/mosquitto/lib/read_handle.c [] []
/src/mosquitto/test/mock/apps/mosquitto_ctrl/ctrl_shell_mock.cpp [] []
/src/mosquitto/src/plugin_callbacks.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file', 'dynsec_fuzz_load'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file', 'dynsec_fuzz_load']
/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp ['mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp'] ['mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp']
/src/mosquitto/lib/callbacks.c [] []
/src/mosquitto/test/apps/ctrl/ctrl_shell_pre_connect_test.cpp [] []
/src/mosquitto/src/plugin_unsubscribe.c [] []
/src/mosquitto/src/send_auth.c [] []
/src/mosquitto/lib/net_mosq_ocsp.c [] []
/src/mosquitto/test/unit/libcommon/topic_test.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_test_config.cpp ['broker_fuzz_test_config'] ['broker_fuzz_test_config']
/src/mosquitto/test/unit/libcommon/property_add.c [] []
/src/mosquitto/test/broker/c/plugin_evt_persist_client_update.c [] []
/src/mosquitto/include/mosquitto/libcommon_memory.h [] []
/src/mosquitto/plugins/acl-file/acl_check.c [] []
/src/mosquitto/plugins/persist-sqlite/init.c [] []
/src/mosquitto/src/acl_file.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']
/src/mosquitto/libcommon/password_common.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file']
/src/mosquitto/test/lib/cpp/03-publish-loop-start.cpp [] []
/src/mosquitto/lib/connect.c [] []
/src/mosquitto/apps/mosquitto_ctrl/dynsec_client.c [] []
/src/mosquitto/test/unit/broker/stubs.c [] []
/src/mosquitto/lib/handle_unsuback.c [] []
/src/mosquitto/src/plugin_v5.c [] []
/src/cJSON/tests/parse_string.c [] []
/src/mosquitto/lib/handle_pubrec.c [] []
/src/mosquitto/plugins/examples/client-lifetime-stats/mosquitto_client_lifetime_stats.c [] []
/src/cJSON/tests/misc_tests.c [] []
/src/mosquitto/client/rr_client.c [] []
/src/cJSON/tests/unity/test/tests/testunity.c [] []
/src/mosquitto/src/plugin_v4.c [] []
/src/mosquitto/lib/handle_connack.c [] []
/src/mosquitto/libcommon/base64_common.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file']
/src/mosquitto/test/broker/c/plugin_evt_psk_key.c [] []
/src/mosquitto/test/lib/c/01-extended-auth-continue.c [] []
/src/mosquitto/apps/mosquitto_ctrl/dynsec_role.c [] []
/src/mosquitto/test/lib/c/01-pre-connect-callback.c [] []
/src/mosquitto/common/lib_load.h [] []
/src/mosquitto/fuzzing/libcommon/libcommon_fuzz_pub_topic_check2.cpp ['libcommon_fuzz_pub_topic_check2'] ['libcommon_fuzz_pub_topic_check2']
/src/mosquitto/lib/send_publish.c [] []
/src/mosquitto/apps/db_dump/json.c [] []
/src/mosquitto/src/plugin_connect.c [] []
/src/cJSON/test.c [] []
/src/mosquitto/src/context.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/mosquitto/lib/send_unsubscribe.c [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_io.c [] []
/src/mosquitto/test/broker/c/auth_plugin_extended_single.c [] []
/src/mosquitto/src/http_api.c [] []
/src/cJSON/tests/parse_value.c [] []
/src/mosquitto/test/apps/ctrl/ctrl_shell_dynsec_test.cpp [] []
/src/mosquitto/lib/util_mosq.c [] []
/src/mosquitto/src/will_delay.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'dynsec_fuzz_load'] []
/src/mosquitto/src/send_unsuback.c [] []
/src/mosquitto/src/mux.c [] []
/src/mosquitto/test/unit/lib/property_read.c [] []
/src/mosquitto/test/unit/lib/publish_test.c [] []
/src/mosquitto/apps/mosquitto_signal/signal_windows.c [] []
/src/mosquitto/common/json_help.c [] []
/src/cJSON/cJSON_Utils.c [] []
/src/mosquitto/apps/mosquitto_signal/signal_unix.c [] []
/src/mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_client_stats.cpp ['db_dump_fuzz_load_client_stats'] ['db_dump_fuzz_load_client_stats']
/src/mosquitto/src/persist_read.c [] []
/src/mosquitto/src/handle_connack.c [] []
/src/mosquitto/src/plugin_message.c [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_broker.c [] []
/src/mosquitto/plugins/dynamic-security/config.c [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_dynsec.c [] []
/src/cJSON/fuzzing/afl.c [] []
/src/mosquitto/lib/http_client.c [] []
/src/cJSON/tests/parse_array.c [] []
/src/mosquitto/config.h [] []
/src/cJSON/tests/json_patch_tests.c [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_post_connect.c [] []
/src/mosquitto/fuzzing/plugins/dynamic-security/dynsec_fuzz_load.cpp ['dynsec_fuzz_load'] ['dynsec_fuzz_load']
/src/mosquitto/lib/actions_subscribe.c [] []
/src/cJSON/tests/compare_tests.c [] []
/src/mosquitto/plugins/examples/plugin-event-stats/mosquitto_plugin_event_stats.c [] []
/src/mosquitto/test/unit/libcommon/utf8.c [] []
/src/mosquitto/lib/mosquitto_internal.h [] []
/src/mosquitto/test/unit/broker/persist_write_test.c [] []
/src/mosquitto/test/unit/broker/persist_read_stubs.c ['broker_fuzz_queue_msg'] []
/src/mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_stats.cpp ['db_dump_fuzz_load', 'db_dump_fuzz_load_client_stats', 'db_dump_fuzz_load_stats'] ['db_dump_fuzz_load_stats']
/src/mosquitto/test/unit/libcommon/trim_test.c [] []
/src/cJSON/tests/print_object.c [] []
/src/cJSON/tests/unity/examples/example_3/test/TestProductionCode2.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_psk_file.cpp ['broker_fuzz_psk_file'] ['broker_fuzz_psk_file']
/src/cJSON/tests/readme_examples.c [] []
/src/mosquitto/lib/tls_mosq.h [] []
/src/mosquitto/test/lib/cpp/01-pre-connect-callback.cpp [] []
/src/mosquitto/libcommon/mqtt_common.c [] []
/src/mosquitto/fuzzing/libcommon/libcommon_fuzz_utf8.cpp ['libcommon_fuzz_utf8'] ['libcommon_fuzz_utf8']
/src/mosquitto/plugins/examples/deny-protocol-version/mosquitto_deny_protocol_version.c [] []
/src/mosquitto/src/mux_poll.c [] []
/src/mosquitto/client/sub_client.c [] []
/src/mosquitto/plugins/dynamic-security/roles.c [] []
/src/cJSON/tests/parse_with_opts.c [] []
/src/mosquitto/src/keepalive.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/cJSON/tests/unity/extras/fixture/test/unity_output_Spy.c [] []
/src/mosquitto/test/lib/cpp/02-subscribe-qos1-async1.cpp [] []
/src/mosquitto/plugins/password-file/password_parse.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']
/src/cJSON/tests/unity/src/unity.h [] []
/src/mosquitto/src/plugin_tick.c [] []
/src/cJSON/tests/print_number.c [] []
/src/mosquitto/src/plugin_public.c [] []
/src/mosquitto/src/logging.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'dynsec_fuzz_load'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'dynsec_fuzz_load']
/src/mosquitto/apps/db_dump/print.c [] []
/src/mosquitto/test/lib/cpp/02-unsubscribe-v5.cpp [] []
/src/mosquitto/plugins/dynamic-security/config_init.c [] []
/src/mosquitto/test/mock/editline_mock.cpp [] []
/src/mosquitto/lib/handle_ping.c [] []
/src/cJSON/tests/unity/extras/fixture/test/main/AllTests.c [] []
/src/mosquitto/lib/packet_mosq.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/mosquitto/test/lib/cpp/03-request-response-2.cpp [] []
/src/cJSON/tests/parse_object.c [] []
/src/cJSON/tests/unity/test/testdata/cmock.h [] []
/src/mosquitto/client/sub_client_output.c [] []
/src/mosquitto/src/persist.h [] []
/src/mosquitto/plugins/persist-sqlite/retain_msgs.c [] []
/src/mosquitto/lib/send_subscribe.c [] []
/src/cJSON/tests/unity/examples/example_3/src/ProductionCode2.c [] []
/src/mosquitto/test/broker/c/plugin_evt_reload.c [] []
/src/cJSON/tests/unity/test/testdata/testRunnerGeneratorWithMocks.c [] []
/src/mosquitto/src/mosquitto.c [] []
/src/mosquitto/plugins/persist-sqlite/clients.c [] []
/src/mosquitto/lib/cpp/mosquittopp.cpp [] []
/src/cJSON/tests/print_array.c [] []
/src/cJSON/tests/unity/test/testdata/testRunnerGeneratorSmall.c [] []
/src/cJSON/tests/unity/test/tests/testparameterized.c [] []
/src/mosquitto/lib/net_mosq.h [] []
/src/mosquitto/src/sys_tree.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_password_file.cpp ['broker_fuzz_password_file'] ['broker_fuzz_password_file']
/src/mosquitto/test/lib/cpp/02-unsubscribe.cpp [] []
/src/cJSON/fuzzing/cjson_read_fuzzer.c ['cJSON/fuzzing/cjson_read_fuzzer.c'] ['cJSON/fuzzing/cjson_read_fuzzer.c']
/src/mosquitto/test/lib/cpp/08-ssl-connect-cert-auth-enc.cpp [] []
/src/mosquitto/src/password_file.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_client.c [] []
/src/cJSON/tests/unity/test/expectdata/testsample_mock_head1.c [] []
/src/mosquitto/src/http_serv.c [] []
/src/mosquitto/plugins/dynamic-security/rolelist.c [] []
/src/mosquitto/src/plugin_subscribe.c [] []
/src/mosquitto/lib/net_mosq.c [] []
/src/cJSON/tests/minify_tests.c [] []
/src/mosquitto/src/send_connack.c [] []
/src/mosquitto/client/pub_client.c [] []
/src/mosquitto/test/unit/broker/subs_test.c [] []
/src/mosquitto/test/lib/c/03-publish-loop-start.c [] []
/src/mosquitto/test/unit/broker/subs_stubs.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'dynsec_fuzz_load'] []
/src/mosquitto/test/path_helper.h [] []
/src/mosquitto/test/lib/c/02-unsubscribe2-v5.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_handle_unsubscribe.cpp ['broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_unsubscribe']
/src/mosquitto/test/unit/broker/bridge_topic_test.c [] []
/src/mosquitto/test/broker/c/08-tls-psk-bridge.c [] []
/src/mosquitto/libcommon/time_common.c [] []
/src/mosquitto/lib/packet_datatypes.c [] []
/src/cJSON/tests/misc_utils_tests.c [] []
/src/mosquitto/plugins/persist-sqlite/will.c [] []
/src/mosquitto/test/unit/broker/persist_read_test.c [] []
/src/mosquitto/libcommon/random_common.c [] []
/src/mosquitto/plugins/dynamic-security/grouplist.c [] []
/src/mosquitto/test/apps/ctrl/ctrl_shell_options_test.cpp [] []
/src/mosquitto/src/database.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'dynsec_fuzz_load'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/cJSON/tests/unity/extras/fixture/src/unity_fixture_malloc_overrides.h [] []
/src/cJSON/tests/unity/extras/fixture/src/unity_fixture.h [] []
/src/mosquitto/test/unit/lib/datatype_write.c [] []
/src/mosquitto/plugins/persist-sqlite/util.h [] []
/src/mosquitto/src/plugin_v3.c [] []
/src/mosquitto/src/bridge.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_read_handle']
/src/mosquitto/lib/handle_publish.c [] []
/src/cJSON/tests/cjson_add.c [] []
/src/mosquitto/src/loop.c [] []
/src/cJSON/tests/common.h [] []
/src/mosquitto/test/unit/broker/keepalive_test.c [] []
/src/mosquitto/apps/db_dump/db_dump.c [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_completion_tree.c [] []
/src/mosquitto/src/plugin_v2.c [] []
/src/mosquitto/deps/picohttpparser/picohttpparser.c [] []
/src/cJSON/cJSON.c ['cJSON/fuzzing/cjson_read_fuzzer.c'] []
/src/mosquitto/lib/handle_pubackcomp.c [] []
/src/mosquitto/plugins/examples/topic-jail/mosquitto_topic_jail.c [] []
/src/mosquitto/plugins/examples/delayed-auth/mosquitto_delayed_auth.c [] []
/src/mosquitto/src/send_suback.c [] []
/src/mosquitto/include/mosquitto/broker_plugin.h [] []
/src/mosquitto/src/psk_file.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']
/src/mosquitto/src/proxy_v2.c [] []
/src/mosquitto/plugins/sparkplug-aware/on_message.c [] []
/src/mosquitto/plugins/password-file/plugin.c [] []
/src/mosquitto/src/listeners.c [] []
/src/mosquitto/lib/socks_mosq.c [] []
/src/mosquitto/apps/mosquitto_passwd/get_password.c [] []
/src/mosquitto/test/lib/cpp/03-publish-b2c-qos1.cpp [] []
/src/mosquitto/src/plugin_persist.c [] []
/src/cJSON/tests/unity/src/unity.c [] []
/src/mosquitto/src/net.c [] []
/src/mosquitto/test/apps/ctrl/ctrl_shell_completion_test.cpp [] []
/src/mosquitto/examples/subscribe/basic-1.c [] []
/src/mosquitto/test/lib/cpp/02-subscribe-helper-callback-qos2.cpp [] []
/src/cJSON/tests/parse_hex4.c [] []
/src/mosquitto/fuzzing/libcommon/libcommon_fuzz_topic_tokenise.cpp ['libcommon_fuzz_topic_tokenise'] ['libcommon_fuzz_topic_tokenise']
/src/cJSON/tests/unity/extras/fixture/src/unity_fixture.c [] []
/src/mosquitto/test/broker/c/bad_v2_2.c [] []
/src/mosquitto/src/persist_read_v234.c [] []
/src/mosquitto/test/broker/c/auth_plugin_delayed.c ['dynsec_fuzz_load'] []
/src/mosquitto/client/client_shared.c [] []
/src/cJSON/tests/parse_number.c [] []
/src/mosquitto/plugins/examples/payload-ban/mosquitto_payload_ban.c [] []
/src/mosquitto/examples/temperature_conversion/temperature_conversion.cpp [] []
/src/cJSON/tests/unity/examples/example_2/test/TestProductionCode.c [] []
/src/cJSON/tests/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c [] []
/src/mosquitto/libcommon/property_common.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/mosquitto/test/mock/pthread_mock.cpp [] []
/src/mosquitto/test/unit/libcommon/strings_test.c [] []
/src/mosquitto/test/broker/c/auth_plugin_v5_control.c [] []
/src/cJSON/tests/unity/examples/example_3/helper/UnityHelper.h [] []
/src/mosquitto/src/xtreport.c [] []
/src/cJSON/tests/unity/test/expectdata/testsample_new2.c [] []
/src/mosquitto/plugins/dynamic-security/details.c [] []
/src/mosquitto/plugins/examples/connection-state/mosquitto_connection_state.c [] []
/src/mosquitto/plugins/dynamic-security/clientlist.c [] []
/src/mosquitto/libcommon/memory_common.c ['mosquitto_passwd_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'db_dump_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'db_dump_fuzz_load_client_stats', 'broker_fuzz_handle_subscribe', 'libcommon_fuzz_topic_tokenise', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', 'db_dump_fuzz_load_stats', 'dynsec_fuzz_load'] ['mosquitto_passwd_fuzz_load', 'broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'db_dump_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'db_dump_fuzz_load_client_stats', 'broker_fuzz_handle_subscribe', 'libcommon_fuzz_topic_tokenise', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_test_config', 'db_dump_fuzz_load_stats', 'dynsec_fuzz_load']
/src/mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth']
/src/mosquitto/src/mux_epoll.c [] []
/src/mosquitto/src/plugin_extended_auth.c [] []
/src/mosquitto/test/lib/cpp/03-publish-c2b-qos1-receive-maximum.cpp [] []
/src/mosquitto/src/plugin_basic_auth.c [] []
/src/mosquitto/src/plugin_reload.c [] []
/src/mosquitto/test/mock/lib/libmosquitto_mock.cpp [] []
/src/mosquitto/plugins/dynamic-security/tick.c [] []
/src/cJSON/tests/unity/examples/example_2/test/test_runners/all_tests.c [] []
/src/mosquitto/lib/extended_auth.c [] []
/src/cJSON/cJSON.h [] []
/src/mosquitto/lib/alias_mosq.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/mosquitto/src/proxy_v1.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_handle_connect.cpp ['broker_fuzz_handle_connect'] ['broker_fuzz_handle_connect']
/src/mosquitto/test/unit/libcommon/property_value.c [] []
/src/mosquitto/fuzzing/broker/fuzz_packet_read_base.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/mosquitto/src/subs.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_unsubscribe']
/src/mosquitto/plugins/persist-sqlite/client_msgs.c [] []
/src/mosquitto/fuzzing/libcommon/libcommon_fuzz_sub_topic_check2.cpp ['libcommon_fuzz_sub_topic_check2'] ['libcommon_fuzz_sub_topic_check2']
/src/mosquitto/src/handle_connect.c [] []
/src/mosquitto/test/apps/ctrl/ctrl_shell_help_test.cpp [] []
/src/mosquitto/plugins/persist-sqlite/restore.c [] []
/src/mosquitto/test/lib/cpp/03-publish-loop-manual.cpp [] []
/src/mosquitto/plugins/acl-file/acl_parse.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']
/src/mosquitto/lib/handle_pubrel.c [] []
/src/cJSON/tests/unity/src/unity_internals.h [] []
/src/mosquitto/lib/send_disconnect.c [] []
/src/mosquitto/src/bridge_topic.c [] []
/src/mosquitto/lib/handle_auth.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz.cpp ['mosquitto/fuzzing/broker/broker_fuzz.cpp'] ['mosquitto/fuzzing/broker/broker_fuzz.cpp']
/src/mosquitto/examples/subscribe_simple/callback.c [] []
/src/cJSON/tests/print_value.c [] []
/src/mosquitto/plugins/dynamic-security/default_acl.c [] []
/src/mosquitto/test/unit/lib/datatype_read.c [] []
/src/mosquitto/src/websockets.c [] []
/src/mosquitto/test/apps/ctrl/ctrl_shell_test.cpp [] []
/src/mosquitto/test/lib/c/02-subscribe-qos1-async2.c [] []
/src/mosquitto/src/plugin_psk_key.c [] []
/src/mosquitto/src/signals.c [] []
/src/mosquitto/lib/messages_mosq.c [] []
/src/mosquitto/test/lib/cpp/01-extended-auth-continue.cpp [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_printf.c [] []
/src/mosquitto/plugins/persist-sqlite/plugin.c [] []
/src/mosquitto/libcommon/cjson_common.c [] []
/src/mosquitto/examples/publish/basic-1.c [] []
/src/mosquitto/test/broker/c/bad_vnone_1.c [] []
/src/mosquitto/plugins/dynamic-security/auth.c [] []
/src/mosquitto/deps/utlist.h [] []
/src/mosquitto/lib/actions_publish.c [] []
/src/mosquitto/src/property_broker.c [] []
/src/mosquitto/src/service.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_read_handle.cpp ['broker_fuzz_read_handle'] ['broker_fuzz_read_handle']
/src/cJSON/tests/print_string.c [] []
/src/mosquitto/examples/mysql_log/mysql_log.c [] []
/src/mosquitto/src/handle_unsubscribe.c [] []
/src/mosquitto/src/control.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file', 'dynsec_fuzz_load'] ['dynsec_fuzz_load']
/src/mosquitto/src/session_expiry.c [] []
/src/mosquitto/plugins/examples/auth-by-env/mosquitto_auth_by_env.c [] []
/src/cJSON/tests/unity/extras/fixture/test/unity_fixture_Test.c [] []
/src/mosquitto/lib/property_mosq.c [] []
/src/cJSON/tests/unity/examples/example_3/helper/UnityHelper.c [] []
/src/mosquitto/lib/helpers.c [] []
/src/cJSON/tests/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c [] []
/src/mosquitto/libcommon/topic_common.c ['libcommon_fuzz_topic_tokenise'] ['libcommon_fuzz_topic_tokenise']
/src/mosquitto/test/unit/lib/property_user_read.c [] []
/src/mosquitto/src/persist_write_v5.c [] []
/src/mosquitto/test/broker/c/plugin_control.c [] []
/src/mosquitto/plugins/dynamic-security/clients.c [] []
/src/mosquitto/apps/mosquitto_ctrl/dynsec_group.c [] []
/src/mosquitto/test/broker/c/auth_plugin_v2.c [] []
/src/mosquitto/plugins/dynamic-security/acl.c [] []
/src/cJSON/tests/unity/test/testdata/CException.h [] []
/src/mosquitto/lib/net_ws.c [] []
/src/mosquitto/src/watchdog.c [] []
/src/mosquitto/lib/loop.c [] []
/src/mosquitto/test/unit/broker/persist_write_stubs.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'dynsec_fuzz_load'] []
/src/mosquitto/test/broker/c/plugin_evt_client_offline.c [] []
/src/mosquitto/lib/send_mosq.c [] []
/src/mosquitto/apps/db_dump/stubs.c [] []
/src/mosquitto/plugins/persist-sqlite/tick.c [] []
/src/mosquitto/lib/options.c [] []
/src/mosquitto/lib/tls_mosq.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_handle_subscribe.cpp ['broker_fuzz_handle_subscribe'] ['broker_fuzz_handle_subscribe']
/src/mosquitto/lib/pthread_compat.h [] []
/src/mosquitto/src/persist_read_v5.c [] []
/src/mosquitto/src/mux_kqueue.c [] []
/src/mosquitto/lib/handle_disconnect.c [] []
/src/cJSON/tests/unity/examples/example_3/src/ProductionCode.c [] []
/src/mosquitto/libcommon/utf8_common.c [] []
/src/mosquitto/plugins/examples/print-ip-on-publish/mosquitto_print_ip_on_publish.c [] []
/src/mosquitto/include/mosquitto/mqtt_protocol.h [] []
/src/mosquitto/libcommon/file_common.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe', 'dynsec_fuzz_load'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']
/src/mosquitto/apps/mosquitto_ctrl/client.c [] []
/src/mosquitto/test/lib/c/fuzzish.c [] []
/src/mosquitto/client/pub_shared.c [] []
/src/mosquitto/plugins/persist-sqlite/common.c [] []
/src/mosquitto/src/topic_tok.c [] []
/src/mosquitto/lib/actions_unsubscribe.c [] []
/src/mosquitto/client/client_props.c [] []
/src/mosquitto/test/mock/c_function_mock.hpp [] []
/src/mosquitto/apps/mosquitto_ctrl/ctrl_shell_pre_connect.c [] []
/src/cJSON/tests/unity/examples/example_3/test/TestProductionCode.c [] []
/src/mosquitto/lib/srv_mosq.c [] []
/src/mosquitto/plugins/persist-sqlite/subscriptions.c [] []
/src/mosquitto/apps/mosquitto_ctrl/dynsec.c [] []
/src/mosquitto/test/lib/cpp/01-will-unpwd-set.cpp [] []
/src/mosquitto/src/broker_control.c [] []
/src/mosquitto/deps/uthash.h [] []
/src/mosquitto/plugins/dynamic-security/kicklist.c [] []
/src/cJSON/tests/parse_examples.c [] []
/src/mosquitto/test/unit/lib/property_write.c [] []
/src/mosquitto/lib/logging_mosq.c [] []
/src/mosquitto/apps/mosquitto_ctrl/options.c [] []
/src/mosquitto/fuzzing/broker/broker_fuzz_queue_msg.cpp ['broker_fuzz_queue_msg'] ['broker_fuzz_queue_msg']
/src/mosquitto/apps/mosquitto_ctrl/example.c [] []
/src/mosquitto/src/conf.c ['broker_fuzz_handle_auth', 'broker_fuzz_read_handle', 'broker_fuzz_handle_connect', 'broker_fuzz_password_file', 'broker_fuzz_handle_publish', 'broker_fuzz_psk_file', 'broker_fuzz_handle_subscribe', 'broker_fuzz_acl_file', 'broker_fuzz_handle_unsubscribe'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']
/src/mosquitto/apps/mosquitto_passwd/mosquitto_passwd.c [] []
/src/mosquitto/test/apps/ctrl/ctrl_shell_broker_test.cpp [] []
/src/mosquitto/src/plugin_cleanup.c [] []
/src/mosquitto/plugins/password-file/password_check.c [] []
/src/mosquitto/src/handle_subscribe.c [] []
/src/mosquitto/test/lib/cpp/03-publish-c2b-qos1-len.cpp [] []
/src/mosquitto/src/control_common.c [] []
/src/mosquitto/lib/thread_mosq.c [] []
/src/mosquitto/src/persist_write.c [] []
/src/mosquitto/src/plugin_disconnect.c [] []
/src/mosquitto/fuzzing/apps/mosquitto_passwd/mosquitto_passwd_fuzz_load.cpp ['mosquitto_passwd_fuzz_load'] ['mosquitto_passwd_fuzz_load']
/src/mosquitto/src/security_default.c ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file'] ['broker_fuzz_password_file', 'broker_fuzz_psk_file', 'broker_fuzz_acl_file']

Directories in report

Directory
/src/mosquitto/plugins/persist-sqlite/
/src/cJSON/tests/unity/examples/example_3/test/
/src/mosquitto/lib/cpp/
/src/cJSON/tests/unity/examples/example_2/test/test_runners/
/src/cJSON/tests/unity/examples/example_3/src/
/src/mosquitto/plugins/examples/payload-ban/
/src/mosquitto/plugins/examples/print-ip-on-publish/
/src/cJSON/tests/unity/extras/fixture/test/main/
/src/mosquitto/test/apps/ctrl/
/src/mosquitto/test/lib/c/
/src/mosquitto/examples/subscribe_simple/
/src/mosquitto/fuzzing/apps/db_dump/
/src/cJSON/tests/unity/extras/fixture/test/
/src/mosquitto/test/broker/c/
/src/mosquitto/src/
/src/mosquitto/plugins/dynamic-security/
/src/mosquitto/plugins/examples/delayed-auth/
/src/cJSON/tests/unity/test/testdata/
/src/cJSON/tests/unity/examples/example_3/helper/
/src/mosquitto/plugins/examples/connection-state/
/src/mosquitto/deps/
/src/mosquitto/plugins/examples/client-lifetime-stats/
/src/mosquitto/plugins/examples/plugin-event-stats/
/src/mosquitto/apps/mosquitto_ctrl/
/src/cJSON/tests/unity/extras/fixture/src/
/src/mosquitto/plugins/password-file/
/src/mosquitto/apps/mosquitto_signal/
/src/cJSON/tests/unity/test/expectdata/
/src/mosquitto/fuzzing/libcommon/
/src/mosquitto/test/
/src/mosquitto/test/unit/libcommon/
/src/mosquitto/
/src/cJSON/tests/unity/test/tests/
/src/mosquitto/fuzzing/broker/
/src/mosquitto/apps/mosquitto_passwd/
/src/mosquitto/examples/temperature_conversion/
/src/cJSON/tests/unity/examples/example_2/test/
/src/mosquitto/test/mock/lib/
/src/mosquitto/test/lib/cpp/
/src/mosquitto/fuzzing/apps/mosquitto_passwd/
/src/mosquitto/libcommon/
/src/mosquitto/plugins/examples/auth-by-env/
/src/mosquitto/examples/publish/
/src/mosquitto/test/unit/lib/
/src/mosquitto/include/mosquitto/
/src/cJSON/tests/unity/src/
/src/mosquitto/plugins/acl-file/
/src/mosquitto/test/mock/
/src/cJSON/fuzzing/
/src/mosquitto/plugins/sparkplug-aware/
/src/mosquitto/client/
/src/mosquitto/examples/mysql_log/
/src/cJSON/tests/
/src/mosquitto/test/unit/broker/
/src/mosquitto/apps/db_dump/
/src/cJSON/tests/unity/examples/example_1/test/test_runners/
/src/mosquitto/fuzzing/plugins/dynamic-security/
/src/mosquitto/common/
/src/mosquitto/test/unit/
/src/mosquitto/lib/
/src/mosquitto/plugins/examples/topic-jail/
/src/mosquitto/examples/subscribe/
/src/mosquitto/plugins/examples/deny-protocol-version/
/src/mosquitto/deps/picohttpparser/
/src/mosquitto/test/mock/apps/mosquitto_ctrl/
/src/cJSON/

Metadata section

This sections shows the raw data that is used to produce this report. This is mainly used for further processing and developer debugging.

Fuzzer Calltree file Program data file Coverage file
libcommon_fuzz_sub_topic_check2 fuzzerLogFile-libcommon_fuzz_sub_topic_check2.data fuzzerLogFile-libcommon_fuzz_sub_topic_check2.data.yaml libcommon_fuzz_sub_topic_check2.covreport
mosquitto_passwd_fuzz_load fuzzerLogFile-mosquitto_passwd_fuzz_load.data fuzzerLogFile-mosquitto_passwd_fuzz_load.data.yaml mosquitto_passwd_fuzz_load.covreport
libcommon_fuzz_utf8 fuzzerLogFile-libcommon_fuzz_utf8.data fuzzerLogFile-libcommon_fuzz_utf8.data.yaml libcommon_fuzz_utf8.covreport
broker_fuzz_handle_auth fuzzerLogFile-broker_fuzz_handle_auth.data fuzzerLogFile-broker_fuzz_handle_auth.data.yaml broker_fuzz_handle_auth.covreport
broker_fuzz_read_handle fuzzerLogFile-broker_fuzz_read_handle.data fuzzerLogFile-broker_fuzz_read_handle.data.yaml broker_fuzz_read_handle.covreport
broker_fuzz_queue_msg fuzzerLogFile-broker_fuzz_queue_msg.data fuzzerLogFile-broker_fuzz_queue_msg.data.yaml broker_fuzz_queue_msg.covreport
db_dump_fuzz_load fuzzerLogFile-db_dump_fuzz_load.data fuzzerLogFile-db_dump_fuzz_load.data.yaml db_dump_fuzz_load.covreport
broker_fuzz_handle_connect fuzzerLogFile-broker_fuzz_handle_connect.data fuzzerLogFile-broker_fuzz_handle_connect.data.yaml broker_fuzz_handle_connect.covreport
broker_fuzz_password_file fuzzerLogFile-broker_fuzz_password_file.data fuzzerLogFile-broker_fuzz_password_file.data.yaml broker_fuzz_password_file.covreport
broker_fuzz_handle_publish fuzzerLogFile-broker_fuzz_handle_publish.data fuzzerLogFile-broker_fuzz_handle_publish.data.yaml broker_fuzz_handle_publish.covreport
broker_fuzz_psk_file fuzzerLogFile-broker_fuzz_psk_file.data fuzzerLogFile-broker_fuzz_psk_file.data.yaml broker_fuzz_psk_file.covreport
db_dump_fuzz_load_client_stats fuzzerLogFile-db_dump_fuzz_load_client_stats.data fuzzerLogFile-db_dump_fuzz_load_client_stats.data.yaml db_dump_fuzz_load_client_stats.covreport
broker_fuzz_handle_subscribe fuzzerLogFile-broker_fuzz_handle_subscribe.data fuzzerLogFile-broker_fuzz_handle_subscribe.data.yaml broker_fuzz_handle_subscribe.covreport
mosquitto/fuzzing/broker/broker_fuzz.cpp fuzzerLogFile-broker_fuzz.data fuzzerLogFile-broker_fuzz.data.yaml broker_fuzz_acl_file.covreport , broker_fuzz_queue_msg.covreport , broker_fuzz_handle_subscribe.covreport , libcommon_fuzz_pub_topic_check2.covreport , db_dump_fuzz_load.covreport , broker_fuzz_handle_publish.covreport , broker_fuzz_handle_unsubscribe.covreport , mosquitto_passwd_fuzz_load.covreport , libcommon_fuzz_utf8.covreport , libcommon_fuzz_topic_tokenise.covreport , broker_fuzz_psk_file.covreport , libcommon_fuzz_sub_topic_check2.covreport , broker_fuzz_read_handle.covreport , db_dump_fuzz_load_client_stats.covreport , broker_fuzz_handle_auth.covreport , broker_fuzz_test_config.covreport , db_dump_fuzz_load_stats.covreport , broker_fuzz_handle_connect.covreport , broker_fuzz_password_file.covreport , dynsec_fuzz_load.covreport
libcommon_fuzz_topic_tokenise fuzzerLogFile-libcommon_fuzz_topic_tokenise.data fuzzerLogFile-libcommon_fuzz_topic_tokenise.data.yaml libcommon_fuzz_topic_tokenise.covreport
broker_fuzz_acl_file fuzzerLogFile-broker_fuzz_acl_file.data fuzzerLogFile-broker_fuzz_acl_file.data.yaml broker_fuzz_acl_file.covreport
mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp fuzzerLogFile-broker_fuzz_with_init.data fuzzerLogFile-broker_fuzz_with_init.data.yaml broker_fuzz_acl_file.covreport , broker_fuzz_queue_msg.covreport , broker_fuzz_handle_subscribe.covreport , libcommon_fuzz_pub_topic_check2.covreport , db_dump_fuzz_load.covreport , broker_fuzz_handle_publish.covreport , broker_fuzz_handle_unsubscribe.covreport , mosquitto_passwd_fuzz_load.covreport , libcommon_fuzz_utf8.covreport , libcommon_fuzz_topic_tokenise.covreport , broker_fuzz_psk_file.covreport , libcommon_fuzz_sub_topic_check2.covreport , broker_fuzz_read_handle.covreport , db_dump_fuzz_load_client_stats.covreport , broker_fuzz_handle_auth.covreport , broker_fuzz_test_config.covreport , db_dump_fuzz_load_stats.covreport , broker_fuzz_handle_connect.covreport , broker_fuzz_password_file.covreport , dynsec_fuzz_load.covreport
broker_fuzz_handle_unsubscribe fuzzerLogFile-broker_fuzz_handle_unsubscribe.data fuzzerLogFile-broker_fuzz_handle_unsubscribe.data.yaml broker_fuzz_handle_unsubscribe.covreport
cJSON/fuzzing/cjson_read_fuzzer.c fuzzerLogFile-cjson_read_fuzzer.data fuzzerLogFile-cjson_read_fuzzer.data.yaml broker_fuzz_acl_file.covreport , broker_fuzz_queue_msg.covreport , broker_fuzz_handle_subscribe.covreport , libcommon_fuzz_pub_topic_check2.covreport , db_dump_fuzz_load.covreport , broker_fuzz_handle_publish.covreport , broker_fuzz_handle_unsubscribe.covreport , mosquitto_passwd_fuzz_load.covreport , libcommon_fuzz_utf8.covreport , libcommon_fuzz_topic_tokenise.covreport , broker_fuzz_psk_file.covreport , libcommon_fuzz_sub_topic_check2.covreport , broker_fuzz_read_handle.covreport , db_dump_fuzz_load_client_stats.covreport , broker_fuzz_handle_auth.covreport , broker_fuzz_test_config.covreport , db_dump_fuzz_load_stats.covreport , broker_fuzz_handle_connect.covreport , broker_fuzz_password_file.covreport , dynsec_fuzz_load.covreport
libcommon_fuzz_pub_topic_check2 fuzzerLogFile-libcommon_fuzz_pub_topic_check2.data fuzzerLogFile-libcommon_fuzz_pub_topic_check2.data.yaml libcommon_fuzz_pub_topic_check2.covreport
broker_fuzz_test_config fuzzerLogFile-broker_fuzz_test_config.data fuzzerLogFile-broker_fuzz_test_config.data.yaml broker_fuzz_test_config.covreport
db_dump_fuzz_load_stats fuzzerLogFile-db_dump_fuzz_load_stats.data fuzzerLogFile-db_dump_fuzz_load_stats.data.yaml db_dump_fuzz_load_stats.covreport
dynsec_fuzz_load fuzzerLogFile-dynsec_fuzz_load.data fuzzerLogFile-dynsec_fuzz_load.data.yaml dynsec_fuzz_load.covreport

Sink analyser for CWEs