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

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 17 50.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 17 50.0%
All colors 34 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
7 14 google.cloud.tasks_v2.services.cloud_tasks.client.CloudTasksClient.get_mtls_endpoint_and_cert_source call site: 00014 google.auth.transport.mtls.default_client_cert_source
5 3 google.cloud.tasks_v2.services.cloud_tasks.client.CloudTasksClient.__init__ call site: 00003 google.api_core.client_options.from_dict
3 24 google.cloud.tasks_v2.services.cloud_tasks.client.CloudTasksClient.__init__ call site: 00024 google.auth._default.get_api_key_credentials
1 11 google.cloud.tasks_v2.services.cloud_tasks.client.CloudTasksClient.__init__ call site: 00011 google.api_core.client_options.ClientOptions.__init__
1 28 google.cloud.tasks_v2.services.cloud_tasks.client.CloudTasksClient.__init__ call site: 00028 google.auth.credentials.Credentials.__init__

Runtime coverage analysis

Covered functions
454
Functions that are reachable but not covered
22
Reachable functions
27
Percentage of reachable functions covered
18.52%
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 12
google.api_core.client_options 4
google.auth.transport.mtls 2
google.auth.transport._mtls_helper 3
google.auth._default 1
google.auth.api_key 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'] 5 0 18 23 12 215 9 723 708
google.oauth2._id_token_async.fetch_id_token google.oauth2._id_token_async 2 ['N/A', 'N/A'] 11 0 4 4 5 202 0 649 619
google.api_core.operations_v1.transports.rest.OperationsRestTransport._list_operations google.api_core.operations_v1.transports.rest 5 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 4 0 3 2 4 93 0 326 263
mock.mock._patch.__enter__ mock.mock 1 ['N/A'] 3 0 5 38 18 60 1 222 192
google.auth._default._get_explicit_environ_credentials google.auth._default 1 ['N/A'] 4 0 3 2 4 99 1 314 186
google.protobuf.text_format._Printer.PrintFieldValue google.protobuf.text_format 3 ['N/A', 'N/A', 'N/A'] 9 0 14 12 8 194 14 653 142
google.cloud.tasks_v2.services.cloud_tasks.transports.rest.CloudTasksRestTransport.__init__ google.cloud.tasks_v2.services.cloud_tasks.transports.rest 12 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 4 0 4 2 4 52 0 168 123

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

Functions statically reachable by fuzzers
14.0%
374 / 2660
Cyclomatic complexity statically reachable by fuzzers
16.0%
1358 / 8757

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
google.protobuf.descriptor_pool.DescriptorPool._ConvertFileProtoToFileDescriptor 37 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.descriptor.MakeDescriptor 44 0 0.0% []
google.protobuf.internal.api_implementation._CanImport 43 21 48.83% []
os.remove 40 20 50.0% []
descriptor_pb2.FileDescriptorProto.FromString 227 13 5.726% []
name.rstrip 72 12 16.66% []
collections.abc.MutableMapping.get 185 60 32.43% []
e.with_traceback 37 13 35.13% []
m._mock_children.get 39 7 17.94% []
google.protobuf.internal.decoder.EnumDecoder.DecodeField 31 13 41.93% []
google.protobuf.internal.decoder.MessageSetItemDecoder.DecodeItem 39 0 0.0% []
google.protobuf.internal.well_known_types.Timestamp.FromJsonString 38 0 0.0% []
struct.unpack 63 22 34.92% []
google.iam.v1.iam_policy_pb2 59 29 49.15% []
six.moves.http_client.HTTPConnection 521 281 53.93% []
cachetools.LRUCache 592 132 22.29% []
urllib3.response.MultiDecoder 429 86 20.04% []
request.pop 40 13 32.5% []
pkg_resources.get_distribution 1578 24 1.520% []
d.get 189 25 13.22% []
api.Authenticate 195 14 7.179% []
url.find 206 54 26.21% []
key.split 258 76 29.45% []
connection.close 231 70 30.30% []
google.api_core.path_template.transcode 34 0 0.0% []
google.protobuf.json_format._Printer._RegularMessageToJsonObject 41 0 0.0% []
google.protobuf.json_format._Printer._FieldToJsonObject 33 0 0.0% []
google.protobuf.json_format._Parser._ConvertFieldValuePair 71 0 0.0% []
google.protobuf.json_format._ConvertScalarFieldValue 32 0 0.0% []
google.api_core.rest_streaming.ResponseIterator._process_chunk 33 0 0.0% []
mock.mock._patch.__enter__ 101 36 35.64% []
mock.mock._Call.__eq__ 38 1 2.631% []
mock.mock.create_autospec 69 0 0.0% []
google.protobuf.wrappers_pb2 31 11 35.48% []
channel.unary_unary 899 285 31.70% []
urllib3.util.ssl_.create_urllib3_context 192 46 23.95% []

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

Directories in report

Directory