History

Enabled test 112_backtrace

Changed script in Makefile for testcase 112 Used bound_struct_copy_count in lib/bcheck.c

herman ten brugge committed 4 years ago

Commit 2c706521 parent 2d210fe2 files · +3 −2Browse files

Unified · Split

2 files
  1. lib/bcheck.c +1 −0
  2. tests/tests2/Makefile +2 −2
lib/bcheck.c+1−0
@@ -1246,6 +1246,7 @@ void __attribute__((destructor)) __bound_exit(void) · 1245 unmodified lines
12461246 fprintf (stderr, "bound_strcat_count %llu\n", bound_strcat_count);
12471247 fprintf (stderr, "bound_strchr_count %llu\n", bound_strchr_count);
12481248 fprintf (stderr, "bound_strdup_count %llu\n", bound_strdup_count);
1249+ fprintf (stderr, "bound_struct_copy_count %llu\n", bound_struct_copy_count);
12491250 fprintf (stderr, "bound_not_found %llu\n", bound_not_found);
12501251 #endif
12511252 #if BOUND_STATISTIC_SPLAY
tests/tests2/Makefile+2−2
@@ -17,7 +17,6 @@ ifdef CONFIG_OSX · 16 unmodified lines
1717 endif
1818 ifeq ($(ARCH),x86_64)
1919 SKIP += 73_arm64.test
20− SKIP += 112_backtrace.test # Here memory copy behaves differently
2120 endif
2221 ifeq (,$(filter i386,$(ARCH)))
2322 SKIP += 98_al_ax_extend.test 99_fastcall.test
@@ -106,7 +105,8 @@ GEN-ALWAYS = · 82 unmodified lines
106105 112_backtrace.test: FLAGS += -dt -b
107106 112_backtrace.test 113_btdll.test 126_bound_global.test: FILTER += \
108107 -e 's;[0-9A-Fa-fx]\{5,\};........;g' \
109− -e 's;0x[0-9A-Fa-f]\{1,\};0x?;g'
108+ -e 's;0x[0-9A-Fa-f]\{1,\};0x?;g' \
109+ -e 's;struct copy destination;memmove dest;g' \
110110
111111 # this test creates two DLLs and an EXE
112112 113_btdll.test: T1 = \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t