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

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
22 178 ...fuzz_resources_validate.TestOneInput call site: 00178 c7n.utils.parse_date
16 107 botocore.validate.ParamValidator._check_special_validation_cases call site: 00107 botocore.validate.ParamValidator._validate_document
11 0 EP call site: 00000 c7n.manager.ResourceManager.__init__
11 13 c7n.cache.factory call site: 00013 c7n.cache.SqlKvCache.__init__
6 26 c7n.manager.ResourceManager.__init__ call site: 00026 c7n.filters.core.FilterRegistry.factory
5 37 c7n.registry.PluginRegistry.get call site: 00037 results.append
4 67 ...fuzz_resources_validate.TestOneInput call site: 00067 c7n.actions.core.Action.__init__
3 33 c7n.filters.core.BaseValueFilter.__init__ call site: 00033 c7n.registry.PluginRegistry.get
3 161 ...fuzz_resources_validate.TestOneInput call site: 00161 .dict
3 167 ...fuzz_resources_validate.TestOneInput call site: 00167 c7n.resources.aws.shape_validate
3 225 ...fuzz_resources_validate.TestOneInput call site: 00225 c7n.resources.aws.shape_validate
3 243 ...fuzz_resources_validate.TestOneInput call site: 00243 c7n.resources.aws.shape_validate

Fuzzer calltree

0 ...fuzz_resources_validate.TestOneInput [function] [call site] 00000
1 atheris.FuzzedDataProvider [function] [call site] 00001
1 fdp.ConsumeIntInRange [function] [call site] 00002
1 ...fuzz_resources_validate._generate_random_dict [function] [call site] 00003
2 <builtin>.dict [function] [call site] 00004
2 fdp.ConsumeIntInRange [function] [call site] 00005
2 <builtin>.range [function] [call site] 00006
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00007
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00008
1 ...fuzz_resources_validate._generate_random_dict [function] [call site] 00009
1 ...fuzz_resources_validate.FuzzContext.__init__ [function] [call site] 00010
1 c7n.manager.ResourceManager.__init__ [function] [call site] 00011
2 c7n.cache.factory [function] [call site] 00012
3 c7n.cache.Cache.__init__ [function] [call site] 00013
3 log.debug [function] [call site] 00014
3 c7n.cache.Cache.__init__ [function] [call site] 00015
3 log.debug [function] [call site] 00016
3 c7n.cache.InMemoryCache.__init__ [function] [call site] 00017
4 <builtin>.super [function] [call site] 00018
3 c7n.cache.SqlKvCache.__init__ [function] [call site] 00019
4 <builtin>.super [function] [call site] 00020
4 c7n.cache.resolve_path [function] [call site] 00021
5 os.path.abspath [function] [call site] 00022
5 os.path.expanduser [function] [call site] 00023
5 os.path.expandvars [function] [call site] 00024
2 logging.getLogger [function] [call site] 00025
2 c7n.filters.core.FilterRegistry.parse [function] [call site] 00026
3 c7n.filters.core.FilterRegistry.factory [function] [call site] 00027
4 <builtin>.isinstance [function] [call site] 00028
4 <builtin>.len [function] [call site] 00029
4 data.keys [function] [call site] 00030
4 <builtin>.list [function] [call site] 00031
4 c7n.filters.core.BaseValueFilter.__init__ [function] [call site] 00032
5 <builtin>.super [function] [call site] 00033
4 <builtin>.isinstance [function] [call site] 00034
4 c7n.registry.PluginRegistry.get [function] [call site] 00036
5 <builtin>.next [function] [call site] 00037
3 results.append [function] [call site] 00038
1 c7n.resources.health.QueryFilter.__init__ [function] [call site] 00039
1 c7n.actions.core.Action.__init__ [function] [call site] 00040
1 c7n.resources.sagemaker.QueryFilter.__init__ [function] [call site] 00041
1 c7n.actions.core.Action.__init__ [function] [call site] 00042
1 c7n.resources.emr.QueryFilter.__init__ [function] [call site] 00043
1 c7n.actions.core.Action.__init__ [function] [call site] 00044
1 c7n.actions.core.Action.__init__ [function] [call site] 00045
1 c7n.filters.core.Filter.__init__ [function] [call site] 00046
1 c7n.actions.core.Action.__init__ [function] [call site] 00047
1 c7n.resources.ec2.QueryFilter.__init__ [function] [call site] 00048
1 c7n.actions.core.Action.__init__ [function] [call site] 00049
1 c7n.actions.core.Action.__init__ [function] [call site] 00050
1 c7n.actions.core.Action.__init__ [function] [call site] 00051
1 c7n.actions.core.Action.__init__ [function] [call site] 00052
1 c7n.filters.core.Filter.__init__ [function] [call site] 00053
1 c7n.actions.core.Action.__init__ [function] [call site] 00054
1 c7n.actions.core.Action.__init__ [function] [call site] 00055
1 c7n.filters.core.Filter.__init__ [function] [call site] 00056
1 c7n.actions.core.Action.__init__ [function] [call site] 00057
1 c7n.actions.core.Action.__init__ [function] [call site] 00058
1 c7n.actions.core.Action.__init__ [function] [call site] 00059
1 c7n.actions.core.Action.__init__ [function] [call site] 00060
1 c7n.actions.core.Action.__init__ [function] [call site] 00061
1 c7n.actions.core.Action.__init__ [function] [call site] 00062
1 c7n.actions.core.Action.__init__ [function] [call site] 00063
1 c7n.filters.core.BaseValueFilter.__init__ [function] [call site] 00064
1 c7n.actions.core.Action.__init__ [function] [call site] 00065
1 c7n.actions.core.Action.__init__ [function] [call site] 00066
1 c7n.filters.core.Filter.__init__ [function] [call site] 00067
1 c7n.actions.core.Action.__init__ [function] [call site] 00068
1 c7n.actions.core.Action.__init__ [function] [call site] 00069
1 c7n.actions.core.Action.__init__ [function] [call site] 00070
1 c7n.actions.core.Action.__init__ [function] [call site] 00071
1 c7n.actions.core.Action.__init__ [function] [call site] 00072
1 c7n.actions.core.Action.__init__ [function] [call site] 00073
1 c7n.actions.core.Action.__init__ [function] [call site] 00074
1 c7n.actions.core.Action.__init__ [function] [call site] 00075
1 c7n.actions.core.Action.__init__ [function] [call site] 00076
1 c7n.filters.core.Filter.__init__ [function] [call site] 00077
1 c7n.filters.core.Filter.__init__ [function] [call site] 00078
1 c7n.filters.core.Filter.__init__ [function] [call site] 00079
1 c7n.actions.core.Action.__init__ [function] [call site] 00080
1 c7n.actions.core.Action.__init__ [function] [call site] 00081
1 c7n.actions.core.Action.__init__ [function] [call site] 00082
1 c7n.actions.core.Action.__init__ [function] [call site] 00083
1 c7n.actions.core.Action.__init__ [function] [call site] 00084
1 c7n.actions.core.Action.__init__ [function] [call site] 00085
1 c7n.actions.core.Action.__init__ [function] [call site] 00086
1 c7n.actions.core.Action.__init__ [function] [call site] 00087
1 c7n.actions.core.Action.__init__ [function] [call site] 00088
1 c7n.resources.s3.KMSKeyResolverMixin.__init__ [function] [call site] 00089
2 <builtin>.dict [function] [call site] 00090
1 c7n.resources.s3.KMSKeyResolverMixin.__init__ [function] [call site] 00091
1 c7n.actions.core.Action.__init__ [function] [call site] 00092
1 c7n.actions.core.Action.__init__ [function] [call site] 00093
1 c7n.actions.core.Action.__init__ [function] [call site] 00094
1 c7n.actions.core.Action.__init__ [function] [call site] 00095
1 c7n.resources.rds.Delete.validate [function] [call site] 00096
1 c7n.resources.account.SetAccountPasswordPolicy.validate [function] [call site] 00097
2 c7n.resources.aws.shape_validate [function] [call site] 00098
3 c7n.resources.aws.fake_session [function] [call site] 00099
4 boto3.Session [function] [call site] 00100
3 session.get_service_model [function] [call site] 00101
3 model.shape_for [function] [call site] 00102
3 botocore.validate.ParamValidator.validate [function] [call site] 00103
4 botocore.validate.ValidationErrors.__init__ [function] [call site] 00104
4 botocore.validate.ParamValidator._validate [function] [call site] 00105
5 botocore.validate.ParamValidator._check_special_validation_cases [function] [call site] 00106
6 botocore.utils.is_json_value_header [function] [call site] 00107
7 <builtin>.hasattr [function] [call site] 00108
7 shape.serialization.get [function] [call site] 00109
7 shape.serialization.get [function] [call site] 00110
5 botocore.validate.ParamValidator._validate_document [function] [call site] 00111
6 <builtin>.isinstance [function] [call site] 00112
6 botocore.validate.ParamValidator._validate_document [function] [call site] 00113
6 <builtin>.isinstance [function] [call site] 00114
6 <builtin>.enumerate [function] [call site] 00115
6 botocore.validate.ParamValidator._validate_document [function] [call site] 00116
6 <builtin>.isinstance [function] [call site] 00117
6 <builtin>.str [function] [call site] 00118
6 botocore.validate.ValidationErrors.report [function] [call site] 00119
6 <builtin>.type [function] [call site] 00120
5 botocore.validate.ParamValidator._validate_jsonvalue_string [function] [call site] 00121
6 json.dumps [function] [call site] 00122
6 botocore.validate.ValidationErrors.report [function] [call site] 00123
5 <builtin>.getattr [function] [call site] 00124
3 botocore.validate.ValidationErrors.has_errors [function] [call site] 00125
1 c7n.resources.vpc.SGPermission.validate [function] [call site] 00126
2 <builtin>.set [function] [call site] 00127
2 delta.remove [function] [call site] 00128
1 c7n.resources.ec2.DisableApiStop.validate [function] [call site] 00129
2 c7n.vendored.distutils.version.LooseVersion.__init__ [function] [call site] 00130
3 c7n.vendored.distutils.version.LooseVersion.parse [function] [call site] 00131
4 <builtin>.enumerate [function] [call site] 00132
4 <builtin>.int [function] [call site] 00133
2 c7n.vendored.distutils.version.LooseVersion.__init__ [function] [call site] 00134
1 c7n.resources.ec2.Snapshot.validate [function] [call site] 00135
1 c7n.resources.health.QueryFilter.validate [function] [call site] 00136
2 <builtin>.list [function] [call site] 00137
2 <builtin>.len [function] [call site] 00138
2 <builtin>.list [function] [call site] 00139
2 <builtin>.list [function] [call site] 00140
1 c7n.resources.awslambda.SetConcurrency.validate [function] [call site] 00141
2 <builtin>.isinstance [function] [call site] 00142
1 c7n.resources.vpc.FlowLogv2Filter.validate [function] [call site] 00143
2 <builtin>.set [function] [call site] 00144
2 keys.intersection [function] [call site] 00145
2 <builtin>.super [function] [call site] 00146
1 c7n.resources.rdscluster.ModifyDbCluster.validate [function] [call site] 00147
2 <builtin>.dict [function] [call site] 00148
2 c7n.resources.aws.shape_validate [function] [call site] 00149
1 c7n.resources.securityhub.SecurityHubFindingFilter.validate [function] [call site] 00150
2 c7n.resources.aws.shape_validate [function] [call site] 00151
1 c7n.resources.cw.EncryptLogGroup.validate [function] [call site] 00152
1 c7n.resources.account.EnableDataEvents.validate [function] [call site] 00153
1 c7n.resources.asg.Update.validate [function] [call site] 00154
2 <builtin>.set [function] [call site] 00155
2 <builtin>.set [function] [call site] 00156
1 c7n.resources.route53.SetQueryLogging.validate [function] [call site] 00157
2 <builtin>.isinstance [function] [call site] 00158
1 c7n.resources.ecr.SetLifecycle.validate [function] [call site] 00159
2 c7n.resources.ecr.lifecycle_rule_validate [function] [call site] 00160
1 c7n.resources.rds.ModifyDb.validate [function] [call site] 00161
2 <builtin>.dict [function] [call site] 00162
2 <builtin>.all [function] [call site] 00163
2 update_dict.get [function] [call site] 00164
1 c7n.resources.asg.PropagateTags.validate [function] [call site] 00165
2 <builtin>.isinstance [function] [call site] 00166
1 c7n.resources.eks.UpdateConfig.validate [function] [call site] 00167
2 <builtin>.dict [function] [call site] 00168
2 c7n.resources.aws.shape_validate [function] [call site] 00170
1 c7n.resources.ebs.ModifyVolume.validate [function] [call site] 00171
1 c7n.resources.rds.RegionCopySnapshot.validate [function] [call site] 00172
1 c7n.resources.emr.QueryFilter.validate [function] [call site] 00173
2 <builtin>.list [function] [call site] 00174
2 <builtin>.len [function] [call site] 00175
2 <builtin>.list [function] [call site] 00176
2 <builtin>.list [function] [call site] 00177
1 c7n.resources.ami.SetDeprecation.validate [function] [call site] 00178
2 c7n.utils.parse_date [function] [call site] 00179
3 dateutil.tz.tzutc [function] [call site] 00180
3 <builtin>.isinstance [function] [call site] 00181
3 v.astimezone [function] [call site] 00182
3 <builtin>.isinstance [function] [call site] 00183
3 v.isdigit [function] [call site] 00184
3 dateutil.parser.parse [function] [call site] 00185
3 dateutil.parser.parse.astimezone [function] [call site] 00186
3 <builtin>.isinstance [function] [call site] 00187
3 <builtin>.float [function] [call site] 00188
3 <builtin>.float [function] [call site] 00189
3 datetime.datetime.fromtimestamp [function] [call site] 00190
3 <builtin>.isinstance [function] [call site] 00191
3 <builtin>.float [function] [call site] 00192
3 <builtin>.float [function] [call site] 00193
3 datetime.datetime.fromtimestamp [function] [call site] 00194
3 <builtin>.isinstance [function] [call site] 00195
2 dateutil.tz.tzutc [function] [call site] 00196
2 datetime.datetime.now [function] [call site] 00197
2 <builtin>.int [function] [call site] 00198
2 datetime.timedelta [function] [call site] 00199
2 <builtin>.int [function] [call site] 00200
1 c7n.resources.s3.BucketEncryption.validate [function] [call site] 00201
1 c7n.resources.cloudfront.DistributionUpdateAction.validate [function] [call site] 00202
2 <builtin>.super [function] [call site] 00203
1 c7n.resources.vpc.DhcpOptionsFilter.validate [function] [call site] 00204
2 <builtin>.any [function] [call site] 00205
1 c7n.resources.ec2.QueryFilter.validate [function] [call site] 00206
2 <builtin>.list [function] [call site] 00207
2 <builtin>.len [function] [call site] 00208
2 <builtin>.list [function] [call site] 00209
2 <builtin>.list [function] [call site] 00210
1 c7n.resources.sagemaker.QueryFilter.validate [function] [call site] 00211
2 <builtin>.list [function] [call site] 00212
2 <builtin>.len [function] [call site] 00213
2 <builtin>.list [function] [call site] 00214
2 <builtin>.list [function] [call site] 00215
1 c7n.resources.appelb.SetS3Logging.validate [function] [call site] 00216
1 c7n.resources.ami.SetPermissions.validate [function] [call site] 00217
2 <builtin>.isinstance [function] [call site] 00218
1 c7n.resources.account.ServiceLimit.validate [function] [call site] 00219
2 <builtin>.len [function] [call site] 00220
1 c7n.resources.s3.ToggleLogging.validate [function] [call site] 00221
1 c7n.resources.ssm.SendCommand.validate [function] [call site] 00222
2 c7n.resources.aws.shape_validate [function] [call site] 00223
1 c7n.resources.ebs.CopySnapshot.validate [function] [call site] 00224
1 c7n.resources.vpc.SetPermissions.validate [function] [call site] 00225
2 <builtin>.dict [function] [call site] 00226
2 params.update [function] [call site] 00227
2 c7n.resources.aws.shape_validate [function] [call site] 00228
1 c7n.resources.cloudfront.StreamingDistributionUpdateAction.validate [function] [call site] 00229
2 <builtin>.super [function] [call site] 00230
1 c7n.resources.cloudtrail.UpdateTrail.validate [function] [call site] 00231
2 <builtin>.dict [function] [call site] 00232
2 c7n.resources.aws.shape_validate [function] [call site] 00233
1 c7n.resources.rds.SetPermissions.validate [function] [call site] 00234
2 <builtin>.isinstance [function] [call site] 00235
1 c7n.resources.kafka.SetMonitoring.validate [function] [call site] 00236
2 <builtin>.dict [function] [call site] 00237
2 c7n.resources.aws.shape_validate [function] [call site] 00238
2 <builtin>.super [function] [call site] 00239
1 c7n.resources.iam.SetGroups.validate [function] [call site] 00240
1 c7n.resources.servicecatalog.RemoveSharedAccounts.validate [function] [call site] 00241
2 <builtin>.isinstance [function] [call site] 00242
1 c7n.resources.redshift.RedshiftSetAttributes.validate [function] [call site] 00243
2 <builtin>.dict [function] [call site] 00244
2 attrs.get [function] [call site] 00245
2 c7n.resources.aws.shape_validate [function] [call site] 00246
1 c7n.resources.account.GlueCatalogEncryptionEnabled.validate [function] [call site] 00247
2 <builtin>.set [function] [call site] 00248
2 attrs.add [function] [call site] 00249
2 <builtin>.super [function] [call site] 00250
1 c7n.resources.ebs.CreateSnapshot.validate [function] [call site] 00251
1 c7n.resources.securityhub.PostFinding.validate [function] [call site] 00252
2 finding_type.count [function] [call site] 00253
2 finding_type.split [function] [call site] 00254
1 c7n.resources.ebs.EncryptInstanceVolumes.validate [function] [call site] 00255
1 c7n.resources.account.SetS3PublicBlock.validate [function] [call site] 00256
2 config.pop [function] [call site] 00257
2 config.pop [function] [call site] 00258
1 c7n.resources.efs.ConfigureLifecycle.validate [function] [call site] 00259
2 c7n.resources.aws.shape_validate [function] [call site] 00260
1 c7n.resources.iam.SetBoundary.validate [function] [call site] 00261
1 c7n.resources.iam.SetPolicy.validate [function] [call site] 00262
1 c7n.resources.redshift.SetRedshiftLogging.validate [function] [call site] 00263
1 c7n.resources.glue.SecurityConfigFilter.validate [function] [call site] 00264
2 <builtin>.super [function] [call site] 00265