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

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 114 72.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 43 27.3%
All colors 157 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
92 26 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00026 azure.mgmt.dynatrace._serialization.Deserializer.deserialize_data
11 11 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00011 azure.mgmt.dynatrace._serialization.Deserializer._deserialize
5 148 azure.mgmt.dynatrace._serialization.Deserializer._instantiate_model call site: 00148 attrs.get
2 131 azure.mgmt.dynatrace._serialization.Deserializer._build_additional_properties call site: 00131 azure.mgmt.dynatrace._serialization._decode_attribute_map_key
1 119 azure.core.exceptions.raise_with_traceback call site: 00119 azure.mgmt.dynatrace._serialization.Deserializer._deserialize
1 122 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00122 azure.mgmt.dynatrace._serialization.Deserializer.deserialize_enum
1 125 azure.mgmt.dynatrace._serialization.Deserializer._deserialize call site: 00125 _LOGGER.warning
1 134 azure.mgmt.dynatrace._serialization._decode_attribute_map_key call site: 00134 attribute_map.values

Runtime coverage analysis

Covered functions
294
Functions that are reachable but not covered
84
Reachable functions
96
Percentage of reachable functions covered
12.5%
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 57
azure.core.rest._rest_py3 9
azure.core.utils._pipeline_transport_rest_shared 11
azure.core.rest._helpers 15
azure.core.utils._utils 1
azure.mgmt.core.polling.arm_polling 3
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'] 9 0 1 2 4 186 0 621 449
azure.core.pipeline.transport._requests_asyncio.AsyncioRequestsTransport.send azure.core.pipeline.transport._requests_asyncio 4 ['N/A', 'N/A', 'N/A', 'N/A'] 4 0 5 5 5 69 0 220 181
azure.core.pipeline.policies._retry_async.AsyncRetryPolicy.send azure.core.pipeline.policies._retry_async 2 ['N/A', 'N/A'] 5 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'] 10 0 1 2 4 159 0 540 91
azure.core.pipeline.transport._aiohttp.AioHttpTransport.send azure.core.pipeline.transport._aiohttp 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 4 0 4 7 6 51 0 164 86
azure.core.utils._pipeline_transport_rest_shared._parts_helper azure.core.utils._pipeline_transport_rest_shared 1 ['N/A'] 6 0 2 2 4 34 2 109 77
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 150 71
azure.mgmt.dynatrace._serialization.Serializer.serialize_object azure.mgmt.dynatrace._serialization 3 ['N/A', 'N/A', 'N/A'] 7 0 2 13 8 110 1 370 61
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 59
azure.core.pipeline.policies._authentication_async.AsyncBearerTokenCredentialPolicy.send azure.core.pipeline.policies._authentication_async 2 ['N/A', 'N/A'] 8 0 7 3 4 22 0 73 55

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

Functions statically reachable by fuzzers
21.0%
214 / 996
Cyclomatic complexity statically reachable by fuzzers
24.0%
802 / 3312

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 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% []
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% []
azure.mgmt.dynatrace._serialization.Deserializer._deserialize 50 24 48.0% ['fuzz_mgmt_serialization']
azure.mgmt.dynatrace.operations._monitors_operations.MonitorsOperations._create_or_update_initial 35 5 14.28% []
azure.mgmt.dynatrace.operations._monitors_operations.MonitorsOperations.get_sso_details 34 5 14.70% []
azure.mgmt.dynatrace.operations._tag_rules_operations.TagRulesOperations._create_or_update_initial 35 5 14.28% []
azure.mgmt.dynatrace.operations._single_sign_on_operations.SingleSignOnOperations._create_or_update_initial 35 5 14.28% []
azure.core.utils._pipeline_transport_rest_shared._prepare_multipart_body_helper 31 2 6.451% []
loop.run_in_executor 66 26 39.39% []
io.open 308 147 47.72% []
typing_extensions.ParamSpec 1201 522 43.46% []
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._pipeline_client.PipelineClient._build_pipeline 36 0 0.0% []
azure.core._pipeline_client_async.AsyncPipelineClient._build_pipeline 37 0 0.0% []
azure.core.pipeline.policies._retry_async.AsyncRetryPolicy.send 38 0 0.0% []
azure.core.pipeline.policies._retry.RetryPolicyBase.increment 35 0 0.0% []
azure.core.pipeline.policies._retry.RetryPolicy.send 38 0 0.0% []

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

Directories in report

Directory