1a8e1175bSopenharmony_ci 2a8e1175bSopenharmony_ciTime: get milliseconds 3a8e1175bSopenharmony_citime_get_milliseconds: 4a8e1175bSopenharmony_ci 5a8e1175bSopenharmony_ciTime: get seconds 6a8e1175bSopenharmony_citime_get_seconds: 7a8e1175bSopenharmony_ci 8a8e1175bSopenharmony_ciCheck mbedtls_calloc overallocation 9a8e1175bSopenharmony_ci# This test case exercises an integer overflow in calloc. Under Asan, with 10a8e1175bSopenharmony_ci# a modern Clang, this triggers an ASan/MSan/TSan complaint. The complaint 11a8e1175bSopenharmony_ci# can be avoided with e.g. ASAN_OPTIONS=allocator_may_return_null=1, 12a8e1175bSopenharmony_ci# but this has to be set in the environment before the program starts, 13a8e1175bSopenharmony_ci# and could hide other errors. 14a8e1175bSopenharmony_cidepends_on:!MBEDTLS_TEST_HAVE_ASAN:!MBEDTLS_TEST_HAVE_MSAN:!MBEDTLS_TEST_HAVE_TSAN 15a8e1175bSopenharmony_cicheck_mbedtls_calloc_overallocation:SIZE_MAX/2:SIZE_MAX/2 16