/external/clang/test/CodeGen/ |
H A D | windows-on-arm-stack-probe-size.c | 10 __declspec(dllimport) void initialise(signed char buffer[4096]); 13 signed char buffer[4096]; variable 14 initialise(buffer); variable 15 return buffer[index];
|
H A D | clear_cache.c | 3 char buffer[32] = "This is a largely unused buffer"; variable 9 __builtin___clear_cache(buffer, buffer+32);
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
H A D | calloc_left_oob.cc | 7 int *buffer = (int*)calloc(42, sizeof(int)); local 8 buffer[-1] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 free(buffer);
|
H A D | calloc_right_oob.cc | 7 int *buffer = (int*)calloc(42, sizeof(int)); local 8 buffer[42] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 free(buffer);
|
H A D | calloc_uaf.cc | 7 int *buffer = (int*)calloc(42, sizeof(int)); local 8 free(buffer); 9 buffer[0] = 42;
|
H A D | dll_malloc_left_oob.cc | 8 char *buffer = (char*)malloc(42); local 9 buffer[-1] = 42; 10 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 21 free(buffer);
|
H A D | dll_malloc_uaf.cc | 9 int *buffer = (int*)malloc(42); local 10 free(buffer); 11 buffer[0] = 42;
|
H A D | dll_operator_array_new_left_oob.cc | 7 char *buffer = new char[42]; local 8 buffer[-1] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 23 delete [] buffer;
|
H A D | malloc_left_oob.cc | 7 char *buffer = (char*)malloc(42); local 8 buffer[-1] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 free(buffer);
|
H A D | malloc_right_oob.cc | 7 char *buffer = (char*)malloc(42); local 8 buffer[42] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 free(buffer);
|
H A D | malloc_uaf.cc | 7 char *buffer = (char*)malloc(42); local 8 free(buffer); 9 buffer[0] = 42;
|
H A D | operator_array_new_left_oob.cc | 5 char *buffer = new char[42]; local 6 buffer[-1] = 42; 7 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 delete [] buffer;
|
H A D | operator_array_new_right_oob.cc | 7 char *buffer = new char[42]; local 8 buffer[42] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 17 delete [] buffer;
|
H A D | operator_array_new_uaf.cc | 7 char *buffer = new char[42]; local 8 delete [] buffer; 9 buffer[0] = 42;
|
H A D | operator_new_left_oob.cc | 7 char *buffer = new char; local 8 buffer[-1] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 delete buffer;
|
H A D | operator_new_right_oob.cc | 7 char *buffer = new char; local 8 buffer[1] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 delete buffer;
|
H A D | operator_new_uaf.cc | 7 char *buffer = new char; local 8 delete buffer; 9 *buffer = 42;
|
H A D | realloc_left_oob.cc | 7 char *buffer = (char*)realloc(0, 42); local 8 buffer[-1] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 free(buffer);
|
H A D | realloc_right_oob.cc | 7 char *buffer = (char*)realloc(0, 42); local 8 buffer[42] = 42; 9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 16 free(buffer);
|
H A D | realloc_uaf.cc | 7 char *buffer = (char*)realloc(0, 42); local 8 free(buffer); 9 buffer[0] = 42;
|
H A D | symbols_path.cc | 12 char *buffer = (char*)malloc(42); local 13 buffer[-1] = 42; 14 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]] 21 free(buffer);
|
H A D | dll_noreturn.cc | 9 char buffer[42]; local 10 buffer[subscript] = 42; 12 // CHECK: AddressSanitizer: stack-buffer-underflow on address [[ADDR:0x[0-9a-f]+]] 20 // CHECK: 'buffer' <== Memory access at offset [[OFFSET]] underflows this variable
|
H A D | stack_array_left_oob.cc | 8 char buffer[42]; local 9 buffer[subscript] = 42; 10 // CHECK: AddressSanitizer: stack-buffer-underflow on address [[ADDR:0x[0-9a-f]+]] 15 // CHECK: 'buffer' <== Memory access at offset [[OFFSET]] underflows this variable
|
/external/syslinux/com32/samples/ |
H A D | fancyhello.c | 28 char buffer[1024]; local 36 fgets(buffer, sizeof buffer, stdin); 37 if (!strncmp(buffer, "exit", 4)) 39 printf("\033[1m:\033[0m %s", buffer);
|
/external/clang/test/SemaTemplate/ |
H A D | instantiate-typeof.cpp | 6 int buffer[n]; local 7 [&buffer] { __typeof(buffer) x; }();
|