Fuzz introspector: fuzz_filters_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
114 95 ...fuzz_filters_validate.TestOneInput call site: 00095 c7n.loader.PolicyLoader.load_data
12 71 ...fuzz_filters_validate.TestOneInput call site: 00071 c7n.filters.offhours.OffHour.get_default_schedule
11 34 c7n.cache.factory call site: 00034 c7n.cache.SqlKvCache.__init__
6 47 c7n.manager.ResourceManager.__init__ call site: 00047 c7n.filters.core.FilterRegistry.factory
5 60 c7n.manager.ResourceManager.__init__ call site: 00060 c7n.actions.core.ActionRegistry.factory
5 210 ...fuzz_filters_validate.TestOneInput call site: 00210 c7n.filters.offhours.Time.get_tz
4 90 ...fuzz_filters_validate.TestOneInput call site: 00090 dateutil.parser.parse
3 54 c7n.filters.core.BaseValueFilter.__init__ call site: 00054 c7n.registry.PluginRegistry.get
3 219 ...fuzz_filters_validate.TestOneInput call site: 00219 .set
3 224 ...fuzz_filters_validate.TestOneInput call site: 00224 .set
2 9 ...fuzz_filters_validate._generate_random_dict call site: 00009 fdp.ConsumeIntInRange
1 1 ...fuzz_filters_validate.TestOneInput call site: 00001 fdp.ConsumeIntInRange

Fuzzer calltree

0 ...fuzz_filters_validate.TestOneInput [function] [call site] 00000
1 atheris.FuzzedDataProvider [function] [call site] 00001
1 fdp.ConsumeIntInRange [function] [call site] 00002
1 ...fuzz_filters_validate.FuzzOption.__init__ [function] [call site] 00003
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00004
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00005
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00006
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00007
1 ...fuzz_filters_validate._generate_random_dict [function] [call site] 00008
2 <builtin>.dict [function] [call site] 00009
2 fdp.ConsumeIntInRange [function] [call site] 00010
2 <builtin>.range [function] [call site] 00011
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00012
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00013
2 fdp.ConsumeUnicodeNoSurrogates [function] [call site] 00014
1 ...fuzz_filters_validate._generate_random_dict [function] [call site] 00015
1 fdp.PickValueInList [function] [call site] 00016
1 c7n.actions.core.ActionRegistry.__init__ [function] [call site] 00017
2 <builtin>.super [function] [call site] 00018
2 c7n.registry.PluginRegistry.register [function] [call site] 00019
1 c7n.filters.core.FilterRegistry.__init__ [function] [call site] 00020
2 <builtin>.super [function] [call site] 00021
2 c7n.registry.PluginRegistry.register [function] [call site] 00022
2 c7n.registry.PluginRegistry.register [function] [call site] 00023
2 c7n.registry.PluginRegistry.register [function] [call site] 00024
2 c7n.registry.PluginRegistry.register [function] [call site] 00025
2 c7n.registry.PluginRegistry.register [function] [call site] 00026
2 c7n.registry.PluginRegistry.register [function] [call site] 00027
2 c7n.registry.PluginRegistry.register [function] [call site] 00028
1 ...fuzz_filters_validate.FuzzContext.__init__ [function] [call site] 00029
2 c7n.policy.get_session_factory [function] [call site] 00030
2 ...fuzz_filters_validate.FuzzPolicy.__init__ [function] [call site] 00031
1 c7n.manager.ResourceManager.__init__ [function] [call site] 00032
2 c7n.cache.factory [function] [call site] 00033
3 c7n.cache.Cache.__init__ [function] [call site] 00034
3 log.debug [function] [call site] 00035
3 c7n.cache.Cache.__init__ [function] [call site] 00036
3 log.debug [function] [call site] 00037
3 c7n.cache.InMemoryCache.__init__ [function] [call site] 00038
4 <builtin>.super [function] [call site] 00039
3 c7n.cache.SqlKvCache.__init__ [function] [call site] 00040
4 <builtin>.super [function] [call site] 00041
4 c7n.cache.resolve_path [function] [call site] 00042
5 os.path.abspath [function] [call site] 00043
5 os.path.expanduser [function] [call site] 00044
5 os.path.expandvars [function] [call site] 00045
2 logging.getLogger [function] [call site] 00046
2 c7n.filters.core.FilterRegistry.parse [function] [call site] 00047
3 c7n.filters.core.FilterRegistry.factory [function] [call site] 00048
4 <builtin>.isinstance [function] [call site] 00049
4 <builtin>.len [function] [call site] 00050
4 data.keys [function] [call site] 00051
4 <builtin>.list [function] [call site] 00052
4 c7n.filters.core.BaseValueFilter.__init__ [function] [call site] 00053
5 <builtin>.super [function] [call site] 00054
4 <builtin>.isinstance [function] [call site] 00055
4 c7n.registry.PluginRegistry.get [function] [call site] 00057
5 <builtin>.next [function] [call site] 00058
3 results.append [function] [call site] 00059
2 c7n.actions.core.ActionRegistry.parse [function] [call site] 00060
3 c7n.actions.core.ActionRegistry.factory [function] [call site] 00061
4 <builtin>.isinstance [function] [call site] 00062
4 c7n.registry.PluginRegistry.get [function] [call site] 00064
3 results.append [function] [call site] 00065
1 c7n.filters.core.Filter.__init__ [function] [call site] 00066
1 c7n.filters.missing.Missing.__init__ [function] [call site] 00067
2 <builtin>.super [function] [call site] 00068
1 c7n.filters.metrics.MetricsFilter.__init__ [function] [call site] 00069
2 <builtin>.super [function] [call site] 00070
1 c7n.filters.offhours.Time.__init__ [function] [call site] 00071
2 <builtin>.super [function] [call site] 00072
2 c7n.filters.offhours.OffHour.get_default_schedule [function] [call site] 00073
3 <builtin>.range [function] [call site] 00074
3 <builtin>.tuple [function] [call site] 00075
3 <builtin>.range [function] [call site] 00076
3 <builtin>.tuple [function] [call site] 00077
2 c7n.filters.offhours.OnHour.get_default_schedule [function] [call site] 00078
3 <builtin>.range [function] [call site] 00079
3 <builtin>.tuple [function] [call site] 00080
3 <builtin>.range [function] [call site] 00081
3 <builtin>.tuple [function] [call site] 00082
2 c7n.filters.offhours.ScheduleParser.__init__ [function] [call site] 00083
1 c7n.filters.offhours.Time.__init__ [function] [call site] 00084
1 c7n.filters.core.BaseValueFilter.__init__ [function] [call site] 00085
1 c7n.filters.core.BaseValueFilter.__init__ [function] [call site] 00086
1 c7n.filters.core.BaseValueFilter.__init__ [function] [call site] 00087
1 c7n.filters.core.Filter.__init__ [function] [call site] 00088
1 c7n.filters.core.Filter.__init__ [function] [call site] 00089
1 c7n.filters.revisions.Diff.validate [function] [call site] 00090
2 dateutil.parser.parse [function] [call site] 00091
2 <builtin>.isinstance [function] [call site] 00092
2 <builtin>.isinstance [function] [call site] 00094
1 c7n.filters.missing.Missing.validate [function] [call site] 00095
2 c7n.loader.PolicyLoader.__init__ [function] [call site] 00096
3 c7n.loader.SchemaValidator.__init__ [function] [call site] 00097
3 <builtin>.set [function] [call site] 00098
2 c7n.loader.PolicyLoader.load_data [function] [call site] 00099
3 c7n.structure.StructureParser.validate [function] [call site] 00100
4 <builtin>.isinstance [function] [call site] 00101
4 data.keys [function] [call site] 00102
4 <builtin>.set [function] [call site] 00103
4 dkeys.difference [function] [call site] 00104
4 <builtin>.isinstance [function] [call site] 00106
4 c7n.structure.StructureParser.validate_policy [function] [call site] 00107
5 <builtin>.isinstance [function] [call site] 00108
5 <builtin>.set [function] [call site] 00109
5 pkeys.difference [function] [call site] 00110
5 <builtin>.isinstance [function] [call site] 00111
5 <builtin>.type [function] [call site] 00113
5 <builtin>.isinstance [function] [call site] 00114
5 <builtin>.isinstance [function] [call site] 00116
5 <builtin>.type [function] [call site] 00118
5 <builtin>.isinstance [function] [call site] 00119
5 <builtin>.isinstance [function] [call site] 00121
5 <builtin>.isinstance [function] [call site] 00123
5 <builtin>.len [function] [call site] 00125
3 c7n.structure.StructureParser.get_resource_types [function] [call site] 00126
4 <builtin>.set [function] [call site] 00127
4 <builtin>.isinstance [function] [call site] 00129
4 resources.update [function] [call site] 00130
4 resources.add [function] [call site] 00131
3 <builtin>.set [function] [call site] 00132
3 <builtin>.list [function] [call site] 00133
3 c7n.resources.load_resources [function] [call site] 00134
4 pmap.setdefault [function] [call site] 00136
4 <builtin>.set [function] [call site] 00137
4 c7n.resources.load_providers [function] [call site] 00138
5 c7n.resources.should_load_provider [function] [call site] 00139
5 c7n.resources.should_load_provider [function] [call site] 00140
5 c7n_awscc.entry.initialize_awscc [function] [call site] 00141
5 c7n.resources.should_load_provider [function] [call site] 00142
5 c7n_azure.entry.initialize_azure [function] [call site] 00143
5 c7n.resources.should_load_provider [function] [call site] 00144
5 c7n_gcp.entry.initialize_gcp [function] [call site] 00145
5 c7n.resources.should_load_provider [function] [call site] 00146
5 c7n_kube.entry.initialize_kube [function] [call site] 00147
5 c7n.resources.should_load_provider [function] [call site] 00148
5 c7n_openstack.entry.initialize_openstack [function] [call site] 00149
5 c7n.resources.should_load_provider [function] [call site] 00150
5 c7n_left.entry.initialize_iac [function] [call site] 00151
5 c7n.resources.should_load_provider [function] [call site] 00152
5 c7n_tencentcloud.entry.initialize_tencentcloud [function] [call site] 00153
5 c7n.resources.should_load_provider [function] [call site] 00154
5 c7n_oci.entry.initialize_oci [function] [call site] 00155
5 c7n.resources.should_load_provider [function] [call site] 00156
5 LOADED.update [function] [call site] 00157
4 c7n.registry.PluginRegistry.items [function] [call site] 00158
4 p.get_resource_types [function] [call site] 00159
4 p.get_resource_types [function] [call site] 00160
4 missing.extend [function] [call site] 00161
3 c7n.loader.PolicyLoader._handle_missing_resources [function] [call site] 00162
4 policy_data.get [function] [call site] 00163
3 <builtin>.tuple [function] [call site] 00164
3 c7n.loader.SchemaValidator.validate [function] [call site] 00165
4 c7n.structure.StructureParser.get_resource_types [function] [call site] 00166
4 <builtin>.sorted [function] [call site] 00167
4 <builtin>.tuple [function] [call site] 00168
4 c7n.loader.SchemaValidator.gen_schema [function] [call site] 00169
5 c7n.loader.SchemaValidator._gen_schema [function] [call site] 00170
6 schema.generate [function] [call site] 00171
6 schema.JsonSchemaValidator.check_schema [function] [call site] 00172
6 schema.JsonSchemaValidator [function] [call site] 00173
4 c7n.loader.SchemaValidator._validate [function] [call site] 00174
5 <builtin>.list [function] [call site] 00175
5 schema.check_unique [function] [call site] 00176
5 schema.policy_error_scope [function] [call site] 00177
5 schema.specific_error [function] [call site] 00178
5 <builtin>.isinstance [function] [call site] 00179
5 logging.exception [function] [call site] 00180
5 <builtin>.filter [function] [call site] 00181
5 <builtin>.list [function] [call site] 00182
3 c7n.policy.PolicyCollection.from_data [function] [call site] 00183
4 c7n.policy.PolicyCollection.session_factory [function] [call site] 00184
4 c7n.policy.Policy.__init__ [function] [call site] 00185
5 c7n.policy.get_session_factory [function] [call site] 00186
5 c7n.ctx.ExecutionContext.__init__ [function] [call site] 00187
6 c7n.output.MetricsRegistry.select [function] [call site] 00188
7 <builtin>.isinstance [function] [call site] 00189
7 <builtin>.super [function] [call site] 00190
6 c7n.output.OutputRegistry.select [function] [call site] 00191
7 c7n.registry.PluginRegistry.keys [function] [call site] 00192
7 selector.startswith [function] [call site] 00193
7 c7n.utils.parse_url_config [function] [call site] 00194
8 urllib.parse.urlparse [function] [call site] 00195
8 <builtin>.getattr [function] [call site] 00196
8 urllib.parse.parse_qs [function] [call site] 00197
6 c7n.output.MetricsRegistry.select [function] [call site] 00198
5 c7n.policy.Policy.load_resource_manager [function] [call site] 00199
6 c7n.provider.get_resource_class [function] [call site] 00200
7 <builtin>.isinstance [function] [call site] 00201
7 resource_type.split [function] [call site] 00202
7 c7n.registry.PluginRegistry.get [function] [call site] 00203
7 provider.resources.get [function] [call site] 00204
5 c7n.policy.PolicyConditions.__init__ [function] [call site] 00205
6 c7n.policy.PolicyConditions.update [function] [call site] 00206
4 c7n.policy.PolicyCollection.__init__ [function] [call site] 00208
2 <builtin>.list [function] [call site] 00209
1 c7n.filters.offhours.Time.validate [function] [call site] 00210
2 c7n.filters.offhours.Time.get_tz [function] [call site] 00211
3 cls.TZ_ALIASES.get [function] [call site] 00212
3 dateutil.tz.gettz [function] [call site] 00213
3 dateutil.tz.gettz [function] [call site] 00215
1 c7n.filters.metrics.MetricsFilter.validate [function] [call site] 00216
1 c7n.filters.vpc.SubnetFilter.validate [function] [call site] 00217
2 <builtin>.super [function] [call site] 00218
1 c7n.filters.multiattr.MultiAttrFilter.validate [function] [call site] 00219
2 <builtin>.set [function] [call site] 00220
2 delta.remove [function] [call site] 00221
2 delta.remove [function] [call site] 00222
1 c7n.filters.vpc.NetworkLocation.validate [function] [call site] 00223
1 c7n.filters.vpc.MatchResourceValidator.validate [function] [call site] 00224
2 <builtin>.set [function] [call site] 00225
2 <builtin>.super [function] [call site] 00226
1 <builtin>.str [function] [call site] 00227