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

Fuzzer details

Fuzzer: fuzz_avroparser

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 69 87.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 10 12.6%
All colors 79 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
68 10 google.protobuf.json_format.ParseDict call site: 00010 google.protobuf.json_format._Parser._ConvertFieldValuePair
1 5 google.protobuf.json_format.Parse call site: 00005 text.decode

Runtime coverage analysis

Covered functions
511
Functions that are reachable but not covered
41
Reachable functions
47
Percentage of reachable functions covered
12.77%
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_avroparser 5
google.protobuf.json_format 41

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 206 9 689 659
google.auth.credentials.Credentials._non_blocking_refresh google.auth.credentials 2 ['N/A', 'N/A'] 7 0 2 2 4 172 1 560 527
google.auth._default._get_explicit_environ_credentials google.auth._default 1 ['N/A'] 7 0 3 2 4 101 1 321 257
google.protobuf.text_format._Printer.PrintFieldValue google.protobuf.text_format 3 ['N/A', 'N/A', 'N/A'] 16 0 14 12 8 185 14 619 157
google.api_core.operations_v1.transports.rest.OperationsRestTransport._list_operations google.api_core.operations_v1.transports.rest 6 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 9 0 3 2 4 93 0 326 144
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'] 5 0 4 2 4 50 0 163 127
google.cloud.bigquery_storage_v1.writer.AppendRowsStream.send google.cloud.bigquery_storage_v1.writer 2 ['N/A', 'N/A'] 4 0 3 2 4 31 0 103 88

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

Functions statically reachable by fuzzers
15.0%
333 / 2170
Cyclomatic complexity statically reachable by fuzzers
17.0%
1195 / 7167

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.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% ['fuzz_avroparser']
google.protobuf.json_format._ConvertScalarFieldValue 32 0 0.0% ['fuzz_avroparser']
google.protobuf.internal.api_implementation._CanImport 43 18 41.86% []
google.protobuf.internal.python_message._AddMergeFromStringMethod.InternalParse 38 16 42.10% []
name.rstrip 67 13 19.40% []
collections.abc.MutableMapping.get 238 76 31.93% []
google.protobuf.descriptor.MakeDescriptor 44 0 0.0% []
google.protobuf.internal.decoder.MessageSetItemDecoder.DecodeItem 39 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 73 0 0.0% []
google.protobuf.text_format._Parser._MergeScalarField 37 0 0.0% []
struct.unpack 63 22 34.92% []
google.protobuf.internal.well_known_types.Timestamp.FromJsonString 38 0 0.0% []
re.findall 42 17 40.47% []
cachetools.LRUCache 592 132 22.29% []
pyasn1_modules.pem.readPemBlocksFromFile 34 6 17.64% []
response.get 618 137 22.16% []
key.split 258 76 29.45% []
url.find 206 60 29.12% []
connection.close 70 18 25.71% []
d.get 188 24 12.76% []
api.Authenticate 202 15 7.425% []
google.api_core.retry.retry_streaming_async.retry_target_stream 41 2 4.878% []
urllib3.util.ssl_.create_urllib3_context 176 79 44.88% []
decoder.decompress 61 22 36.06% []
request.pop 103 46 44.66% []
methods.items 55 19 34.54% []

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

Directories in report

Directory