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

Project overview: mosquitto

High level conclusions

Reachability and coverage overview

Functions statically reachable by fuzzers
9.0%
327 / 3687
Cyclomatic complexity statically reachable by fuzzers
15.0%
1692 / 11095
Runtime code coverage of functions
10.0%
374 / 3687

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 3686 2 2 9 15 libcommon_fuzz_sub_topic_check2.cpp
libcommon_fuzz_utf8 mosquitto/fuzzing/libcommon/libcommon_fuzz_utf8.cpp 2 3686 2 2 19 29 libcommon_fuzz_utf8.cpp
mosquitto_passwd_fuzz_load mosquitto/fuzzing/apps/mosquitto_passwd/mosquitto_passwd_fuzz_load.cpp 18 3683 4 2 9 4 mosquitto_passwd_fuzz_load.cpp
db_dump_fuzz_load mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load.cpp 18 3683 4 3 9 4 db_dump_fuzz_load.cpp
broker_fuzz_queue_msg mosquitto/fuzzing/broker/broker_fuzz_queue_msg.cpp 274 3499 6 11 981 923 broker_fuzz_queue_msg.cpp
broker_fuzz_password_file mosquitto/fuzzing/broker/broker_fuzz_password_file.cpp 301 3497 7 21 1025 934 broker_fuzz_password_file.cpp
broker_fuzz_handle_auth mosquitto/fuzzing/broker/broker_fuzz_handle_auth.cpp 268 3506 10 19 876 774 broker_fuzz_handle_auth.cpp
broker_fuzz_handle_connect mosquitto/fuzzing/broker/broker_fuzz_handle_connect.cpp 268 3506 10 20 876 774 broker_fuzz_handle_connect.cpp
broker_fuzz_read_handle mosquitto/fuzzing/broker/broker_fuzz_read_handle.cpp 268 3506 10 20 876 774 broker_fuzz_read_handle.cpp
broker_fuzz_handle_publish mosquitto/fuzzing/broker/broker_fuzz_handle_publish.cpp 268 3506 10 20 876 774 broker_fuzz_handle_publish.cpp
mosquitto/fuzzing/broker/broker_fuzz.cpp mosquitto/fuzzing/broker/broker_fuzz.cpp 14 3687 1 1 3 3 broker_fuzz.cpp
broker_fuzz_acl_file mosquitto/fuzzing/broker/broker_fuzz_acl_file.cpp 301 3497 7 21 1025 934 broker_fuzz_acl_file.cpp
broker_fuzz_psk_file mosquitto/fuzzing/broker/broker_fuzz_psk_file.cpp 301 3497 7 21 1025 934 broker_fuzz_psk_file.cpp
broker_fuzz_handle_subscribe mosquitto/fuzzing/broker/broker_fuzz_handle_subscribe.cpp 268 3506 10 20 876 774 broker_fuzz_handle_subscribe.cpp
libcommon_fuzz_topic_tokenise mosquitto/fuzzing/libcommon/libcommon_fuzz_topic_tokenise.cpp 18 3679 3 3 22 24 libcommon_fuzz_topic_tokenise.cpp
db_dump_fuzz_load_client_stats mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_client_stats.cpp 18 3683 4 3 9 4 db_dump_fuzz_load_client_stats.cpp
libcommon_fuzz_pub_topic_check2 mosquitto/fuzzing/libcommon/libcommon_fuzz_pub_topic_check2.cpp 2 3686 2 2 6 8 libcommon_fuzz_pub_topic_check2.cpp
broker_fuzz_handle_unsubscribe mosquitto/fuzzing/broker/broker_fuzz_handle_unsubscribe.cpp 268 3506 10 20 876 774 broker_fuzz_handle_unsubscribe.cpp
db_dump_fuzz_load_stats mosquitto/fuzzing/apps/db_dump/db_dump_fuzz_load_stats.cpp 18 3683 4 2 9 4 db_dump_fuzz_load_stats.cpp
broker_fuzz_test_config mosquitto/fuzzing/broker/broker_fuzz_test_config.cpp 19 3683 4 2 10 6 broker_fuzz_test_config.cpp
dynsec_fuzz_load mosquitto/fuzzing/plugins/dynamic-security/dynsec_fuzz_load.cpp 245 3538 7 13 811 677 dynsec_fuzz_load.cpp
cJSON/fuzzing/cjson_read_fuzzer.c cJSON/fuzzing/cjson_read_fuzzer.c 67 3645 6 3 265 311 cjson_read_fuzzer.c
mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp 13 3686 2 1 5 4 broker_fuzz_with_init.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 1 33.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 66.6%
All colors 3 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
1 1 LLVMFuzzerTestOneInput call site: 00001

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
mosquitto/test/mock/libcommon/topic_common_mock.cpp 1

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 1 33.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 66.6%
All colors 3 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
1 1 LLVMFuzzerTestOneInput call site: 00001

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
mosquitto/test/mock/libcommon/utf8_common_mock.cpp 1

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: 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
67
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_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 63 75.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 21 25.0%
All colors 84 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
18 4 LLVMFuzzerTestOneInput call site: 00004 mosquitto_fopen
17 44 subhier_clean call site: 00044 sub__tree_print
14 69 db__msg_store_clean call site: 00069 db__msg_store_remove
7 34 LLVMFuzzerTestOneInput call site: 00034 trigger_alloc_mismatch
4 29 LLVMFuzzerTestOneInput call site: 00029 UNUSED
1 1 LLVMFuzzerTestOneInput call site: 00001
1 63 subhier_clean call site: 00063 mosquitto_FREE
1 66 db__close call site: 00066 UNUSED

Runtime coverage analysis

Covered functions
25
Functions that are reachable but not covered
250
Reachable functions
274
Percentage of reachable functions covered
8.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_queue_msg.cpp 10
mosquitto/test/mock/libcommon/topic_common_mock.cpp 1
mosquittologging.c 13
mosquitto/test/mock/libcommon/file_common_mock.cpp 1
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/test/mock/libcommon/property_common_mock.cpp 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 320 73.0%
gold [1:9] 8 1.82%
yellow [10:29] 6 1.36%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 104 23.7%
All colors 438 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 149 mosquitto_security_init_default call site: 00149 acl_file__parse
67 217 mosquitto_security_init_default call site: 00217 psk__file_parse
60 364 config__cleanup call site: 00364 config__bridge_cleanup
22 109 password_file__parse call site: 00109 mosquitto_callback_register
19 286 mosquitto_security_cleanup_default call site: 00286 mosquitto_callback_unregister
18 8 LLVMFuzzerTestOneInput call site: 00008 mosquitto_fopen
11 425 config__cleanup call site: 00425 config__cleanup_plugin_config
6 27 LLVMFuzzerTestOneInput call site: 00027 config__plugin_add_secopt
6 329 acl_file__cleanup call site: 00329 acl__free_entries
6 342 psk__cleanup call site: 00342 psk__cleanup
4 46 password_file__parse call site: 00046 mosquitto_log_printf
4 306 mosquitto_callback_unregister call site: 00306 context__send_will

Runtime coverage analysis

Covered functions
43
Functions that are reachable but not covered
259
Reachable functions
301
Percentage of reachable functions covered
13.95%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquittosecurity_default.c 11
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
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/test/mock/libcommon/password_common_mock.cpp 1
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquittoacl_file.c 6
mosquitto/plugins/acl-file/acl_parse.c 27
mosquitto/test/mock/libcommon/topic_common_mock.cpp 1
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_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 138 74.5%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 47 25.4%
All colors 185 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
49 47 fuzz_packet_read_base call site: 00047 bridge__cleanup
21 139 db__messages_delete_list call site: 00139 context__send_will
18 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
12 122 context__cleanup call site: 00122 tmp_remove_subs
9 28 fuzz_packet_read_base call site: 00028 free
8 166 context__cleanup call site: 00166 context__remove_from_by_id
3 105 context__cleanup call site: 00105 DL_DELETE2
3 177 context__cleanup call site: 00177 mosquitto_FREE
2 24 fuzz_packet_read_base call site: 00024 mosquitto_calloc
2 40 fuzz_packet_read_init call site: 00040 free
2 99 alias__free_all call site: 00099 mosquitto_FREE
2 102 alias__free_all call site: 00102 mosquitto_FREE

Runtime coverage analysis

Covered functions
66
Functions that are reachable but not covered
222
Reachable functions
268
Percentage of reachable functions covered
17.16%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6
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/test/mock/libcommon/property_common_mock.cpp 1
mosquitto/lib/packet_mosq.c 1

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 136 73.5%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 49 26.4%
All colors 185 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
49 47 fuzz_packet_read_base call site: 00047 bridge__cleanup
21 139 db__messages_delete_list call site: 00139 context__send_will
18 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
12 122 context__cleanup call site: 00122 tmp_remove_subs
9 28 fuzz_packet_read_base call site: 00028 free
3 39 fuzz_packet_read_base call site: 00039 free
3 105 context__cleanup call site: 00105 DL_DELETE2
3 167 context__cleanup call site: 00167 HASH_FIND
3 177 context__cleanup call site: 00177 mosquitto_FREE
2 24 fuzz_packet_read_base call site: 00024 mosquitto_calloc
2 99 alias__free_all call site: 00099 mosquitto_FREE
2 102 alias__free_all call site: 00102 mosquitto_FREE

Runtime coverage analysis

Covered functions
99
Functions that are reachable but not covered
216
Reachable functions
268
Percentage of reachable functions covered
19.4%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6
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/test/mock/libcommon/property_common_mock.cpp 1
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 131 70.8%
gold [1:9] 4 2.16%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 50 27.0%
All colors 185 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
49 47 fuzz_packet_read_base call site: 00047 bridge__cleanup
18 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
12 122 context__cleanup call site: 00122 tmp_remove_subs
11 139 db__messages_delete_list call site: 00139 context__send_will
9 28 fuzz_packet_read_base call site: 00028 free
3 39 fuzz_packet_read_base call site: 00039 free
3 105 context__cleanup call site: 00105 DL_DELETE2
3 167 context__cleanup call site: 00167 HASH_FIND
3 177 context__cleanup call site: 00177 mosquitto_FREE
2 24 fuzz_packet_read_base call site: 00024 mosquitto_calloc
2 99 alias__free_all call site: 00099 mosquitto_FREE
2 102 alias__free_all call site: 00102 mosquitto_FREE

Runtime coverage analysis

Covered functions
146
Functions that are reachable but not covered
209
Reachable functions
268
Percentage of reachable functions covered
22.01%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6
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/test/mock/libcommon/property_common_mock.cpp 1
mosquitto/lib/packet_mosq.c 1

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 135 72.9%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.54%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 49 26.4%
All colors 185 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
49 47 fuzz_packet_read_base call site: 00047 bridge__cleanup
18 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
12 122 context__cleanup call site: 00122 tmp_remove_subs
11 139 db__messages_delete_list call site: 00139 context__send_will
9 28 fuzz_packet_read_base call site: 00028 free
8 166 context__cleanup call site: 00166 context__remove_from_by_id
3 39 fuzz_packet_read_base call site: 00039 free
3 105 context__cleanup call site: 00105 DL_DELETE2
3 177 context__cleanup call site: 00177 mosquitto_FREE
2 24 fuzz_packet_read_base call site: 00024 mosquitto_calloc
2 99 alias__free_all call site: 00099 mosquitto_FREE
2 102 alias__free_all call site: 00102 mosquitto_FREE

Runtime coverage analysis

Covered functions
72
Functions that are reachable but not covered
221
Reachable functions
268
Percentage of reachable functions covered
17.54%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6
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/test/mock/libcommon/property_common_mock.cpp 1
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
386
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: 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 312 71.2%
gold [1:9] 1 0.22%
yellow [10:29] 1 0.22%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 124 28.3%
All colors 438 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
87 44 mosquitto_security_init_default call site: 00044 password_file__parse
67 217 mosquitto_security_init_default call site: 00217 psk__file_parse
60 364 config__cleanup call site: 00364 config__bridge_cleanup
19 286 mosquitto_security_cleanup_default call site: 00286 mosquitto_callback_unregister
18 8 LLVMFuzzerTestOneInput call site: 00008 mosquitto_fopen
11 425 config__cleanup call site: 00425 config__cleanup_plugin_config
6 27 LLVMFuzzerTestOneInput call site: 00027 config__plugin_add_secopt
6 342 psk__cleanup call site: 00342 psk__cleanup
5 143 mosquitto_callback_register call site: 00143 password_file__parse
4 306 mosquitto_callback_unregister call site: 00306 context__send_will
4 319 password_file__cleanup call site: 00319 mosquitto_pw_cleanup
3 36 config__plugin_add_secopt call site: 00036 log__printf

Runtime coverage analysis

Covered functions
41
Functions that are reachable but not covered
261
Reachable functions
301
Percentage of reachable functions covered
13.29%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquittosecurity_default.c 11
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
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/test/mock/libcommon/password_common_mock.cpp 1
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquittoacl_file.c 6
mosquitto/plugins/acl-file/acl_parse.c 27
mosquitto/test/mock/libcommon/topic_common_mock.cpp 1
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_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 349 79.6%
gold [1:9] 0 0.0%
yellow [10:29] 3 0.68%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 86 19.6%
All colors 438 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
104 44 mosquitto_security_init_default call site: 00044 password_file__parse
67 149 mosquitto_security_init_default call site: 00149 acl_file__parse
60 364 config__cleanup call site: 00364 config__bridge_cleanup
19 286 mosquitto_security_cleanup_default call site: 00286 mosquitto_callback_unregister
18 8 LLVMFuzzerTestOneInput call site: 00008 mosquitto_fopen
17 261 psk__file_parse call site: 00261 sub__tree_print
12 306 mosquitto_callback_unregister call site: 00306 context__send_will
11 425 config__cleanup call site: 00425 config__cleanup_plugin_config
6 27 LLVMFuzzerTestOneInput call site: 00027 config__plugin_add_secopt
6 329 acl_file__cleanup call site: 00329 acl__free_entries
4 319 password_file__cleanup call site: 00319 mosquitto_pw_cleanup
4 344 psk__cleanup call site: 00344 psk__cleanup

Runtime coverage analysis

Covered functions
32
Functions that are reachable but not covered
270
Reachable functions
301
Percentage of reachable functions covered
10.3%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquittosecurity_default.c 11
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
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/test/mock/libcommon/password_common_mock.cpp 1
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquittoacl_file.c 6
mosquitto/plugins/acl-file/acl_parse.c 27
mosquitto/test/mock/libcommon/topic_common_mock.cpp 1
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_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 140 75.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 45 24.3%
All colors 185 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
49 47 fuzz_packet_read_base call site: 00047 bridge__cleanup
21 139 db__messages_delete_list call site: 00139 context__send_will
18 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
12 122 context__cleanup call site: 00122 tmp_remove_subs
9 28 fuzz_packet_read_base call site: 00028 free
8 166 context__cleanup call site: 00166 context__remove_from_by_id
3 39 fuzz_packet_read_base call site: 00039 free
3 105 context__cleanup call site: 00105 DL_DELETE2
3 177 context__cleanup call site: 00177 mosquitto_FREE
2 24 fuzz_packet_read_base call site: 00024 mosquitto_calloc
2 99 alias__free_all call site: 00099 mosquitto_FREE
2 102 alias__free_all call site: 00102 mosquitto_FREE

Runtime coverage analysis

Covered functions
68
Functions that are reachable but not covered
219
Reachable functions
268
Percentage of reachable functions covered
18.28%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6
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/test/mock/libcommon/property_common_mock.cpp 1
mosquitto/lib/packet_mosq.c 1

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 60.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 6 40.0%
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
7 7 LLVMFuzzerTestOneInput call site: 00007 trigger_alloc_mismatch
1 3 LLVMFuzzerTestOneInput call site: 00003
1 5 LLVMFuzzerTestOneInput call site: 00005

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/test/mock/libcommon/topic_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6

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
57
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: 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 1 33.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 2 66.6%
All colors 3 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
1 1 LLVMFuzzerTestOneInput call site: 00001

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
mosquitto/test/mock/libcommon/topic_common_mock.cpp 1

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 140 75.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 45 24.3%
All colors 185 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
49 47 fuzz_packet_read_base call site: 00047 bridge__cleanup
21 139 db__messages_delete_list call site: 00139 context__send_will
18 3 fuzz_packet_read_base call site: 00003 mosquitto_fopen
12 122 context__cleanup call site: 00122 tmp_remove_subs
9 28 fuzz_packet_read_base call site: 00028 free
8 166 context__cleanup call site: 00166 context__remove_from_by_id
3 39 fuzz_packet_read_base call site: 00039 free
3 105 context__cleanup call site: 00105 DL_DELETE2
3 177 context__cleanup call site: 00177 mosquitto_FREE
2 24 fuzz_packet_read_base call site: 00024 mosquitto_calloc
2 99 alias__free_all call site: 00099 mosquitto_FREE
2 102 alias__free_all call site: 00102 mosquitto_FREE

Runtime coverage analysis

Covered functions
66
Functions that are reachable but not covered
219
Reachable functions
268
Percentage of reachable functions covered
18.28%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/unit/broker/persist_write_stubs.c 2
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6
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/test/mock/libcommon/property_common_mock.cpp 1
mosquitto/lib/packet_mosq.c 1

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
57
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: 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: 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 74 62.7%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 44 37.2%
All colors 118 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
24 7 LLVMFuzzerTestOneInput call site: 00007 mosquitto_plugin_init
23 58 mosquitto_callback_register call site: 00058 mosquitto_callback_register
5 111 remove_callback call site: 00111 mosquitto_callback_unregister
4 50 control__register_callback call site: 00050 UNUSED
4 100 mosquitto_callback_unregister call site: 00100 context__send_will
4 105 mosquitto_callback_unregister call site: 00105 plugin__get_callback_base
3 90 control__unregister_callback call site: 00090 plugin_persist__handle_client_msg_update
3 96 control__unregister_callback call site: 00096 UNUSED
2 41 control__register_callback call site: 00041 mosquitto_FREE
1 39 control__register_callback call site: 00039
1 46 control__register_callback call site: 00046

Runtime coverage analysis

Covered functions
69
Functions that are reachable but not covered
231
Reachable functions
245
Percentage of reachable functions covered
5.71%
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/test/mock/libcommon/file_common_mock.cpp 1
mosquitto/test/unit/tls_stubs.c 1
mosquitto/test/broker/c/auth_plugin_delayed.c 3
mosquittoplugin_callbacks.c 12
mosquittocontrol.c 16
mosquitto/test/mock/libcommon/memory_common_mock.cpp 1
mosquitto/libcommon/memory_common.c 6
mosquittodatabase.c 1
mosquitto/test/unit/broker/subs_stubs.c 1
mosquittowill_delay.c 3
mosquitto/test/unit/broker/persist_write_stubs.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
386
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: 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
386
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

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*'] 19 0 41 6 10 601 0 2653 1858
mosquitto_main_loop /src/mosquitto/src/loop.c 2 ['struct mosquitto__listener_sock*', 'int'] 27 0 54 10 15 730 0 2786 897
dynsec__handle_command /src/mosquitto/plugins/dynamic-security/control.c 2 ['struct mosquitto_control_cmd*', 'void*'] 26 0 101 33 32 401 0 1469 670
handle__connect /src/mosquitto/src/handle_connect.c 1 ['struct mosquitto*'] 24 0 222 48 70 315 0 1322 354
dynsec__main /src/mosquitto/apps/mosquitto_ctrl/dynsec.c 3 ['int', 'char*[]', 'struct mosq_ctrl*'] 9 0 134 38 39 212 0 649 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 385 0 1274 221

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

Functions statically reachable by fuzzers
26.0%
951 / 3687
Cyclomatic complexity statically reachable by fuzzers
56.0%
6220 / 11095

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


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


Fuzzer function priority

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

-focus_function=['LLVMFuzzerTestOneInput']

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/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_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', 'subhier_clean', 'db__msg_store_clean', 'db__close']

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', 'acl_file__cleanup', 'psk__cleanup']

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_init']

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/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', 'context__cleanup', 'db__messages_delete_list']

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']

mosquitto/fuzzing/broker/broker_fuzz.cpp

Dictionary

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


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_security_init_default', 'config__cleanup', 'mosquitto_security_cleanup_default', 'LLVMFuzzerTestOneInput', 'psk__cleanup', 'mosquitto_callback_register', 'mosquitto_callback_unregister']

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_security_init_default', 'config__cleanup', 'mosquitto_security_cleanup_default', 'LLVMFuzzerTestOneInput', 'psk__file_parse', 'mosquitto_callback_unregister', 'acl_file__cleanup']

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', 'db__messages_delete_list', 'context__cleanup']

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/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/libcommon/libcommon_fuzz_pub_topic_check2.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_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', 'db__messages_delete_list', 'context__cleanup']

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/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/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']

cJSON/fuzzing/cjson_read_fuzzer.c

Dictionary

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


mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp

Dictionary

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


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 74 38 51.35% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'mosquitto_passwd_fuzz_load', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
persist__restore 127 14 11.02% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_queue_msg', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
retain__store 54 28 51.85% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
sub__search 55 17 30.90% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
broker_acl_file__init 33 17 51.51% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_acl_file']
broker_password_file__init 31 16 51.61% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_acl_file']
get_event_name 65 8 12.30% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_acl_file']
plugin__get_callback_base 65 8 12.30% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_acl_file']
net__socket_close 34 16 47.05% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle']
packet__write 65 8 12.30% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
property__write 37 11 29.72% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
mosquitto_property_get_length 34 7 20.58% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
mosquitto_property_copy_all 78 5 6.410% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
handle__auth 105 54 51.42% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_auth', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
mosquitto_security_auth_continue 31 8 25.80% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_handle_auth', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
sub__clean_session 48 7 14.58% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle']
handle_username_from_cert_options 44 16 36.36% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_handle_connect', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_read_handle']
mosquitto_basic_auth 41 13 31.70% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_handle_connect', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_read_handle']
mosquitto_security_auth_start 31 8 25.80% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_handle_connect', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_read_handle']
handle__pubackcomp 85 39 45.88% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
handle__pubrec 67 31 46.26% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
mosquitto_reason_string 92 48 52.17% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
bridge__on_connect 84 15 17.85% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
bridge__remap_topic_in 44 6 13.63% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_handle_publish', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_read_handle']
context__disconnect 45 18 40.0% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
db__message_release_incoming 49 15 30.61% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
db__message_reconnect_reset_outgoing 39 16 41.02% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
db__message_reconnect_reset_incoming 43 15 34.88% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
handle__connack 95 45 47.36% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
do_disconnect 106 9 8.490% ['broker_fuzz_read_handle', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
mosquitto_acl_check 45 6 13.33% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', 'broker_fuzz_psk_file', 'broker_fuzz_password_file', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'dynsec_fuzz_load', 'broker_fuzz_handle_connect', 'broker_fuzz_handle_subscribe', 'broker_fuzz_handle_publish', 'broker_fuzz_handle_auth', '/src/cJSON/fuzzing/cjson_read_fuzzer.c', 'broker_fuzz_handle_unsubscribe', 'broker_fuzz_read_handle', 'broker_fuzz_queue_msg', 'broker_fuzz_acl_file']
mosquitto_write_file 54 23 42.59% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
config__parse_args 87 36 41.37% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
config__read_file_core 1594 546 34.25%
config__add_listener 31 16 51.61% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
config__check_bridges 63 25 39.68% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
config__get_dir_files 45 23 51.11% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
mosquitto_fuzz_main 110 26 23.63%
persist__message_store_save 54 9 16.66% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
persist__client_save 52 8 15.38% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
plugin__unload_single 42 13 30.95% ['/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', 'broker_fuzz_test_config', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
dynsec__config_load 46 22 47.82% ['dynsec_fuzz_load', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']
mosquitto_plugin_init 68 28 41.17% ['dynsec_fuzz_load', '/src/mosquitto/fuzzing/broker/broker_fuzz.cpp', '/src/mosquitto/fuzzing/broker/broker_fuzz_with_init.cpp', '/src/cJSON/fuzzing/cjson_read_fuzzer.c']

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

Directories in report

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

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
libcommon_fuzz_utf8 fuzzerLogFile-libcommon_fuzz_utf8.data fuzzerLogFile-libcommon_fuzz_utf8.data.yaml libcommon_fuzz_utf8.covreport
mosquitto_passwd_fuzz_load fuzzerLogFile-mosquitto_passwd_fuzz_load.data fuzzerLogFile-mosquitto_passwd_fuzz_load.data.yaml mosquitto_passwd_fuzz_load.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_queue_msg fuzzerLogFile-broker_fuzz_queue_msg.data fuzzerLogFile-broker_fuzz_queue_msg.data.yaml broker_fuzz_queue_msg.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_auth fuzzerLogFile-broker_fuzz_handle_auth.data fuzzerLogFile-broker_fuzz_handle_auth.data.yaml broker_fuzz_handle_auth.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_read_handle fuzzerLogFile-broker_fuzz_read_handle.data fuzzerLogFile-broker_fuzz_read_handle.data.yaml broker_fuzz_read_handle.covreport
broker_fuzz_handle_publish fuzzerLogFile-broker_fuzz_handle_publish.data fuzzerLogFile-broker_fuzz_handle_publish.data.yaml broker_fuzz_handle_publish.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
broker_fuzz_acl_file fuzzerLogFile-broker_fuzz_acl_file.data fuzzerLogFile-broker_fuzz_acl_file.data.yaml broker_fuzz_acl_file.covreport
broker_fuzz_psk_file fuzzerLogFile-broker_fuzz_psk_file.data fuzzerLogFile-broker_fuzz_psk_file.data.yaml broker_fuzz_psk_file.covreport
broker_fuzz_handle_subscribe fuzzerLogFile-broker_fuzz_handle_subscribe.data fuzzerLogFile-broker_fuzz_handle_subscribe.data.yaml broker_fuzz_handle_subscribe.covreport
libcommon_fuzz_topic_tokenise fuzzerLogFile-libcommon_fuzz_topic_tokenise.data fuzzerLogFile-libcommon_fuzz_topic_tokenise.data.yaml libcommon_fuzz_topic_tokenise.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
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_handle_unsubscribe fuzzerLogFile-broker_fuzz_handle_unsubscribe.data fuzzerLogFile-broker_fuzz_handle_unsubscribe.data.yaml broker_fuzz_handle_unsubscribe.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
broker_fuzz_test_config fuzzerLogFile-broker_fuzz_test_config.data fuzzerLogFile-broker_fuzz_test_config.data.yaml broker_fuzz_test_config.covreport
dynsec_fuzz_load fuzzerLogFile-dynsec_fuzz_load.data fuzzerLogFile-dynsec_fuzz_load.data.yaml dynsec_fuzz_load.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
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

Sink analyser for CWEs