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

Fuzzer details

Fuzzer: fuzz_path_template

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 20 37.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 34 62.9%
All colors 54 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
14 31 google.api_core.path_template.transcode call site: 00031 google.api_core.path_template.delete_field
3 13 ...fuzz_path_template.TestOneInput call site: 00013 m.group
3 46 google.api_core.path_template.transcode call site: 00046 google.api_core.path_template.delete_field

Runtime coverage analysis

Covered functions
14
Functions that are reachable but not covered
29
Reachable functions
34
Percentage of reachable functions covered
14.71%
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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/ 1
...fuzz_path_template 7
google.api_core.path_template 29

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'] 7 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 199 0 640 613
google.auth._default._get_explicit_environ_credentials google.auth._default 1 ['N/A'] 5 0 3 2 4 99 1 314 195
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'] 5 0 3 2 4 93 0 326 186
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
google.auth.aws.Credentials.retrieve_subject_token google.auth.aws 2 ['N/A', 'N/A'] 3 0 2 3 4 43 0 141 102

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

Functions statically reachable by fuzzers
21.0%
353 / 1675
Cyclomatic complexity statically reachable by fuzzers
23.0%
1259 / 5508

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

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

Directories in report

Directory