From b7e8928005079171c7595fd336a76f655daed48a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 May 2026 13:37:34 +0200 Subject: Improvements to libtest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libtest/globals.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libtest/globals.c') diff --git a/libtest/globals.c b/libtest/globals.c index 9e9ec2f..430f037 100644 --- a/libtest/globals.c +++ b/libtest/globals.c @@ -16,6 +16,11 @@ volatile int libtest_malloc_usable_size_is_custom = -1; volatile int libtest_free_is_custom = -1; volatile int libtest_free_sized_is_custom = -1; volatile int libtest_free_aligned_sized_is_custom = -1; +volatile int libtest_strdup_is_custom = -1; +volatile int libtest_strndup_is_custom = -1; +volatile int libtest_wcsdup_is_custom = -1; +volatile int libtest_wcsndup_is_custom = -1; +volatile int libtest_memdup_is_custom = -1; struct meminfo libtest_allocs_head; struct meminfo libtest_allocs_tail; @@ -28,6 +33,7 @@ int libtest_malloc_accept_leakage = 1; _Thread_local size_t libtest_malloc_internal_usage = 0u; _Thread_local size_t libtest_kill_malloc_tracking = 0u; +_Thread_local size_t libtest_malloc_fail_in = 0u; #else -- cgit v1.2.3-70-g09d2