v / .github / workflows / run_sanitizers_undefined.suppressions
186 lines · 169 sloc · 7.05 KB · c8fcb5956edabb0151a69d77c4a9ed95ded60806
Raw
1## See https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
2## Most of the supressed functions here use asserts, that in turn use an indirection through an interface. TODO: if that is solved, most of these can be removed.
3## Usually they contain a __test_ in their name, but not always (see the x.ttf ones like vlib/x/ttf/ttf_test.v ).
4## TODO: extract the common part of the assertions to a VDO_ function (1 for pass and 1 for failure), so that they can be whitelisted here just once.
5function:map_exists
6function:map_get
7function:IError_str
8
9shift-exponent:math__bits__rotate_left_64
10shift-exponent:math__bits__div_64
11function:math__big__Integer_general_radix_str
12function:math__big__Integer_div_mod_internal
13function:math__bits__test_bits
14function:math__bits__test_div_64_edge_cases
15function:math__test_nan
16
17alignment:rand__read_64
18function:rand__internal_ulid_at_millisecond
19function:rand__internal_string_from_set
20function:rand__internal_uuid_v4
21function:rand__deinit
22function:rand__read_internal
23function:rand__read_64
24function:rand__PRNG_f64
25
26function:rand__cuid2__test_cuid2
27
28function:sync__pool__process_in_thread
29function:sync__Once_do_slow_with_param
30
31function:v__gen__c__FunctionDeferCollector_visit
32function:v__gen__c__collect_function_defer_stmts
33function:v__type_resolver__TypeResolver_resolve_fn_generic_args
34function:v__type_resolver__TypeResolver_unwrap_generic_expr
35function:v__type_resolver__TypeResolver_get_type
36
37## these have asserts in them, and trigger due to the used indirection; TODO: remove them, when a more general solution is found for all interfaces
38function:x__ttf__TTF_File_get_glyph_offset
39function:x__ttf__TTF_File_get_horizontal_metrics
40function:x__ttf__TTF_File_glyph_count
41function:x__ttf__TTF_File_read_glyph
42function:x__ttf__TTF_File_read_simple_glyph
43function:x__ttf__TTF_File_read_kern_table
44function:x__ttf__TTF_File_read_hhea_table
45function:x__ttf__TTF_File_read_cmap_table
46function:x__ttf__TTF_File_read_name_table
47function:x__ttf__TTF_File_read_head_table
48function:x__ttf__TTF_File_read_offset_tables
49
50function:net__unix__select_deadline
51function:net__select_deadline
52function:net__socks__test_parse_ipv4
53function:net__http__download_file_with_progress
54function:net__http__download_progres_cb
55function:net__http__check_headers
56function:net__http__test_str
57function:net__http__test_int
58function:net__http__test_is_valid
59function:net__http__test_is_error
60function:net__http__test_is_success
61function:net__http__test_parse_response_with_weird_cookie
62function:net__http__test_parse_response_with_cookies
63function:net__http__test_parse_response
64function:net__http__test_response_bytestr_1
65function:net__http__test_response_bytestr_2
66function:net__http__test_parse_large_body
67function:net__http__test_multipart_form_body
68function:net__http__test_parse_multipart_form2
69function:net__http__test_parse_request_no_headers
70function:net__http__test_parse_multipart_form
71function:net__http__test_parse_form
72function:net__http__test_parse_request_line
73function:net__http__test_parse_request_body
74function:net__http__test_parse_request_two_header_values
75function:net__http__test_parse_request_no_headers
76function:net__http__test_parse_request_two_headers
77function:net__http__test_proxy_fields
78function:net__http__test_proxy_headers
79function:net__http__test_set_cookie
80function:net__http__test_parse_headers
81function:net__http__parse_headers_test
82function:net__http__test_header_join
83function:net__http__test_header_from_map
84function:net__http__test_custom_header_from_map
85function:net__http__test_render_coerce_canonicalize
86function:net__http__test_render_canonicalize
87function:net__http__test_render_version
88function:net__http__test_coerce_canonicalize_custom
89function:net__http__test_coerce_custom
90function:net__http__test_coerce_canonicalize
91function:net__http__test_coerce
92function:net__http__test_custom_values
93function:net__http__test_starting_with
94function:net__http__test_get_custom
95function:net__http__test_contains_custom
96function:net__http__test_custom_header
97function:net__http__test_delete_header
98function:net__http__test_header_delete_not_existing
99function:net__http__test_header_delete
100function:net__http__test_header_set
101function:net__http__test_header_get
102function:net__http__test_header_adds_multiple
103function:net__http__test_header_new
104function:net__test_ip6_str
105function:net__test_ip_str
106function:net__test_sizes_unix
107function:net__test_sizes_ipv4
108function:net__test_sizes_ipv6
109function:net__test_offsets_unix
110function:net__test_offsets_ipv4
111function:net__test_offsets_ipv6
112function:net__test_sizes_unix_sun_path
113function:net__test_diagnostics
114function:net__test_ip_port
115function:net__websocket__delete_client_cb
116function:net__websocket__Server_listen
117function:net__websocket__Server_serve_client
118function:net__websocket__Server_parse_client_handshake
119function:net__websocket__Client_listen
120function:net__websocket__Client_send_message_event
121function:net__websocket__Client_send_close_event
122function:net__websocket__Client_debug_log
123function:net__websocket__Client_connect
124
125function:io__BufferedReader_fill_buffer
126function:io__read_all
127
128function:log__info
129function:log__debug
130function:log__warn
131function:log__error
132function:log__set_level
133function:log__Log_log_stream
134function:log__free_logger
135
136function:picoev__Picoev_poll_once
137function:picoev__Picoev_set_timeout
138function:picoev__Picoev_update_events
139function:picoev__test_if_all_file_descriptors_are_properly_initialized
140
141function:veb__RoutePair_test_param
142function:veb__test_load_files_translations
143
144## needed for tests; TODO: move the test specific setup code into its own separate VDO_tests function, so only it can be added here
145function:main
146
147function:crypto__sha3__test_0_length_hash
148function:crypto__sha3__test_0_length_xof
149function:crypto__sha3__test_200_length_hash
150function:crypto__sha3__test_200_length_xof
151
152function:crypto__sha3__test_2_x_24_rounds_on_zero
153function:crypto__sha3__test_stepping_functions_on_zero
154function:crypto__sha3__test_zero_state
155function:crypto__sha3__test_rho_offsets
156function:crypto__sha3__test_to_from_bytes
157function:crypto__sha3__test_round_constants
158
159function:crypto__pem__test_decode_rfc1421
160function:crypto__pem__test_decode
161function:crypto__pem__test_encode_rfc1421
162function:crypto__pem__test_encode
163
164function:crypto__hmac__test_hmac_equal
165function:crypto__hmac__test_hmac_sha3_224
166function:crypto__hmac__test_hmac_sha3_256
167function:crypto__hmac__test_hmac_sha3_384
168function:crypto__hmac__test_hmac_sha3_512
169function:crypto__hmac__test_hmac_blake3_256
170function:crypto__hmac__test_hmac_blake2b_160
171function:crypto__hmac__test_hmac_blake2b_256
172function:crypto__hmac__test_hmac_blake2b_384
173function:crypto__hmac__test_hmac_blake2b_512
174function:crypto__hmac__test_hmac_blake2s_128
175function:crypto__hmac__test_hmac_blake2s_160
176function:crypto__hmac__test_hmac_blake2s_224
177function:crypto__hmac__test_hmac_blake2s_256
178function:crypto__hmac__test_hmac_sha512
179function:crypto__hmac__test_hmac_sha384
180function:crypto__hmac__test_hmac_sha256
181function:crypto__hmac__test_hmac_sha224
182function:crypto__hmac__test_hmac_sha1
183function:crypto__hmac__test_hmac_md5
184
185function:crypto__ed25519__internal__edwards25519__sc_reduce
186function:crypto__ed25519__internal__edwards25519__sc_reduce
187