blob: 653d2545c0d7ec14aaed868f7cb0e1e1b7002138 [file] [log] [blame]
Jerry Yu9a12df02023-03-03 12:55:16 +08001
2Time: get milliseconds
3time_get_milliseconds:
4
5Time: get seconds
6time_get_seconds:
Andrzej Kurek60de0b12023-05-09 16:38:04 -04007
8Check mbedtls_calloc overallocation
Gilles Peskine05ebe962023-10-01 21:44:31 +02009# This test case exercises an integer overflow in calloc. Under Asan, with
Gilles Peskine3b2b7f82023-11-22 18:08:17 +010010# a modern Clang, this triggers an ASan/MSan/TSan complaint. The complaint
11# can be avoided with e.g. ASAN_OPTIONS=allocator_may_return_null=1,
12# but this has to be set in the environment before the program starts,
13# and could hide other errors.
14depends_on:!MBEDTLS_TEST_HAVE_ASAN:!MBEDTLS_TEST_HAVE_MSAN:!MBEDTLS_TEST_HAVE_TSAN
Andrzej Kurek60de0b12023-05-09 16:38:04 -040015check_mbedtls_calloc_overallocation:SIZE_MAX/2:SIZE_MAX/2