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

Fuzzer details

Fuzzer: fuzz_util

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

Runtime coverage analysis

Covered functions
540
Functions that are reachable but not covered
5
Reachable functions
8
Percentage of reachable functions covered
37.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_util 6
google.cloud.error_reporting.util 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 724 724
google.oauth2._id_token_async.fetch_id_token google.oauth2._id_token_async 2 ['N/A', 'N/A'] 11 0 4 4 5 172 0 555 531
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 92 0 323 260
mock.mock._patch.__enter__ mock.mock 1 ['N/A'] 3 0 5 38 18 60 1 221 194
google.auth._default._get_explicit_environ_credentials google.auth._default 1 ['N/A'] 5 0 3 2 4 97 1 307 185
google.protobuf.text_format._Printer.PrintFieldValue google.protobuf.text_format 3 ['N/A', 'N/A', 'N/A'] 7 0 14 12 8 194 14 653 148
google.api_core.operations_v1.transports.rest.OperationsRestTransport.__init__ google.api_core.operations_v1.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'] 3 0 4 2 4 52 0 168 129

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

Functions statically reachable by fuzzers
14.8%
611/4116
Cyclomatic complexity statically reachable by fuzzers
15.6%
2059 / 13156

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
mock.mock._patch.__enter__ 101 0 0.0% []
mock.mock._Call.__eq__ 38 1 2.631% []
mock.mock.create_autospec 69 0 0.0% []
re.search 37 13 35.13% []
name.rstrip 72 12 16.66% []
m.groupdict 39 7 17.94% []
os.remove 42 22 52.38% []
google.cloud.logging_v2.entries.LogEntry.from_api_repr 35 0 0.0% []
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% []
collections.abc.MutableMapping.get 185 52 28.10% []
google.protobuf.descriptor_pb2 215 13 6.046% []
google.protobuf.descriptor.MakeDescriptor 44 0 0.0% []
google.protobuf.internal.api_implementation._CanImport 43 21 48.83% []
google.protobuf.internal.decoder.EnumDecoder.DecodeField 31 13 41.93% []
google.protobuf.internal.decoder.MessageSetItemDecoder.DecodeItem 39 0 0.0% []
struct.pack 63 22 34.92% []
google.protobuf.internal.well_known_types.Timestamp.FromJsonString 38 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.rpc.context.attribute_context_pb2 74 38 51.35% []
google.api_core.path_template.transcode 34 0 0.0% []
six.moves.http_client.HTTPConnection 521 279 53.55% []
urllib3.response.MultiDecoder 429 86 20.04% []
url.find 206 54 26.21% []
key.split 258 76 29.45% []
d.get 189 25 13.22% []
api.Authenticate 195 14 7.179% []
connection.close 231 70 30.30% []
google.api_core.operations_v1.abstract_operations_client.AbstractOperationsClient.__init__ 35 0 0.0% []
google.protobuf.wrappers_pb2 31 11 35.48% []
channel.unary_unary 828 169 20.41% []
google.api_core.rest_streaming.ResponseIterator._process_chunk 33 0 0.0% []
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.auth.transport._custom_tls_signer [] []
google.auth.compute_engine [] []
google.protobuf.field_mask_pb2 [] []
cryptography [] []
google.auth.transport._mtls_helper [] []
google._upb._message [] []
[] []
google.auth.credentials [] []
google [] []
google.cloud.obsolete [] []
google.cloud.errorreporting_v1beta1.services.error_group_service.transports.rest [] []
google.iam.v1.policy_pb2_grpc [] []
queue [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service.client [] []
google.auth.impersonated_credentials [] []
io [] []
google.api.consumer_pb2 [] []
google.protobuf.pyext.cpp_message [] []
google.cloud.logging.handlers [] []
shutil [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service [] []
gc [] []
google.cloud.logging_v2.types.log_entry [] []
google.auth.crypt._helpers [] []
time [] []
google.cloud.logging [] []
google.oauth2._credentials_async [] []
google.cloud.logging_v2.services.logging_service_v2.transports.base [] []
google.cloud.errorreporting_v1beta1.types.error_stats_service [] []
google.api.label_pb2 [] []
google.protobuf.internal.containers [] []
subprocess [] []
google.protobuf [] []
google.api_core.gapic_v1.config_async [] []
google.api.client_pb2 [] []
google.api_core.future._helpers [] []
google.protobuf.internal.message_listener [] []
google.api.endpoint_pb2 [] []
inspect [] []
google.iam.v1.options_pb2 [] []
google.type [] []
google.cloud.location.locations_pb2 [] []
google.cloud.logging_v2.handlers.transports.base [] []
google.auth.crypt [] []
json [] []
google.protobuf.source_context_pb2 [] []
google.cloud.logging_v2.handlers.transports [] []
google.cloud.errorreporting_v1beta1.services.error_group_service.client [] []
google.cloud.errorreporting_v1beta1 [] []
google.cloud.logging_v2.handlers.structured_log [] []
google.api.metric_pb2 [] []
mock.backports [] []
google.cloud.appengine_logging_v1.types.request_log [] []
logging [] []
google.cloud.logging_v2.handlers._monitored_resources [] []
urllib3 [] []
google.type.quaternion_pb2 [] []
google.logging.type.http_request_pb2 [] []
hmac [] []
google.cloud.logging_v2.metric [] []
google.api_core [] []
google.type.month_pb2 [] []
google.cloud.logging_v2.services.config_service_v2.transports.grpc [] []
google.api.distribution_pb2 [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service.async_client [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.async_client [] []
google.protobuf.message [] []
google.auth.crypt.es256 [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service.transports.grpc [] []
traceback [] []
google.auth.environment_vars [] []
google.cloud.error_reporting.client [] []
google.api.quota_pb2 [] []
google.api_core.datetime_helpers [] []
google.cloud.logging_v2.services.metrics_service_v2.transports.grpc [] []
google.iam.v1.iam_policy_pb2_grpc [] []
google.api_core.operations_v1.abstract_operations_client [] []
distutils [] []
google.protobuf.any_pb2 [] []
google.cloud.logging_v2.handlers.transports.sync [] []
google.api_core.version [] []
google.cloud.error_reporting.gapic_version [] []
google.auth.transport.grpc [] []
rsa [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service.transports.base [] []
google.cloud.environment_vars [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service [] []
google.longrunning.operations_proto_pb2 [] []
google.api.documentation_pb2 [] []
google.rpc.code_pb2 [] []
google.longrunning.operations_proto [] []
google.protobuf.symbol_database [] []
google.cloud.audit [] []
google.protobuf.duration_pb2 [] []
google.auth.jwt [] []
google.cloud.logging_v2.resource [] []
google.protobuf.json_format [] []
google.cloud._helpers [] []
google.auth.aws [] []
google.api.service_pb2 [] []
atheris [] []
google.api.http_pb2 [] []
google.longrunning.operations_grpc [] []
google.type.fraction_pb2 [] []
google.longrunning.operations_grpc_pb2 [] []
google.cloud.logging_v2._http [] []
google.api_core.page_iterator [] []
google.auth.exceptions [] []
google.protobuf.internal.wire_format [] []
google.oauth2._id_token_async [] []
google.cloud.errorreporting_v1beta1.gapic_version [] []
google.cloud.errorreporting_v1beta1.types.common [] []
google.cloud.logging_v2.logger [] []
asyncio [] []
typing [] []
google.oauth2.reauth [] []
google.cloud.logging_v2.services [] []
google.type.dayofweek_pb2 [] []
google.protobuf.pyext [] []
grpc_status [] []
google.auth.compute_engine.credentials [] []
google.cloud.logging_v2.services.metrics_service_v2.pagers [] []
google.cloud.logging_v2.handlers.transports.background_thread [] []
google.cloud.logging_v2.handlers.app_engine [] []
google.cloud.errorreporting_v1beta1.services.error_group_service.transports.grpc_asyncio [] []
google.gapic.metadata [] []
google.api.system_parameter_pb2 [] []
google.api.monitored_resource_pb2 [] []
google.auth.transport.urllib3 [] []
google.api_core.operation_async [] []
requests [] []
google.api_core.general_helpers [] []
google.api_core.gapic_v1.client_info [] []
google.protobuf.message_factory [] []
pkg_resources [] []
google.cloud.logging_v2.services.logging_service_v2.pagers [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service.transports.rest [] []
google.api.resource_pb2 [] []
google.rpc [] []
calendar [] []
google.cloud.logging.gapic_version [] []
warnings [] []
weakref [] []
google.cloud.logging_v2._gapic [] []
mock [] []
google.cloud.logging_v2.services.logging_service_v2.transports.grpc_asyncio [] []
google.type.datetime_pb2 [] []
tempfile [] []
google.api_core.future.base [] []
google.cloud._testing [] []
google.cloud.logging_v2.services.logging_service_v2.async_client [] []
collections [] []
google.longrunning.operations_pb2_grpc [] []
google.protobuf.unknown_fields [] []
urllib [] []
google.protobuf.internal.python_message [] []
google.logging.type.log_severity_pb2 [] []
google.cloud.logging_v2.services.logging_service_v2.client [] []
google.cloud.logging_v2 [] []
google.cloud.logging_v2.types.logging_metrics [] []
google.cloud.appengine_logging.gapic_version [] []
cffi [] []
google.cloud.logging_v2.handlers.middleware [] []
google.protobuf.text_format [] []
google.auth.external_account_authorized_user [] []
google.type.money_pb2 [] []
google.cloud.errorreporting_v1beta1.services.error_group_service [] []
google.type.phone_number_pb2 [] []
google.protobuf.reflection [] []
google.api_core.client_options [] []
google.protobuf.compiler [] []
google.api_core.client_info [] []
google.iam.v1.policy_pb2 [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service.transports [] []
google.protobuf.internal.testing_refleaks [] []
google.oauth2.service_account [] []
google.api_core.operations_v1 [] []
copy [] []
google.api_core.operations_v1.operations_async_client [] []
google.api_core.grpc_helpers_async [] []
google.cloud.appengine_logging_v1 [] []
google.cloud.client [] []
google.oauth2.gdch_credentials [] []
google.auth.compute_engine._metadata [] []
google.cloud.errorreporting_v1beta1.types.error_group_service [] []
pkgutil [] []
binascii [] []
google.auth [] []
google.api_core.future.async_future [] []
google.cloud.appengine_logging_v1.types [] []
google.type.localized_text_pb2 [] []
google.type.calendar_period_pb2 [] []
hashlib [] []
google.cloud.errorreporting_v1beta1.services.report_errors_service.transports.grpc_asyncio [] []
google.auth.transport.requests [] []
google.protobuf.internal._parameterized [] []
importlib [] []
google.oauth2._client_async [] []
cachetools [] []
flask [] []
google.auth.transport._aiohttp_requests [] []
google.protobuf.internal.extension_dict [] []
google.cloud.errorreporting_v1beta1.services.error_group_service.transports [] []
google.type.decimal_pb2 [] []
google.api.config_change_pb2 [] []
google.api [] []
getpass [] []
google.cloud.logging_v2.gapic_version [] []
google.api.source_info_pb2 [] []
google.api_core.extended_operation [] []
google.iam.v1.logging.audit_data_pb2 [] []
google.api.routing_pb2 [] []
aiohttp [] []
google.auth.pluggable [] []
google.cloud.extended_operations_pb2 [] []
google.api.launch_stage_pb2 [] []
google.api.httpbody_pb2 [] []
google.cloud.logging_v2.handlers [] []
google.protobuf.internal.enum_type_wrapper [] []
google.oauth2.credentials [] []
google.protobuf.internal.type_checkers [] []
google.longrunning.operations_pb2 [] []
copyreg [] []
google.protobuf.descriptor_pb2 [] []
google.cloud.exceptions [] []
pprint [] []
google.api_core.future.polling [] []
google.auth.crypt._python_rsa [] []
google.cloud.logging_v2.services.metrics_service_v2 [] []
google.auth.transport.mtls [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.transports.base [] []
datetime [] []
google.protobuf.struct_pb2 [] []
google.iam.v1.logging [] []
google.protobuf.internal.field_mask [] []
google.auth._oauth2client [] []
google.type.latlng_pb2 [] []
google.auth.crypt.rsa [] []
google.cloud.errorreporting_v1beta1.types.report_errors_service [] []
google.cloud.logging_v2.services.logging_service_v2.transports [] []
google.protobuf.descriptor_database [] []
google.oauth2.utils [] []
re [] []
google.api_core.operation [] []
google.oauth2.id_token [] []
google.rpc.context [] []
google.auth._exponential_backoff [] []
google.api_core.operations_v1.transports.rest [] []
google.logging.type [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.pagers [] []
google.oauth2._service_account_async [] []
google.cloud.logging_v2.types [] []
random [] []
google.api.control_pb2 [] []
google.api_core.future [] []
google.auth.iam [] []
google.auth.crypt._cryptography_rsa [] []
google.auth.external_account [] []
google.oauth2 [] []
struct [] []
google.auth._helpers [] []
google.protobuf.type_pb2 [] []
google.cloud.logging_v2.services.config_service_v2.transports.base [] []
google.auth._default [] []
google.api_core.retry [] []
google.cloud._http [] []
pyasn1 [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.transports [] []
google.protobuf.internal.builder [] []
google.cloud.appengine_logging_v1.services [] []
google.iam.v1 [] []
google.api.field_behavior_pb2 [] []
google.protobuf.descriptor [] []
google.api.context_pb2 [] []
google.cloud.logging_v2.services.config_service_v2.transports [] []
google.cloud.error_reporting._logging [] []
google.cloud.appengine_logging [] []
google.api.visibility_pb2 [] []
google.cloud.logging_v2.services.config_service_v2.async_client [] []
threading [] []
google.cloud.logging.handlers.transports [] []
google.api_core.operations_v1.operations_client_config [] []
google.api.error_reason_pb2 [] []
google.protobuf.timestamp_pb2 [] []
google.api_core.page_iterator_async [] []
mock.mock [] []
google.api.monitoring_pb2 [] []
google.protobuf.internal.decoder [] []
google.rpc.http_pb2 [] []
google.auth.app_engine [] []
google.iam.v1.options_pb2_grpc [] []
google.cloud.errorreporting_v1beta1.services.error_group_service.transports.grpc [] []
google.rpc.context.attribute_context_pb2 [] []
google.auth.transport._http_client [] []
google.cloud.logging_v2._instrumentation [] []
google.cloud.logging_v2.services.config_service_v2 [] []
google.api.log_pb2 [] []
google.rpc.context.audit_context_pb2 [] []
google.cloud.logging_v2.types.logging [] []
google.cloud.logging_v2.sink [] []
google.api_core.bidi [] []
google.api_core.gapic_v1 [] []
google.protobuf.internal.api_implementation [] []
google.cloud.operation [] []
google.cloud.logging_v2.types.logging_config [] []
google.longrunning [] []
google.cloud.logging_v2.services.config_service_v2.pagers [] []
google.auth.crypt.base [] []
google.auth._jwt_async [] []
atexit [] []
google.cloud.logging_v2.handlers.middleware.request [] []
math [] []
pyasn1_modules [] []
google.api_core.rest_helpers [] []
certifi [] []
google.protobuf.internal [] []
google.api_core.iam [] []
google.cloud.error_reporting._gapic [] []
google.api.auth_pb2 [] []
google.cloud.logging_v2.handlers.container_engine [] []
google.cloud.error_reporting [] []
google.rpc.error_details_pb2 [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.transports.grpc [] []
google.cloud.errorreporting_v1beta1.types [] []
google.cloud.logging_v2.client [] []
google.oauth2.challenges [] []
google.type.date_pb2 [] []
google.type.timeofday_pb2 [] []
google.cloud.logging_v2.services.metrics_service_v2.transports [] []
google.cloud.errorreporting_v1beta1.services.error_group_service.async_client [] []
google.cloud.error_reporting.util ['fuzz_util'] []
google.type.color_pb2 [] []
operator [] []
google.api_core.exceptions [] []
google.protobuf.internal.well_known_types [] []
posixpath [] []
google.api_core.rest_streaming [] []
google.api.usage_pb2 [] []
google.api_core.operations_v1.pagers [] []
google.cloud.errorreporting_v1beta1.services [] []
google.protobuf.service_reflection [] []
google.oauth2._client [] []
google.auth.identity_pool [] []
google.cloud.logging_v2.services.metrics_service_v2.client [] []
google.cloud.audit.audit_log_pb2 [] []
uuid [] []
google.cloud.logging_v2.handlers.handlers [] []
google.protobuf.empty_pb2 [] []
google.cloud.logging_v2.services.metrics_service_v2.transports.base [] []
google.auth.transport [] []
google.type.interval_pb2 [] []
google.protobuf.text_encoding [] []
grpc [] []
google.protobuf.service [] []
platform [] []
google.auth._credentials_async [] []
google.cloud.logging_v2.services.metrics_service_v2.transports.grpc_asyncio [] []
google.oauth2._reauth_async [] []
google.iam.v1.iam_policy_pb2 [] []
google.api_core.gapic_v1.routing_header [] []
google.api_core.retry_async [] []
google.api.annotations_pb2 [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.transports.grpc_asyncio [] []
google.api_core.gapic_v1.method_async [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.transports.rest [] []
ctypes [] []
google.api_core.operations_v1.transports.base [] []
proto [] []
contextlib [] []
google.auth.version [] []
OpenSSL [] []
google.api_core.grpc_helpers [] []
functools [] []
google.api.logging_pb2 [] []
google.protobuf.proto_builder [] []
unittest [] []
google.api.billing_pb2 [] []
google.protobuf.api_pb2 [] []
os [] []
google.cloud.errorreporting_v1beta1.services.error_group_service.transports.base [] []
google.api_core.protobuf_helpers [] []
google.api_core.timeout [] []
google.api_core.operations_v1.transports [] []
sys [] []
google.type.postal_address_pb2 [] []
google.oauth2.sts [] []
google.cloud.version [] []
google.auth._service_account_info [] []
google.api_core.operations_v1.operations_client [] []
google.cloud.logging_v2.entries [] []
google.protobuf.descriptor_pool [] []
google.api_core.gapic_v1.config [] []
google.protobuf.internal.encoder [] []
google.auth.api_key [] []
google.cloud.logging.handlers.middleware [] []
google.protobuf.util [] []
google.cloud.errorreporting_v1beta1.services.error_stats_service.client [] []
base64 [] []
google.cloud.logging_v2.services.logging_service_v2.transports.grpc [] []
google.cloud.logging_v2.handlers._helpers [] []
google.gapic.metadata.gapic_metadata_pb2 [] []
google.cloud.logging_v2._helpers [] []
google.cloud.logging_v2.services.metrics_service_v2.async_client [] []
google.api.backend_pb2 [] []
google.cloud.logging_v2.services.config_service_v2.transports.grpc_asyncio [] []
google.auth._default_async [] []
google.api_core.path_template [] []
google.auth.downscoped [] []
...fuzz_util ['fuzz_util'] []
grpc_gcp [] []
google.cloud.logging_v2.services.logging_service_v2 [] []
google.cloud.logging_v2.services.config_service_v2.client [] []
google.auth._cloud_sdk [] []
six [] []
google.protobuf.wrappers_pb2 [] []
google.rpc.status_pb2 [] []
google.protobuf.compiler.plugin_pb2 [] []
google.api_core.gapic_v1.method [] []
google.type.expr_pb2 [] []

Directories in report

Directory