2023-03-03 05:55:16 +01:00
|
|
|
|
|
|
|
Time: get milliseconds
|
|
|
|
time_get_milliseconds:
|
|
|
|
|
|
|
|
Time: get seconds
|
|
|
|
time_get_seconds:
|
2023-05-09 22:38:04 +02:00
|
|
|
|
|
|
|
Check mbedtls_calloc overallocation
|
2023-10-01 21:44:31 +02:00
|
|
|
# This test case exercises an integer overflow in calloc. Under Asan, with
|
2023-11-22 18:08:17 +01:00
|
|
|
# a modern Clang, this triggers an ASan/MSan/TSan complaint. The complaint
|
|
|
|
# can be avoided with e.g. ASAN_OPTIONS=allocator_may_return_null=1,
|
|
|
|
# but this has to be set in the environment before the program starts,
|
|
|
|
# and could hide other errors.
|
|
|
|
depends_on:!MBEDTLS_TEST_HAVE_ASAN:!MBEDTLS_TEST_HAVE_MSAN:!MBEDTLS_TEST_HAVE_TSAN
|
2023-05-09 22:38:04 +02:00
|
|
|
check_mbedtls_calloc_overallocation:SIZE_MAX/2:SIZE_MAX/2
|