-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
284 additions
and
67 deletions.
There are no files selected for viewing
184 changes: 181 additions & 3 deletions
184
.github/workflows/run_sanitizers_undefined.suppressions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,187 @@ | ||
## See https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html | ||
## See https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html | ||
## 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. | ||
## Usually they contain a __test_ in their name, but not always (see the x.ttf ones like vlib/x/ttf/ttf_test.v ). | ||
## 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. | ||
function:map_exists | ||
function:map_get | ||
function:IError_str | ||
|
||
shift-exponent:math__bits__rotate_left_64 | ||
shift-exponent:math__bits__div_64 | ||
function:math__big__Integer_general_radix_str | ||
function:math__big__Integer_div_mod_internal | ||
function:math__bits__test_bits | ||
function:math__bits__test_div_64_edge_cases | ||
function:math__test_nan | ||
|
||
alignment:rand__read_64 | ||
function:rand__internal_ulid_at_millisecond | ||
function:rand__internal_string_from_set | ||
function:rand__internal_uuid_v4 | ||
function:rand__deinit | ||
## needed for tests; TODO: move the test specific setup code into its own separate VDO_tests function, so only it can be added here | ||
function:main | ||
function:rand__read_internal | ||
function:rand__read_64 | ||
function:rand__PRNG_f64 | ||
|
||
function:rand__cuid2__test_cuid2 | ||
|
||
function:sync__pool__process_in_thread | ||
function:sync__Once_do_slow_with_param | ||
|
||
function:v__type_resolver__TypeResolver_resolve_fn_generic_args | ||
function:v__type_resolver__TypeResolver_unwrap_generic_expr | ||
function:v__type_resolver__TypeResolver_get_type | ||
|
||
## 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 | ||
function:x__ttf__TTF_File_get_glyph_offset | ||
function:x__ttf__TTF_File_get_horizontal_metrics | ||
function:x__ttf__TTF_File_glyph_count | ||
function:x__ttf__TTF_File_read_glyph | ||
function:x__ttf__TTF_File_read_simple_glyph | ||
function:x__ttf__TTF_File_read_kern_table | ||
function:x__ttf__TTF_File_read_hhea_table | ||
function:x__ttf__TTF_File_read_cmap_table | ||
function:x__ttf__TTF_File_read_name_table | ||
function:x__ttf__TTF_File_read_head_table | ||
function:x__ttf__TTF_File_read_offset_tables | ||
|
||
function:net__unix__select_deadline | ||
function:net__select_deadline | ||
function:net__socks__test_parse_ipv4 | ||
function:net__http__download_file_with_progress | ||
function:net__http__download_progres_cb | ||
function:net__http__check_headers | ||
function:net__http__test_str | ||
function:net__http__test_int | ||
function:net__http__test_is_valid | ||
function:net__http__test_is_error | ||
function:net__http__test_is_success | ||
function:net__http__test_parse_response_with_weird_cookie | ||
function:net__http__test_parse_response_with_cookies | ||
function:net__http__test_parse_response | ||
function:net__http__test_response_bytestr_1 | ||
function:net__http__test_response_bytestr_2 | ||
function:net__http__test_parse_large_body | ||
function:net__http__test_multipart_form_body | ||
function:net__http__test_parse_multipart_form2 | ||
function:net__http__test_parse_request_no_headers | ||
function:net__http__test_parse_multipart_form | ||
function:net__http__test_parse_form | ||
function:net__http__test_parse_request_line | ||
function:net__http__test_parse_request_body | ||
function:net__http__test_parse_request_two_header_values | ||
function:net__http__test_parse_request_no_headers | ||
function:net__http__test_parse_request_two_headers | ||
function:net__http__test_proxy_fields | ||
function:net__http__test_proxy_headers | ||
function:net__http__test_set_cookie | ||
function:net__http__test_parse_headers | ||
function:net__http__parse_headers_test | ||
function:net__http__test_header_join | ||
function:net__http__test_header_from_map | ||
function:net__http__test_custom_header_from_map | ||
function:net__http__test_render_coerce_canonicalize | ||
function:net__http__test_render_canonicalize | ||
function:net__http__test_render_version | ||
function:net__http__test_coerce_canonicalize_custom | ||
function:net__http__test_coerce_custom | ||
function:net__http__test_coerce_canonicalize | ||
function:net__http__test_coerce | ||
function:net__http__test_custom_values | ||
function:net__http__test_starting_with | ||
function:net__http__test_get_custom | ||
function:net__http__test_contains_custom | ||
function:net__http__test_custom_header | ||
function:net__http__test_delete_header | ||
function:net__http__test_header_delete_not_existing | ||
function:net__http__test_header_delete | ||
function:net__http__test_header_set | ||
function:net__http__test_header_get | ||
function:net__http__test_header_adds_multiple | ||
function:net__http__test_header_new | ||
function:net__test_ip6_str | ||
function:net__test_ip_str | ||
function:net__test_sizes_unix | ||
function:net__test_sizes_ipv4 | ||
function:net__test_sizes_ipv6 | ||
function:net__test_offsets_unix | ||
function:net__test_offsets_ipv4 | ||
function:net__test_offsets_ipv6 | ||
function:net__test_sizes_unix_sun_path | ||
function:net__test_diagnostics | ||
function:net__test_ip_port | ||
function:net__websocket__delete_client_cb | ||
function:net__websocket__Server_listen | ||
function:net__websocket__Server_serve_client | ||
function:net__websocket__Server_parse_client_handshake | ||
function:net__websocket__Client_listen | ||
function:net__websocket__Client_send_message_event | ||
function:net__websocket__Client_send_close_event | ||
function:net__websocket__Client_debug_log | ||
function:net__websocket__Client_connect | ||
|
||
function:io__BufferedReader_fill_buffer | ||
function:io__read_all | ||
|
||
function:log__info | ||
function:log__debug | ||
function:log__warn | ||
function:log__error | ||
function:log__set_level | ||
function:log__Log_log_stream | ||
function:log__free_logger | ||
|
||
function:picoev__Picoev_poll_once | ||
function:picoev__Picoev_set_timeout | ||
function:picoev__Picoev_update_events | ||
function:picoev__test_if_all_file_descriptors_are_properly_initialized | ||
|
||
function:vweb__tests__vweb_test_server__App_index | ||
function:vweb__tests__vweb_test_server__start_in_background | ||
function:vweb__RoutePair_test_param | ||
function:veb__RoutePair_test_param | ||
function:veb__test_load_files_translations | ||
|
||
## needed for tests; TODO: move the test specific setup code into its own separate VDO_tests function, so only it can be added here | ||
function:main | ||
|
||
function:crypto__sha3__test_0_length_hash | ||
function:crypto__sha3__test_0_length_xof | ||
function:crypto__sha3__test_200_length_hash | ||
function:crypto__sha3__test_200_length_xof | ||
|
||
function:crypto__sha3__test_2_x_24_rounds_on_zero | ||
function:crypto__sha3__test_stepping_functions_on_zero | ||
function:crypto__sha3__test_zero_state | ||
function:crypto__sha3__test_rho_offsets | ||
function:crypto__sha3__test_to_from_bytes | ||
function:crypto__sha3__test_round_constants | ||
|
||
function:crypto__pem__test_decode_rfc1421 | ||
function:crypto__pem__test_decode | ||
function:crypto__pem__test_encode_rfc1421 | ||
function:crypto__pem__test_encode | ||
|
||
function:crypto__hmac__test_hmac_equal | ||
function:crypto__hmac__test_hmac_sha3_224 | ||
function:crypto__hmac__test_hmac_sha3_256 | ||
function:crypto__hmac__test_hmac_sha3_384 | ||
function:crypto__hmac__test_hmac_sha3_512 | ||
function:crypto__hmac__test_hmac_blake3_256 | ||
function:crypto__hmac__test_hmac_blake2b_160 | ||
function:crypto__hmac__test_hmac_blake2b_256 | ||
function:crypto__hmac__test_hmac_blake2b_384 | ||
function:crypto__hmac__test_hmac_blake2b_512 | ||
function:crypto__hmac__test_hmac_blake2s_128 | ||
function:crypto__hmac__test_hmac_blake2s_160 | ||
function:crypto__hmac__test_hmac_blake2s_224 | ||
function:crypto__hmac__test_hmac_blake2s_256 | ||
function:crypto__hmac__test_hmac_sha512 | ||
function:crypto__hmac__test_hmac_sha384 | ||
function:crypto__hmac__test_hmac_sha256 | ||
function:crypto__hmac__test_hmac_sha224 | ||
function:crypto__hmac__test_hmac_sha1 | ||
function:crypto__hmac__test_hmac_md5 | ||
|
||
function:crypto__ed25519__internal__edwards25519__sc_reduce | ||
function:crypto__ed25519__internal__edwards25519__sc_reduce |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.