Fuzz introspector: encoded_polyline_import_fuzzer
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
69 131 lwline_calculate_gbox_cartesian call site: 00131 lwcollection_calculate_gbox_cartesian
48 209 lwline_free call site: 00209 lwcollection_free
47 66 getPoint2d_cp call site: 00066 lwcollection_calculate_gbox_geodetic
9 120 ptarray_calculate_gbox_cartesian_2d call site: 00120 ptarray_calculate_gbox_cartesian_4d
6 50 lwgeom_is_empty call site: 00050 lwcollection_is_empty
6 59 lwgeom_add_bbox call site: 00059 lwgeom_calculate_gbox_geodetic
5 34 ptarray_insert_point call site: 00034 lwerror
4 201 LLVMFuzzerTestOneInput call site: 00201 lwpoint_free
2 27 ptarray_append_point call site: 00027 lwerror
2 114 lwgeom_calculate_gbox call site: 00114 lwpoint_calculate_gbox_cartesian
1 12 encoded_polyline_read_varint call site: 00012 ptarray_free
1 18 encoded_polyline_add_delta call site: 00018 ptarray_free

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 _setjmp [call site] 00001
1 lwgeom_from_encoded_polyline [function] [call site] 00002
2 strlen [call site] 00003
2 ptarray_construct_empty [function] [call site] 00004
3 ptarray_point_size [function] [call site] 00007
2 encoded_polyline_read_varint [function] [call site] 00009
2 encoded_polyline_zigzag_decode [function] [call site] 00016
2 encoded_polyline_add_delta [function] [call site] 00017
2 ptarray_free [function] [call site] 00019
2 encoded_polyline_read_varint [function] [call site] 00020
2 ptarray_free [function] [call site] 00021
2 encoded_polyline_zigzag_decode [function] [call site] 00022
2 encoded_polyline_add_delta [function] [call site] 00023
2 ptarray_free [function] [call site] 00024
2 ptarray_append_point [function] [call site] 00025
3 getPoint4d_p [function] [call site] 00027
4 getPoint_internal [function] [call site] 00030
5 ptarray_point_size [function] [call site] 00031
3 ptarray_insert_point [function] [call site] 00033
4 ptarray_point_size [function] [call site] 00034
4 ptarray_point_size [function] [call site] 00037
4 ptarray_point_size [function] [call site] 00040
4 lwrealloc [function] [call site] 00041
4 getPoint_internal [function] [call site] 00042
4 ptarray_set_point4d [function] [call site] 00043
5 getPoint_internal [function] [call site] 00044
2 lwline_construct [function] [call site] 00045
2 lwgeom_add_bbox [function] [call site] 00047
3 lwgeom_is_empty [function] [call site] 00048
4 lwpoint_is_empty [function] [call site] 00049
4 lwline_is_empty [function] [call site] 00050
4 lwcircstring_is_empty [function] [call site] 00051
4 lwpoly_is_empty [function] [call site] 00052
4 lwtriangle_is_empty [function] [call site] 00053
4 lwcollection_is_empty [function] [call site] 00054
5 lwgeom_is_empty [function] [call site] 00055
6 lwnurbscurve_is_empty [function] [call site] 00056
3 lwgeom_calculate_gbox [function] [call site] 00059
4 lwgeom_calculate_gbox_geodetic [function] [call site] 00060
5 lwpoint_calculate_gbox_geodetic [function] [call site] 00062
6 ptarray_calculate_gbox_geodetic [function] [call site] 00063
7 gbox_init [function] [call site] 00064
7 getPoint2d_cp [function] [call site] 00065
8 getPoint_internal [function] [call site] 00066
7 getPoint2d_cp [function] [call site] 00068
7 getPoint2d_cp [function] [call site] 00070
7 edge_calculate_gbox [function] [call site] 00072
8 gbox_init_point3d [function] [call site] 00073
8 gbox_merge_point3d [function] [call site] 00074
8 unit_normal [function] [call site] 00077
9 dot_product [function] [call site] 00078
9 vector_sum [function] [call site] 00079
9 normalize [function] [call site] 00080
9 vector_difference [function] [call site] 00081
9 normalize [function] [call site] 00082
9 cross_product [function] [call site] 00083
9 normalize [function] [call site] 00084
8 unit_normal [function] [call site] 00085
8 dot_product [function] [call site] 00086
8 dot_product [function] [call site] 00087
8 lw_segment_side [function] [call site] 00088
8 dot_product [function] [call site] 00089
8 dot_product [function] [call site] 00090
8 normalize2d [function] [call site] 00091
8 lw_segment_side [function] [call site] 00092
8 gbox_merge_point3d [function] [call site] 00093
7 gbox_duplicate [function] [call site] 00094
7 gbox_merge [function] [call site] 00095
5 lwline_calculate_gbox_geodetic [function] [call site] 00096
6 ptarray_calculate_gbox_geodetic [function] [call site] 00097
5 lwpolygon_calculate_gbox_geodetic [function] [call site] 00098
6 ptarray_calculate_gbox_geodetic [function] [call site] 00099
6 gbox_duplicate [function] [call site] 00100
6 gbox_merge [function] [call site] 00101
6 gbox_check_poles [function] [call site] 00102
5 lwtriangle_calculate_gbox_geodetic [function] [call site] 00103
6 ptarray_calculate_gbox_geodetic [function] [call site] 00104
5 lwcollection_calculate_gbox_geodetic [function] [call site] 00105
6 lwgeom_calculate_gbox_geodetic [function] [call site] 00106
6 gbox_duplicate [function] [call site] 00112
6 gbox_merge [function] [call site] 00113
4 lwgeom_calculate_gbox_cartesian [function] [call site] 00114
5 lwpoint_calculate_gbox_cartesian [function] [call site] 00115
6 ptarray_calculate_gbox_cartesian [function] [call site] 00116
7 ptarray_calculate_gbox_cartesian_2d [function] [call site] 00118
8 getPoint2d_cp [function] [call site] 00119
8 getPoint2d_cp [function] [call site] 00120
7 ptarray_calculate_gbox_cartesian_3d [function] [call site] 00121
8 getPoint3d_cp [function] [call site] 00122
9 getPoint_internal [function] [call site] 00123
8 getPoint3d_cp [function] [call site] 00124
7 ptarray_calculate_gbox_cartesian_3d [function] [call site] 00125
7 ptarray_calculate_gbox_cartesian_4d [function] [call site] 00126
8 getPoint4d_cp [function] [call site] 00127
9 getPoint_internal [function] [call site] 00128
8 getPoint4d_cp [function] [call site] 00129
5 lwline_calculate_gbox_cartesian [function] [call site] 00130
6 ptarray_calculate_gbox_cartesian [function] [call site] 00131
5 lwcircstring_calculate_gbox_cartesian [function] [call site] 00132
6 getPoint4d_p [function] [call site] 00134
6 getPoint4d_p [function] [call site] 00135
6 getPoint4d_p [function] [call site] 00136
6 lw_arc_calculate_gbox_cartesian [function] [call site] 00137
7 lw_arc_calculate_gbox_cartesian_2d [function] [call site] 00138
8 lw_arc_center [function] [call site] 00139
8 lw_segment_side [function] [call site] 00140
8 lw_segment_side [function] [call site] 00141
8 lw_segment_side [function] [call site] 00142
8 lw_segment_side [function] [call site] 00143
8 lw_segment_side [function] [call site] 00144
6 gbox_merge [function] [call site] 00145
5 lwpoly_calculate_gbox_cartesian [function] [call site] 00146
6 ptarray_calculate_gbox_cartesian [function] [call site] 00147
5 lwtriangle_calculate_gbox_cartesian [function] [call site] 00148
6 ptarray_calculate_gbox_cartesian [function] [call site] 00149
5 lwcollection_calculate_gbox_cartesian [function] [call site] 00150
6 lwgeom_calculate_gbox_cartesian [function] [call site] 00151
7 lwnurbscurve_calculate_gbox_cartesian [function] [call site] 00152
8 lwnurbscurve_get_or_generate_knots [function] [call site] 00153
9 lwnurbscurve_generate_uniform_knots [function] [call site] 00155
8 lwnurbscurve_gbox_init [function] [call site] 00159
8 lwnurbscurve_get_hpoint [function] [call site] 00160
9 getPoint4d_p [function] [call site] 00161
8 lwnurbscurve_hpoint_lerp [function] [call site] 00163
8 lwnurbscurve_add_bezier_span_gbox [function] [call site] 00164
9 lwnurbscurve_bezier_hull_gbox [function] [call site] 00165
10 lwnurbscurve_gbox_init [function] [call site] 00166
10 lwnurbscurve_add_hpoint_to_gbox [function] [call site] 00167
11 lwnurbscurve_hpoint_project [function] [call site] 00168
11 lwnurbscurve_add_point_to_gbox [function] [call site] 00169
9 lwnurbscurve_bezier_endpoint_gbox [function] [call site] 00170
10 lwnurbscurve_gbox_init [function] [call site] 00171
10 lwnurbscurve_add_hpoint_to_gbox [function] [call site] 00172
10 lwnurbscurve_add_hpoint_to_gbox [function] [call site] 00173
9 gbox_is_valid [function] [call site] 00174
9 gbox_merge [function] [call site] 00175
9 lwnurbscurve_gbox_same_float [function] [call site] 00176
10 next_float_down [function] [call site] 00177
11 nextafterf [call site] 00178
10 next_float_up [function] [call site] 00179
11 nextafterf [call site] 00180
10 next_float_down [function] [call site] 00181
10 next_float_up [function] [call site] 00182
10 next_float_down [function] [call site] 00183
10 next_float_up [function] [call site] 00184
10 next_float_down [function] [call site] 00185
10 next_float_up [function] [call site] 00186
9 gbox_merge [function] [call site] 00187
9 lwnurbscurve_bezier_split [function] [call site] 00188
10 lwnurbscurve_hpoint_lerp [function] [call site] 00189
9 lwnurbscurve_hpoints_same [function] [call site] 00190
9 gbox_merge [function] [call site] 00191
9 lwnurbscurve_add_bezier_span_gbox [function] [call site] 00192
10 lwnurbscurve_add_bezier_span_gbox [function] [call site] 00193
8 lwnurbscurve_get_hpoint [function] [call site] 00195
7 lwtype_name [function] [call site] 00197
6 gbox_duplicate [function] [call site] 00199
6 gbox_merge [function] [call site] 00200
1 lwgeom_free [function] [call site] 00201
2 lwcircstring_free [function] [call site] 00215
2 lwtriangle_free [function] [call site] 00219
2 lwtin_free [function] [call site] 00243
3 lwtriangle_free [function] [call site] 00244
1 postgis_lwgeom_fuzzer_cleanup_allocations() [function] [call site] 00258