diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-10 13:37:34 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-10 13:37:34 +0200 |
| commit | b7e8928005079171c7595fd336a76f655daed48a (patch) | |
| tree | 9fa87ba8ada6cc52e343c32789ff7225d817e4fa /libtest/globals.c | |
| parent | Misc (diff) | |
| download | librecrypt-b7e8928005079171c7595fd336a76f655daed48a.tar.gz librecrypt-b7e8928005079171c7595fd336a76f655daed48a.tar.bz2 librecrypt-b7e8928005079171c7595fd336a76f655daed48a.tar.xz | |
Improvements to libtest
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | libtest/globals.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
