Skip to content

Commit

Permalink
[test][hwasan] Update tests missed by #76130
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Dec 21, 2023
1 parent 1577483 commit 0110245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions compiler-rt/test/hwasan/TestCases/stack-uar.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ int main() {
// CHECK: is located in stack of thread
// CHECK: Potentially referenced stack objects:
// CHECK-NEXT: {{zzz|yyy}} in buggy {{.*}}stack-uar.c:
// CHECK-NEXT: Memory tags around the buggy address
// CHECK: Memory tags around the buggy address

// NOSYM: Previously allocated frames:
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: Memory tags around the buggy address
// NOSYM: Memory tags around the buggy address

// CHECK: SUMMARY: HWAddressSanitizer: tag-mismatch {{.*}} in main
}
4 changes: 2 additions & 2 deletions compiler-rt/test/hwasan/TestCases/stack-uas.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ int main() {
// CHECK: is located in stack of thread
// CHECK: Potentially referenced stack objects:
// CHECK-NEXT: {{zzz|yyy}} in buggy {{.*}}stack-uas.c:
// CHECK-NEXT: Memory tags around the buggy address
// CHECK: Memory tags around the buggy address

// NOSYM: Previously allocated frames:
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
// NOSYM-NEXT: Memory tags around the buggy address
// NOSYM: Memory tags around the buggy address

// CHECK: SUMMARY: HWAddressSanitizer: tag-mismatch {{.*}} in buggy
}

0 comments on commit 0110245

Please sign in to comment.