Enabled test 112_backtrace

Changed script in Makefile for testcase 112
Used bound_struct_copy_count in lib/bcheck.c
This commit is contained in:
herman ten brugge 2022-07-09 11:51:13 +02:00
parent 2d210fef49
commit 2c70652e04
2 changed files with 3 additions and 2 deletions

View File

@ -1246,6 +1246,7 @@ void __attribute__((destructor)) __bound_exit(void)
fprintf (stderr, "bound_strcat_count %llu\n", bound_strcat_count);
fprintf (stderr, "bound_strchr_count %llu\n", bound_strchr_count);
fprintf (stderr, "bound_strdup_count %llu\n", bound_strdup_count);
fprintf (stderr, "bound_struct_copy_count %llu\n", bound_struct_copy_count);
fprintf (stderr, "bound_not_found %llu\n", bound_not_found);
#endif
#if BOUND_STATISTIC_SPLAY

View File

@ -17,7 +17,6 @@ ifdef CONFIG_OSX
endif
ifeq ($(ARCH),x86_64)
SKIP += 73_arm64.test
SKIP += 112_backtrace.test # Here memory copy behaves differently
endif
ifeq (,$(filter i386,$(ARCH)))
SKIP += 98_al_ax_extend.test 99_fastcall.test
@ -106,7 +105,8 @@ GEN-ALWAYS =
112_backtrace.test: FLAGS += -dt -b
112_backtrace.test 113_btdll.test 126_bound_global.test: FILTER += \
-e 's;[0-9A-Fa-fx]\{5,\};........;g' \
-e 's;0x[0-9A-Fa-f]\{1,\};0x?;g'
-e 's;0x[0-9A-Fa-f]\{1,\};0x?;g' \
-e 's;struct copy destination;memmove dest;g' \
# this test creates two DLLs and an EXE
113_btdll.test: T1 = \