Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzzer details

Fuzzer: fuzz_mgmt_serialization

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 133 75.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 44 24.8%
All colors 177 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
110 27 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00027 azure.mgmt.dynatrace._serialization.Deserializer.deserialize_data
12 11 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00011 azure.mgmt.dynatrace._serialization.Deserializer._deserialize
5 168 azure.mgmt.dynatrace._serialization.Deserializer._instantiate_model call site: 00168 attrs.get
2 150 azure.mgmt.dynatrace._serialization.Deserializer._build_additional_properties call site: 00150 azure.mgmt.dynatrace._serialization._decode_attribute_map_key
1 138 azure.core.exceptions.raise_with_traceback call site: 00138 azure.mgmt.dynatrace._serialization.Deserializer._deserialize
1 141 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00141 azure.mgmt.dynatrace._serialization.Deserializer.deserialize_enum
1 144 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00144 _LOGGER.warning
1 153 azure.mgmt.dynatrace._serialization._decode_attribute_map_key call site: 00153 attribute_map.values

Runtime coverage analysis

Covered functions
293
Functions that are reachable but not covered
91
Reachable functions
103
Percentage of reachable functions covered
11.65%
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
/ 1
...fuzz_mgmt_serialization 8
azure.mgmt.dynatrace.models._models_py3 1
azure.mgmt.dynatrace._serialization 64
azure.mgmt.core.polling.arm_polling 2
azure.core.rest._rest_py3 9
azure.core.utils._pipeline_transport_rest_shared 13
azure.core.rest._helpers 16
azure.core.utils._utils 1
azure.mgmt.core.polling.async_arm_polling 2
azure.core.exceptions 1

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
azure.core.tracing.decorator.distributed_trace.decorator.wrapper_use_tracer azure.core.tracing.decorator 2 ['N/A', 'N/A'] 12 0 3 6 5 208 0 690 499
azure.core.pipeline.transport._requests_asyncio.AsyncioRequestsTransport.send azure.core.pipeline.transport._requests_asyncio 4 ['N/A', 'N/A', 'N/A', 'N/A'] 5 0 5 5 5 61 0 197 161
azure.core.pipeline.policies._retry.RetryPolicy.send azure.core.pipeline.policies._retry 2 ['N/A', 'N/A'] 8 0 6 7 6 51 0 171 144
azure.core.tracing.decorator_async.distributed_trace_async.decorator.wrapper_use_tracer azure.core.tracing.decorator_async 2 ['N/A', 'N/A'] 13 0 3 6 5 179 0 602 92
azure.core.pipeline.policies._authentication_async.AsyncBearerTokenCredentialPolicy.send azure.core.pipeline.policies._authentication_async 2 ['N/A', 'N/A'] 12 0 7 3 4 36 0 120 90
azure.core.utils._pipeline_transport_rest_shared._parts_helper azure.core.utils._pipeline_transport_rest_shared 1 ['N/A'] 8 0 2 2 4 33 2 106 77
azure.core.pipeline.transport._aiohttp.AioHttpTransport.send azure.core.pipeline.transport._aiohttp 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 3 0 4 8 6 44 0 144 75
azure.core.pipeline.transport._base.PipelineClientBase._request azure.core.pipeline.transport._base 8 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 4 0 8 7 6 46 8 151 71
azure.common.client_factory.get_client_from_cli_profile azure.common.client_factory 2 ['N/A', 'N/A'] 3 0 4 6 5 21 0 71 62
azure.mgmt.dynatrace._serialization.Serializer.serialize_object azure.mgmt.dynatrace._serialization 3 ['N/A', 'N/A', 'N/A'] 9 0 2 13 8 118 1 395 58

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

Functions statically reachable by fuzzers
21.0%
221 / 1036
Cyclomatic complexity statically reachable by fuzzers
24.0%
833 / 3458

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

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
azure.mgmt.dynatrace._serialization.Serializer._serialize 79 26 32.91% ['fuzz_mgmt_serialization']
azure.mgmt.dynatrace._serialization.Serializer.serialize_iter 36 0 0.0% []
azure.mgmt.dynatrace._serialization.Serializer.serialize_object 40 0 0.0% []
azure.mgmt.dynatrace._serialization.xml_key_extractor 45 6 13.33% ['fuzz_mgmt_serialization']
azure.mgmt.dynatrace._serialization.Deserializer._deserialize 50 24 48.0% ['fuzz_mgmt_serialization']
azure.core.pipeline.policies._universal.NetworkTraceLoggingPolicy.on_request 33 0 0.0% []
azure.core.pipeline.policies._universal.HttpLoggingPolicy.on_request 58 0 0.0% []
azure.core.utils._pipeline_transport_rest_shared._prepare_multipart_body_helper 31 2 6.451% ['fuzz_mgmt_serialization']
typing_extensions.ParamSpec 1787 516 28.87% ['fuzz_mgmt_serialization']
azure.core.serialization.as_attribute_dict 31 0 0.0% []
azure.core._pipeline_client.PipelineClient._build_pipeline 36 0 0.0% []
azure.core.pipeline.policies._distributed_tracing.DistributedTracingPolicy.on_request 36 0 0.0% []
azure.core.pipeline.policies._distributed_tracing.DistributedTracingPolicy.end_span 35 0 0.0% []
azure.core._pipeline_client_async.AsyncPipelineClient._build_pipeline 37 0 0.0% []
azure.core.pipeline.policies._retry.RetryPolicyBase.increment 35 0 0.0% []
azure.core.pipeline.policies._retry.RetryPolicy.send 39 0 0.0% []
azure.core.pipeline.policies._retry_async.AsyncRetryPolicy.send 39 0 0.0% []
azure.mgmt.dynatrace.operations._monitors_operations.MonitorsOperations._create_or_update_initial 35 5 14.28% ['fuzz_mgmt_serialization']
azure.mgmt.dynatrace.operations._monitors_operations.MonitorsOperations.get_sso_details 34 5 14.70% ['fuzz_mgmt_serialization']
azure.mgmt.dynatrace.operations._tag_rules_operations.TagRulesOperations._create_or_update_initial 35 5 14.28% ['fuzz_mgmt_serialization']
azure.mgmt.dynatrace.operations._single_sign_on_operations.SingleSignOnOperations._create_or_update_initial 35 5 14.28% ['fuzz_mgmt_serialization']
azure.core.tracing.decorator.distributed_trace.decorator.wrapper_use_tracer 41 2 4.878% ['fuzz_mgmt_serialization']

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
[] []
azure.core.rest._http_response_impl [] []
azure.core.pipeline.transport._aiohttp [] []
azure.mgmt.dynatrace.aio.operations._patch [] []
logging [] []
azure.core.pipeline.policies._redirect_async [] []
cchardet [] []
azure.mgmt.dynatrace.aio.operations._single_sign_on_operations [] []
azure.core.rest._requests_trio [] []
azure.core.tracing._models [] []
ProfileDefinition [] []
azure.core.pipeline.transport._base [] []
azure.mgmt.core.policies._authentication [] []
azure.mgmt.dynatrace.models._models_py3 ['fuzz_mgmt_serialization'] []
azure.core.serialization [] []
azure.mgmt.core._version [] []
azure.core.polling.base_polling [] []
azure.core.async_paging [] []
azure.core.exceptions ['fuzz_mgmt_serialization'] []
azure.core.pipeline.transport._base_requests_async [] []
functools [] []
azure.mgmt.dynatrace.aio.operations._tag_rules_operations [] []
azure.mgmt.core._pipeline_client [] []
azure.core.polling.async_base_polling [] []
asyncio [] []
warnings [] []
azure.core.polling._async_poller [] []
azure.common._version [] []
azure [] []
azure.core.utils._pipeline_transport_rest_shared ['fuzz_mgmt_serialization'] []
datetime [] []
enum [] []
azure.mgmt.dynatrace.operations._tag_rules_operations [] []
azure.core.pipeline.policies._authentication_async [] []
azure.core._azure_clouds [] []
time [] []
azure.core.pipeline.transport._requests_trio [] []
azure.core._enum_meta [] []
azure.core.pipeline.policies [] []
azure.mgmt.core.polling [] []
azure.mgmt.dynatrace.aio._dynatrace_observability_mgmt_client [] []
azure.profiles [] []
azure.mgmt.dynatrace._patch [] []
charset_normalizer [] []
ssl [] []
azure.core.pipeline._tools [] []
azure.core.utils._messaging_shared [] []
azure.mgmt.dynatrace._vendor [] []
azure.mgmt.core.policies._base [] []
azure.core.utils [] []
azure.mgmt.core._async_pipeline_client [] []
azure.mgmt.dynatrace.aio.operations._monitors_operations [] []
azure.core [] []
azure.core.rest._rest_py3 ['fuzz_mgmt_serialization'] []
...fuzz_mgmt_serialization ['fuzz_mgmt_serialization'] []
io [] []
zlib [] []
copy [] []
azure.core.tracing.opentelemetry [] []
json [] []
azure.core.rest [] []
platform [] []
azure.core.pipeline.policies._distributed_tracing [] []
azure.mgmt.dynatrace.aio.operations [] []
azure.common.cloud [] []
os [] []
azure.core.configuration [] []
azure.mgmt.core.policies._authentication_async [] []
azure.core.pipeline.transport._bigger_block_size_http_adapters [] []
azure.core._pipeline_client_async [] []
azure.core.pipeline.policies._redirect [] []
azure.core.messaging [] []
azure.core.rest._http_response_impl_async [] []
azure.core.pipeline.transport [] []
azure.mgmt.dynatrace.models [] []
pickle [] []
azure.core.rest._requests_asyncio [] []
azure.mgmt.core.policies [] []
azure.core.pipeline.policies._retry_async [] []
azure.mgmt.core [] []
azure.mgmt.dynatrace.operations._monitors_operations [] []
threading [] []
azure.core.tracing._abstract_span [] []
azure.mgmt.dynatrace [] []
azure.core._pipeline_client [] []
azure.mgmt.dynatrace.operations._operations [] []
adal [] []
[] []
decimal [] []
azure.common.client_factory [] []
azure.core.pipeline.transport._requests_basic [] []
azure.core.tracing.ext [] []
azure.mgmt.dynatrace._serialization ['fuzz_mgmt_serialization'] []
azure.core.pipeline.transport._requests_asyncio [] []
azure.core.tracing [] []
azure.core.pipeline._tools_async [] []
collections [] []
azure.core.tracing.common [] []
typing_extensions [] []
azure.core.polling._poller [] []
azure.core.utils._utils ['fuzz_mgmt_serialization'] []
azure.common.exceptions [] []
azure.mgmt.dynatrace.aio._configuration [] []
azure.core.pipeline.transport._base_async [] []
trio [] []
azure.mgmt.dynatrace.aio._patch [] []
http [] []
KnownProfiles [] []
aiohttp [] []
abc [] []
opentelemetry [] []
azure.mgmt.dynatrace.operations._single_sign_on_operations [] []
azure.core._version [] []
azure.mgmt.core.polling.arm_polling ['fuzz_mgmt_serialization'] []
azure.core.credentials_async [] []
azure.core.rest._helpers ['fuzz_mgmt_serialization'] []
azure.core.pipeline._base [] []
atheris [] []
azure.core._match_conditions [] []
azure.common.credentials [] []
msrestazure [] []
email [] []
azure.core.tracing.decorator_async [] []
azure.core.utils._pipeline_transport_rest_shared_async [] []
base64 [] []
azure.core.utils._connection_string_parser [] []
azure.mgmt.dynatrace._configuration [] []
azure.core.instrumentation [] []
azure.mgmt.dynatrace.operations [] []
contextvars [] []
urllib [] []
calendar [] []
azure.core.pipeline.policies._authentication [] []
uuid [] []
codecs [] []
multidict [] []
azure.core.pipeline.policies._base [] []
itertools [] []
isodate [] []
azure.core.pipeline.policies._retry [] []
azure.core.pipeline.policies._utils [] []
azure.core.pipeline.policies._base_async [] []
azure.core.rest._requests_basic [] []
azure.core.rest._aiohttp [] []
azure.core.pipeline.policies._sensitive_header_cleanup_policy [] []
azure.core.credentials [] []
chardet [] []
xml [] []
azure.core.pipeline.policies._custom_hook [] []
azure.mgmt.dynatrace._dynatrace_observability_mgmt_client [] []
azure.mgmt.dynatrace.aio [] []
azure.profiles.multiapiclient [] []
azure.mgmt.core.policies._base_async [] []
azure.core.tracing.decorator [] []
azure.mgmt.dynatrace.operations._patch [] []
azure.core.settings [] []
azure.mgmt.core.tools [] []
azure.mgmt.dynatrace.models._patch [] []
inspect [] []
requests [] []
azure.core.pipeline.policies._universal [] []
azure.mgmt.dynatrace._version [] []
azure.core.paging [] []
azure.core.pipeline [] []
azure.mgmt.core.polling.async_arm_polling ['fuzz_mgmt_serialization'] []
azure.mgmt.dynatrace.models._dynatrace_observability_mgmt_client_enums [] []
azure.core.pipeline._base_async [] []
typing [] []
urllib3 [] []
re [] []
sys [] []
azure.core.polling [] []
azure.mgmt.dynatrace.aio.operations._operations [] []

Directories in report

Directory