forked from OSchip/llvm-project
[ASan/Win] Update test expectations after r230724
llvm-svn: 230755
This commit is contained in:
parent
152ad170b8
commit
342f5dead0
|
@ -9,7 +9,7 @@ void noreturn_f() {
|
|||
char buffer[42];
|
||||
buffer[subscript] = 42;
|
||||
_exit(1);
|
||||
// CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: AddressSanitizer: stack-buffer-underflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: WRITE of size 1 at [[ADDR]] thread T0
|
||||
// CHECK-NEXT: noreturn_f {{.*}}dll_noreturn.cc:[[@LINE-4]]
|
||||
// CHECK-NEXT: test_function {{.*}}dll_noreturn.cc
|
||||
|
|
|
@ -9,7 +9,7 @@ DWORD WINAPI thread_proc(void *context) {
|
|||
int subscript = -1;
|
||||
char stack_buffer[42];
|
||||
stack_buffer[subscript] = 42;
|
||||
// CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: AddressSanitizer: stack-buffer-underflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: WRITE of size 1 at [[ADDR]] thread T1
|
||||
// CHECK-NEXT: thread_proc {{.*}}dll_thread_stack_array_left_oob.cc:[[@LINE-3]]
|
||||
//
|
||||
|
|
|
@ -7,7 +7,7 @@ int main() {
|
|||
int subscript = -1;
|
||||
char buffer[42];
|
||||
buffer[subscript] = 42;
|
||||
// CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: AddressSanitizer: stack-buffer-underflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: WRITE of size 1 at [[ADDR]] thread T0
|
||||
// CHECK-NEXT: {{#0 .* main .*stack_array_left_oob.cc}}:[[@LINE-3]]
|
||||
// CHECK: Address [[ADDR]] is located in stack of thread T0 at offset [[OFFSET:.*]] in frame
|
||||
|
|
|
@ -7,7 +7,7 @@ DWORD WINAPI thread_proc(void *) {
|
|||
int subscript = -1;
|
||||
volatile char stack_buffer[42];
|
||||
stack_buffer[subscript] = 42;
|
||||
// CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: AddressSanitizer: stack-buffer-underflow on address [[ADDR:0x[0-9a-f]+]]
|
||||
// CHECK: WRITE of size 1 at [[ADDR]] thread T1
|
||||
// CHECK: {{#0 .* thread_proc .*thread_stack_array_left_oob.cc}}:[[@LINE-3]]
|
||||
// CHECK: Address [[ADDR]] is located in stack of thread T1 at offset {{.*}} in frame
|
||||
|
|
Loading…
Reference in New Issue