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_cloudtask_client

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 62 93.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 4 6.06%
All colors 66 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
41 24 google.auth.transport.mtls.default_client_cert_source call site: 00024 google.api_core.client_logging.initialize_logging
17 0 EP call site: 00000 google.cloud.tasks_v2.services.cloud_tasks.client.CloudTasksClient.__init__
2 18 google.auth.transport.mtls.has_default_client_cert_source call site: 00018 os.path.expanduser
2 21 google.auth.transport._mtls_helper._check_config_path call site: 00021 google.auth.transport.mtls.default_client_cert_source

Runtime coverage analysis

Covered functions
231
Functions that are reachable but not covered
44
Reachable functions
47
Percentage of reachable functions covered
6.38%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
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_cloudtask_client 6
google.cloud.tasks_v2.services.cloud_tasks.client 22
google.api_core.client_options 4
google.auth.transport.mtls 2
google.auth.transport._mtls_helper 3
google.api_core.client_logging 11
google.auth._default 1
google.auth.api_key 1
google.auth.credentials 2
google.auth._refresh_worker 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
google.protobuf.text_format._Parser._MergeField google.protobuf.text_format 3 ['N/A', 'N/A', 'N/A'] 13 0 18 23 12 214 10 706 685
google.auth.credentials.Credentials._non_blocking_refresh google.auth.credentials 2 ['N/A', 'N/A'] 7 0 2 2 4 190 1 618 591
google.cloud.tasks_v2.services.cloud_tasks.transports.rest.CloudTasksRestTransport._CreateQueue.__call__ google.cloud.tasks_v2.services.cloud_tasks.transports.rest 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 10 0 4 3 4 116 0 396 318
google.auth._default._get_explicit_environ_credentials google.auth._default 1 ['N/A'] 8 0 3 2 4 105 1 334 261
mock.mock._patch.__enter__ mock.mock 1 ['N/A'] 5 0 5 39 19 77 1 275 239
google.protobuf.text_format._Printer.PrintFieldValue google.protobuf.text_format 3 ['N/A', 'N/A', 'N/A'] 18 0 14 12 8 194 15 652 151
google.auth.transport._http_client.Request.__call__ google.auth.transport._http_client 7 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 5 0 5 3 4 39 0 126 96

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

Functions statically reachable by fuzzers
12.0%
391 / 3188
Cyclomatic complexity statically reachable by fuzzers
14.0%
1423 / 10516

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
mock.mock._patch.__enter__ 105 0 0.0% []
mock.mock._Call.__eq__ 38 1 2.631% ['fuzz_cloudtask_client']
mock.mock.create_autospec 80 0 0.0% []
google.cloud.tasks_v2.services.cloud_tasks.async_client.CloudTasksAsyncClient 54 6 11.11% ['fuzz_cloudtask_client']
google.protobuf.descriptor_pool.DescriptorPool._ConvertFileProtoToFileDescriptor 31 0 0.0% []
google.protobuf.descriptor_pool.DescriptorPool._ConvertMessageDescriptor 31 0 0.0% []
google.protobuf.descriptor_pool.DescriptorPool._SetFieldType 47 0 0.0% []
google.protobuf.internal.python_message._AddInitMethod.init 67 0 0.0% []
google.protobuf.descriptor.Descriptor.__init__ 31 0 0.0% []
google.protobuf.descriptor.MakeDescriptor 48 0 0.0% []
google.protobuf.internal.decoder.MessageSetItemDecoder.DecodeItem 38 0 0.0% []
google.protobuf.text_format._Printer._PrintUnknownFields 35 0 0.0% []
google.protobuf.text_format._Printer.PrintFieldValue 31 0 0.0% []
google.protobuf.text_format._Parser._MergeField 74 0 0.0% []
google.protobuf.text_format._Parser._MergeScalarField 37 0 0.0% []
google.protobuf.internal.api_implementation._CanImport 43 21 48.83% ['fuzz_cloudtask_client']
grpc.experimental.unary_unary 374 7 1.871% ['fuzz_cloudtask_client']
google.protobuf.internal.well_known_types.Timestamp.FromJsonString 39 0 0.0% []
google.rpc.error_details_pb2 51 12 23.52% ['fuzz_cloudtask_client']

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
[] []
google.auth._exponential_backoff [] []
google.protobuf.descriptor_pb2 [] []
google.api_core.client_options ['fuzz_cloudtask_client'] []
google.auth.aio.transport.aiohttp [] []
google.protobuf.empty_pb2 [] []
google.type.localized_text_pb2 [] []
google.type.color_pb2 [] []
google.protobuf.runtime_version [] []
google.protobuf.internal.api_implementation [] []
google.protobuf.internal.containers [] []
google.protobuf.internal.python_message [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.transports.rest_base [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.transports [] []
google.type.interval_pb2 [] []
google.auth._credentials_base [] []
google.api.endpoint_pb2 [] []
google.protobuf.symbol_database [] []
google.api_core.gapic_v1.method [] []
google.auth.environment_vars [] []
google.auth._oauth2client [] []
google.api.annotations_pb2 [] []
google.auth.aio._helpers [] []
pprint [] []
inspect [] []
google.protobuf.internal.extension_dict [] []
google.oauth2._service_account_async [] []
google.api_core.datetime_helpers [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.transports.grpc [] []
google.cloud.tasks_v2.services.cloud_tasks.transports.grpc [] []
google.auth.transport.grpc [] []
google.protobuf.text_format [] []
google.protobuf.duration [] []
google.oauth2.credentials [] []
google.type.fraction_pb2 [] []
google.api.monitoring_pb2 [] []
google.cloud.tasks_v2beta2.services [] []
cffi [] []
google.oauth2.challenges [] []
google.api.visibility_pb2 [] []
google.type.postal_address_pb2 [] []
typing [] []
google.rpc.context.attribute_context_pb2 [] []
google.auth.crypt.base [] []
google.api.service_pb2 [] []
google.protobuf.internal.wire_format [] []
google.protobuf.internal.encoder [] []
google.api_core.page_iterator [] []
asyncio [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.client [] []
...fuzz_cloudtask_client ['fuzz_cloudtask_client'] []
urllib [] []
google.oauth2._client [] []
google.auth.jwt [] []
grpc [] []
subprocess [] []
aiohttp [] []
google.protobuf.struct_pb2 [] []
google.api_core.exceptions [] []
copy [] []
google.cloud.tasks_v2beta3.types.cloudtasks [] []
google.type.month_pb2 [] []
google.auth.transport.mtls ['fuzz_cloudtask_client'] []
google.auth.metrics [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.transports.rest [] []
google.cloud.tasks.gapic_version [] []
google.auth.external_account_authorized_user [] []
functools [] []
google.protobuf.internal.well_known_types [] []
google.auth.aio.credentials [] []
google.api_core.gapic_v1.client_info [] []
threading [] []
google.iam.v1.iam_policy_pb2_grpc [] []
re [] []
google.api.field_behavior_pb2 [] []
google.auth.aio [] []
google.oauth2.utils [] []
dataclasses [] []
mock [] []
google.protobuf.any_pb2 [] []
certifi [] []
google.gapic.metadata.gapic_metadata_pb2 [] []
os [] []
google.cloud.tasks_v2beta3.services.cloud_tasks [] []
google.api.context_pb2 [] []
google.longrunning.operations_grpc_pb2 [] []
google.auth.transport._aiohttp_requests [] []
google.cloud.tasks_v2beta2 [] []
copyreg [] []
sys [] []
google.api.httpbody_pb2 [] []
google.api_core.operations_v1.operations_client_config [] []
google.api_core.retry.retry_unary_async [] []
google.api_core.rest_helpers [] []
google.iam.v1 [] []
google.oauth2.webauthn_handler [] []
google.type.decimal_pb2 [] []
warnings [] []
google.cloud.tasks_v2.services.cloud_tasks.transports.rest [] []
google.protobuf.reflection [] []
google.api_core.retry.retry_base [] []
http [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.transports.rest_base [] []
google.logging.type.log_severity_pb2 [] []
google.auth.version [] []
google.cloud.tasks_v2.types.queue [] []
google.api.auth_pb2 [] []
hmac [] []
google.oauth2._id_token_async [] []
google.auth.crypt._python_rsa [] []
google.protobuf.timestamp_pb2 [] []
google.protobuf.compiler.plugin_pb2 [] []
google.auth.compute_engine.credentials [] []
queue [] []
google.auth.transport.urllib3 [] []
google.api_core.path_template [] []
google.cloud.tasks_v2.types.task [] []
google.protobuf.pyext.cpp_message [] []
google.auth.pluggable [] []
jwt [] []
google.api_core.future.async_future [] []
google.cloud.tasks_v2beta2.types.old_target [] []
google.api.system_parameter_pb2 [] []
OpenSSL [] []
google.auth.aio.transport [] []
google.auth.external_account [] []
google.protobuf.duration_pb2 [] []
google.api.resource_pb2 [] []
platform [] []
google.api.routing_pb2 [] []
google.auth.aio.transport.sessions [] []
google.cloud.tasks_v2.services [] []
google.auth.exceptions [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.transports.grpc_asyncio [] []
random [] []
google.api_core.grpc_helpers [] []
urllib3 [] []
google.oauth2.reauth [] []
google.protobuf.proto_text [] []
google.auth.transport._requests_base [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.pagers [] []
rsa [] []
google.auth._refresh_worker ['fuzz_cloudtask_client'] []
google.type.expr_pb2 [] []
google [] []
google.longrunning.operations_pb2_grpc [] []
google.protobuf.descriptor [] []
google.auth.crypt [] []
requests [] []
google.api_core.operations_v1.pagers [] []
gc [] []
google.api.backend_pb2 [] []
google.api.label_pb2 [] []
google.protobuf.proto_builder [] []
google.protobuf.field_mask_pb2 [] []
google.api_core.operations_v1.transports [] []
google.api_core.gapic_v1.method_async [] []
google.cloud.tasks_v2beta3.types [] []
google.auth.downscoped [] []
google.protobuf.internal.field_mask [] []
google.auth.transport [] []
google.api_core.future.polling [] []
google.rpc.http_pb2 [] []
atheris [] []
google.api_core.version_header [] []
google.auth._default_async [] []
unittest [] []
google.api.log_pb2 [] []
google.cloud.location.locations_pb2 [] []
google.type.date_pb2 [] []
google.api_core [] []
google.auth.app_engine [] []
google.longrunning.operations_pb2 [] []
google.oauth2.id_token [] []
google.api_core.retry.retry_unary [] []
google.auth.transport._mtls_helper ['fuzz_cloudtask_client'] []
google.api.control_pb2 [] []
google.protobuf.internal.message_listener [] []
google.cloud.tasks_v2.types.target [] []
google.oauth2._credentials_async [] []
google.api_core.extended_operation [] []
getpass [] []
google.rpc.status_pb2 [] []
google.rpc.context.audit_context_pb2 [] []
google.cloud.tasks_v2beta3.types.task [] []
google.auth._jwt_async [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.client [] []
cachetools [] []
packaging [] []
google.auth.api_key ['fuzz_cloudtask_client'] []
google.protobuf.internal [] []
google.cloud.tasks_v2beta2.types.target [] []
google.type.quaternion_pb2 [] []
collections [] []
google.api.policy_pb2 [] []
google.iam.v1.logging.audit_data_pb2 [] []
google.cloud.tasks_v2beta3.gapic_version [] []
google.api_core.future._helpers [] []
google.api.config_change_pb2 [] []
google.auth.identity_pool [] []
google.type.dayofweek_pb2 [] []
google.type.datetime_pb2 [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.transports.base [] []
google.api.metric_pb2 [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.transports.rest [] []
posixpath [] []
google.type.money_pb2 [] []
google.protobuf.any [] []
google.api_core.operations_v1.operations_rest_client_async [] []
google.auth.transport._custom_tls_signer [] []
google.type.phone_number_pb2 [] []
google.protobuf.util [] []
google.api.http_pb2 [] []
google.iam.v1.iam_policy_pb2 [] []
google.oauth2 [] []
google.auth._cloud_sdk [] []
google.oauth2._client_async [] []
google.cloud.tasks_v2beta2.types.queue [] []
google.api_core.operations_v1.pagers_async [] []
google.protobuf.descriptor_pool [] []
google.api.launch_stage_pb2 [] []
google.protobuf.api_pb2 [] []
google.auth.crypt.rsa [] []
google.api_core.operations_v1 [] []
google.auth.crypt.es256 [] []
google.auth.credentials ['fuzz_cloudtask_client'] []
google.cloud.extended_operations_pb2 [] []
google.api_core.client_logging ['fuzz_cloudtask_client'] []
google.cloud.tasks_v2.types [] []
google.cloud.tasks_v2.services.cloud_tasks.transports.rest_base [] []
google.auth.impersonated_credentials [] []
google.auth [] []
google.rpc.code_pb2 [] []
google.api_core.grpc_helpers_async [] []
google.cloud.tasks_v2.services.cloud_tasks.transports [] []
google.api_core.operations_v1.transports.rest [] []
weakref [] []
google.protobuf.type_pb2 [] []
google.cloud.tasks [] []
google.api.distribution_pb2 [] []
google.api_core.future [] []
hashlib [] []
google.api_core.future.base [] []
google.longrunning.operations_proto_pb2 [] []
google.api_core.bidi [] []
google.cloud.tasks_v2.services.cloud_tasks [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.pagers [] []
mock.mock [] []
google.api_core._rest_streaming_base [] []
google.longrunning.operations_grpc [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.async_client [] []
google.cloud.tasks_v2.services.cloud_tasks.client ['fuzz_cloudtask_client'] []
google.protobuf.text_encoding [] []
google.api_core.retry.retry_streaming_async [] []
google.auth.transport.requests [] []
google.type.timeofday_pb2 [] []
datetime [] []
google.rpc.error_details_pb2 [] []
google.api_core.operations_v1.operations_async_client [] []
google.api_core.operations_v1.operations_client [] []
google.api_core.gapic_v1.config_async [] []
google.protobuf.source_context_pb2 [] []
google.cloud.tasks_v2beta3 [] []
google.iam.v1.policy_pb2 [] []
contextlib [] []
google.auth.aws [] []
google.cloud.tasks_v2.services.cloud_tasks.async_client [] []
google.api_core.version [] []
ctypes [] []
google.api_core.gapic_v1 [] []
google.auth.compute_engine [] []
google.auth._service_account_info [] []
grpc_gcp [] []
struct [] []
google.api_core.operations_v1.transports.base [] []
google.cloud.tasks_v2.types.cloudtasks [] []
google.protobuf.internal.python_edition_defaults [] []
google.logging.type.http_request_pb2 [] []
google.cloud.tasks_v2.gapic_version [] []
google.api.usage_pb2 [] []
google.protobuf.wrappers_pb2 [] []
google.api_core.operation_async [] []
google.api_core.retry.retry_streaming [] []
mock.backports [] []
google.api_core.iam [] []
google.auth._credentials_async [] []
google.auth.iam [] []
google.api_core.operations_v1.abstract_operations_client [] []
google.api.logging_pb2 [] []
google.oauth2.service_account [] []
google.protobuf.proto_json [] []
google.cloud.tasks_v2beta2.types [] []
google.api.quota_pb2 [] []
google.api.billing_pb2 [] []
google.api_core.operations_v1.transports.rest_asyncio [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.transports.grpc_asyncio [] []
google.api_core.protobuf_helpers [] []
google.cloud.tasks_v2.services.cloud_tasks.transports.grpc_asyncio [] []
google.api_core.client_info [] []
google.cloud.tasks_v2beta2.gapic_version [] []
google.protobuf.internal.enum_type_wrapper [] []
json [] []
time [] []
google.api_core.retry [] []
logging [] []
google.api_core.rest_streaming [] []
google.protobuf.pyext [] []
grpc_status [] []
email [] []
google.cloud.tasks_v2 [] []
google.api_core.universe [] []
google.iam.v1.options_pb2_grpc [] []
google.api.source_info_pb2 [] []
google.api_core.operation [] []
google.api.client_pb2 [] []
google.api_core.gapic_v1.config [] []
google.protobuf.compiler [] []
google.protobuf.message_factory [] []
google.cloud.tasks_v2beta2.types.task [] []
google.auth.crypt._cryptography_rsa [] []
google.iam.v1.logging [] []
pyasn1 [] []
google.api_core.timeout [] []
google.auth.compute_engine._metadata [] []
google.type.calendar_period_pb2 [] []
google.cloud.tasks_v2.services.cloud_tasks.transports.base [] []
google.api_core.gapic_v1.routing_header [] []
google.protobuf.json_format [] []
google.cloud.tasks_v2beta2.services.cloud_tasks [] []
google.oauth2.gdch_credentials [] []
io [] []
google.oauth2._reauth_async [] []
google.cloud.tasks_v2beta3.types.queue [] []
google.api_core.operations_v1.pagers_base [] []
google.api_core.rest_streaming_async [] []
google.auth.transport._http_client [] []
google.type.latlng_pb2 [] []
google.longrunning.operations_proto [] []
google.protobuf.service_reflection [] []
google.auth._helpers [] []
google.api_core.retry_async [] []
google.cloud.tasks_v2beta2.types.cloudtasks [] []
google.api_core.page_iterator_async [] []
google.protobuf.internal.testing_refleaks [] []
google.cloud.tasks_v2.services.cloud_tasks.pagers [] []
importlib [] []
google.api.documentation_pb2 [] []
typing_extensions [] []
google.oauth2.sts [] []
binascii [] []
base64 [] []
google.api.error_reason_pb2 [] []
google.cloud.tasks_v2beta3.services [] []
google.api_core.operations_v1.abstract_operations_base_client [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.transports.base [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.transports.grpc [] []
google.protobuf.timestamp [] []
google.protobuf.internal.decoder [] []
google.protobuf.proto [] []
google.protobuf.testdata [] []
google.auth._default ['fuzz_cloudtask_client'] []
google.oauth2.webauthn_types [] []
google.cloud.tasks_v2beta3.services.cloud_tasks.transports [] []
pyasn1_modules [] []
google.api.monitored_resource_pb2 [] []
google.cloud.tasks_v2beta3.types.target [] []
google.cloud.tasks_v2beta2.services.cloud_tasks.async_client [] []
google.api_core.general_helpers [] []
operator [] []
math [] []
google.iam.v1.options_pb2 [] []
google.iam.v1.resource_policy_member_pb2 [] []
calendar [] []
google.oauth2.webauthn_handler_factory [] []
cryptography [] []
google.protobuf.internal.builder [] []
google.api.field_info_pb2 [] []
google.protobuf.internal.type_checkers [] []
proto [] []
[] []
google.protobuf.message [] []
google.protobuf.unknown_fields [] []
google.auth.crypt._helpers [] []
google.api.consumer_pb2 [] []
google.protobuf.descriptor_database [] []
google.protobuf [] []
google.iam.v1.policy_pb2_grpc [] []
types [] []
pickle [] []

Directories in report

Directory